Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: generated/googleapis/lib/deploymentmanager/v2.dart

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.deploymentmanager.v2; 3 library googleapis.deploymentmanager.v2;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 /** 320 /**
321 * Lists all deployments for a given project. 321 * Lists all deployments for a given project.
322 * 322 *
323 * Request parameters: 323 * Request parameters:
324 * 324 *
325 * [project] - The project ID for this request. 325 * [project] - The project ID for this request.
326 * Value must have pattern 326 * Value must have pattern
327 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 327 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
328 * 328 *
329 * [filter] - Sets a filter expression for filtering listed resources, in the 329 * [filter] - Sets a filter {expression} for filtering listed resources. Your
330 * form filter={expression}. Your {expression} must be in the format: 330 * {expression} must be in the format: field_name comparison_string
331 * field_name comparison_string literal_string. 331 * literal_string.
332 * 332 *
333 * The field_name is the name of the field you want to compare. Only atomic 333 * The field_name is the name of the field you want to compare. Only atomic
334 * field types are supported (string, number, boolean). The comparison_string 334 * field types are supported (string, number, boolean). The comparison_string
335 * must be either eq (equals) or ne (not equals). The literal_string is the 335 * must be either eq (equals) or ne (not equals). The literal_string is the
336 * string value to filter to. The literal value must be valid for the type of 336 * string value to filter to. The literal value must be valid for the type of
337 * field you are filtering by (string, number, boolean). For string fields, 337 * field you are filtering by (string, number, boolean). For string fields,
338 * the literal value is interpreted as a regular expression using RE2 syntax. 338 * the literal value is interpreted as a regular expression using RE2 syntax.
339 * The literal value must match the entire field. 339 * The literal value must match the entire field.
340 * 340 *
341 * For example, to filter for instances that do not have a name of 341 * For example, to filter for instances that do not have a name of
342 * example-instance, you would use filter=name ne example-instance. 342 * example-instance, you would use name ne example-instance.
343 * 343 *
344 * You can filter on nested fields. For example, you could filter on instances 344 * You can filter on nested fields. For example, you could filter on instances
345 * that have set the scheduling.automaticRestart field to true. Use filtering 345 * that have set the scheduling.automaticRestart field to true. Use filtering
346 * on nested fields to take advantage of labels to organize and search for 346 * on nested fields to take advantage of labels to organize and search for
347 * results based on label values. 347 * results based on label values.
348 * 348 *
349 * To filter on multiple expressions, provide each separate expression within 349 * To filter on multiple expressions, provide each separate expression within
350 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq 350 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq
351 * us-central1-f). Multiple expressions are treated as AND expressions, 351 * us-central1-f). Multiple expressions are treated as AND expressions,
352 * meaning that resources must match all expressions to pass the filters. 352 * meaning that resources must match all expressions to pass the filters.
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 * 807 *
808 * Request parameters: 808 * Request parameters:
809 * 809 *
810 * [project] - The project ID for this request. 810 * [project] - The project ID for this request.
811 * Value must have pattern 811 * Value must have pattern
812 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 812 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
813 * 813 *
814 * [deployment] - The name of the deployment for this request. 814 * [deployment] - The name of the deployment for this request.
815 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 815 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
816 * 816 *
817 * [filter] - Sets a filter expression for filtering listed resources, in the 817 * [filter] - Sets a filter {expression} for filtering listed resources. Your
818 * form filter={expression}. Your {expression} must be in the format: 818 * {expression} must be in the format: field_name comparison_string
819 * field_name comparison_string literal_string. 819 * literal_string.
820 * 820 *
821 * The field_name is the name of the field you want to compare. Only atomic 821 * The field_name is the name of the field you want to compare. Only atomic
822 * field types are supported (string, number, boolean). The comparison_string 822 * field types are supported (string, number, boolean). The comparison_string
823 * must be either eq (equals) or ne (not equals). The literal_string is the 823 * must be either eq (equals) or ne (not equals). The literal_string is the
824 * string value to filter to. The literal value must be valid for the type of 824 * string value to filter to. The literal value must be valid for the type of
825 * field you are filtering by (string, number, boolean). For string fields, 825 * field you are filtering by (string, number, boolean). For string fields,
826 * the literal value is interpreted as a regular expression using RE2 syntax. 826 * the literal value is interpreted as a regular expression using RE2 syntax.
827 * The literal value must match the entire field. 827 * The literal value must match the entire field.
828 * 828 *
829 * For example, to filter for instances that do not have a name of 829 * For example, to filter for instances that do not have a name of
830 * example-instance, you would use filter=name ne example-instance. 830 * example-instance, you would use name ne example-instance.
831 * 831 *
832 * You can filter on nested fields. For example, you could filter on instances 832 * You can filter on nested fields. For example, you could filter on instances
833 * that have set the scheduling.automaticRestart field to true. Use filtering 833 * that have set the scheduling.automaticRestart field to true. Use filtering
834 * on nested fields to take advantage of labels to organize and search for 834 * on nested fields to take advantage of labels to organize and search for
835 * results based on label values. 835 * results based on label values.
836 * 836 *
837 * To filter on multiple expressions, provide each separate expression within 837 * To filter on multiple expressions, provide each separate expression within
838 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq 838 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq
839 * us-central1-f). Multiple expressions are treated as AND expressions, 839 * us-central1-f). Multiple expressions are treated as AND expressions,
840 * meaning that resources must match all expressions to pass the filters. 840 * meaning that resources must match all expressions to pass the filters.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 964
965 /** 965 /**
966 * Lists all operations for a project. 966 * Lists all operations for a project.
967 * 967 *
968 * Request parameters: 968 * Request parameters:
969 * 969 *
970 * [project] - The project ID for this request. 970 * [project] - The project ID for this request.
971 * Value must have pattern 971 * Value must have pattern
972 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 972 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
973 * 973 *
974 * [filter] - Sets a filter expression for filtering listed resources, in the 974 * [filter] - Sets a filter {expression} for filtering listed resources. Your
975 * form filter={expression}. Your {expression} must be in the format: 975 * {expression} must be in the format: field_name comparison_string
976 * field_name comparison_string literal_string. 976 * literal_string.
977 * 977 *
978 * The field_name is the name of the field you want to compare. Only atomic 978 * The field_name is the name of the field you want to compare. Only atomic
979 * field types are supported (string, number, boolean). The comparison_string 979 * field types are supported (string, number, boolean). The comparison_string
980 * must be either eq (equals) or ne (not equals). The literal_string is the 980 * must be either eq (equals) or ne (not equals). The literal_string is the
981 * string value to filter to. The literal value must be valid for the type of 981 * string value to filter to. The literal value must be valid for the type of
982 * field you are filtering by (string, number, boolean). For string fields, 982 * field you are filtering by (string, number, boolean). For string fields,
983 * the literal value is interpreted as a regular expression using RE2 syntax. 983 * the literal value is interpreted as a regular expression using RE2 syntax.
984 * The literal value must match the entire field. 984 * The literal value must match the entire field.
985 * 985 *
986 * For example, to filter for instances that do not have a name of 986 * For example, to filter for instances that do not have a name of
987 * example-instance, you would use filter=name ne example-instance. 987 * example-instance, you would use name ne example-instance.
988 * 988 *
989 * You can filter on nested fields. For example, you could filter on instances 989 * You can filter on nested fields. For example, you could filter on instances
990 * that have set the scheduling.automaticRestart field to true. Use filtering 990 * that have set the scheduling.automaticRestart field to true. Use filtering
991 * on nested fields to take advantage of labels to organize and search for 991 * on nested fields to take advantage of labels to organize and search for
992 * results based on label values. 992 * results based on label values.
993 * 993 *
994 * To filter on multiple expressions, provide each separate expression within 994 * To filter on multiple expressions, provide each separate expression within
995 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq 995 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq
996 * us-central1-f). Multiple expressions are treated as AND expressions, 996 * us-central1-f). Multiple expressions are treated as AND expressions,
997 * meaning that resources must match all expressions to pass the filters. 997 * meaning that resources must match all expressions to pass the filters.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 * 1127 *
1128 * Request parameters: 1128 * Request parameters:
1129 * 1129 *
1130 * [project] - The project ID for this request. 1130 * [project] - The project ID for this request.
1131 * Value must have pattern 1131 * Value must have pattern
1132 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 1132 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
1133 * 1133 *
1134 * [deployment] - The name of the deployment for this request. 1134 * [deployment] - The name of the deployment for this request.
1135 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 1135 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
1136 * 1136 *
1137 * [filter] - Sets a filter expression for filtering listed resources, in the 1137 * [filter] - Sets a filter {expression} for filtering listed resources. Your
1138 * form filter={expression}. Your {expression} must be in the format: 1138 * {expression} must be in the format: field_name comparison_string
1139 * field_name comparison_string literal_string. 1139 * literal_string.
1140 * 1140 *
1141 * The field_name is the name of the field you want to compare. Only atomic 1141 * The field_name is the name of the field you want to compare. Only atomic
1142 * field types are supported (string, number, boolean). The comparison_string 1142 * field types are supported (string, number, boolean). The comparison_string
1143 * must be either eq (equals) or ne (not equals). The literal_string is the 1143 * must be either eq (equals) or ne (not equals). The literal_string is the
1144 * string value to filter to. The literal value must be valid for the type of 1144 * string value to filter to. The literal value must be valid for the type of
1145 * field you are filtering by (string, number, boolean). For string fields, 1145 * field you are filtering by (string, number, boolean). For string fields,
1146 * the literal value is interpreted as a regular expression using RE2 syntax. 1146 * the literal value is interpreted as a regular expression using RE2 syntax.
1147 * The literal value must match the entire field. 1147 * The literal value must match the entire field.
1148 * 1148 *
1149 * For example, to filter for instances that do not have a name of 1149 * For example, to filter for instances that do not have a name of
1150 * example-instance, you would use filter=name ne example-instance. 1150 * example-instance, you would use name ne example-instance.
1151 * 1151 *
1152 * You can filter on nested fields. For example, you could filter on instances 1152 * You can filter on nested fields. For example, you could filter on instances
1153 * that have set the scheduling.automaticRestart field to true. Use filtering 1153 * that have set the scheduling.automaticRestart field to true. Use filtering
1154 * on nested fields to take advantage of labels to organize and search for 1154 * on nested fields to take advantage of labels to organize and search for
1155 * results based on label values. 1155 * results based on label values.
1156 * 1156 *
1157 * To filter on multiple expressions, provide each separate expression within 1157 * To filter on multiple expressions, provide each separate expression within
1158 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq 1158 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq
1159 * us-central1-f). Multiple expressions are treated as AND expressions, 1159 * us-central1-f). Multiple expressions are treated as AND expressions,
1160 * meaning that resources must match all expressions to pass the filters. 1160 * meaning that resources must match all expressions to pass the filters.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 1238
1239 /** 1239 /**
1240 * Lists all resource types for Deployment Manager. 1240 * Lists all resource types for Deployment Manager.
1241 * 1241 *
1242 * Request parameters: 1242 * Request parameters:
1243 * 1243 *
1244 * [project] - The project ID for this request. 1244 * [project] - The project ID for this request.
1245 * Value must have pattern 1245 * Value must have pattern
1246 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))". 1246 * "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{ 1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
1247 * 1247 *
1248 * [filter] - Sets a filter expression for filtering listed resources, in the 1248 * [filter] - Sets a filter {expression} for filtering listed resources. Your
1249 * form filter={expression}. Your {expression} must be in the format: 1249 * {expression} must be in the format: field_name comparison_string
1250 * field_name comparison_string literal_string. 1250 * literal_string.
1251 * 1251 *
1252 * The field_name is the name of the field you want to compare. Only atomic 1252 * The field_name is the name of the field you want to compare. Only atomic
1253 * field types are supported (string, number, boolean). The comparison_string 1253 * field types are supported (string, number, boolean). The comparison_string
1254 * must be either eq (equals) or ne (not equals). The literal_string is the 1254 * must be either eq (equals) or ne (not equals). The literal_string is the
1255 * string value to filter to. The literal value must be valid for the type of 1255 * string value to filter to. The literal value must be valid for the type of
1256 * field you are filtering by (string, number, boolean). For string fields, 1256 * field you are filtering by (string, number, boolean). For string fields,
1257 * the literal value is interpreted as a regular expression using RE2 syntax. 1257 * the literal value is interpreted as a regular expression using RE2 syntax.
1258 * The literal value must match the entire field. 1258 * The literal value must match the entire field.
1259 * 1259 *
1260 * For example, to filter for instances that do not have a name of 1260 * For example, to filter for instances that do not have a name of
1261 * example-instance, you would use filter=name ne example-instance. 1261 * example-instance, you would use name ne example-instance.
1262 * 1262 *
1263 * You can filter on nested fields. For example, you could filter on instances 1263 * You can filter on nested fields. For example, you could filter on instances
1264 * that have set the scheduling.automaticRestart field to true. Use filtering 1264 * that have set the scheduling.automaticRestart field to true. Use filtering
1265 * on nested fields to take advantage of labels to organize and search for 1265 * on nested fields to take advantage of labels to organize and search for
1266 * results based on label values. 1266 * results based on label values.
1267 * 1267 *
1268 * To filter on multiple expressions, provide each separate expression within 1268 * To filter on multiple expressions, provide each separate expression within
1269 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq 1269 * parentheses. For example, (scheduling.automaticRestart eq true) (zone eq
1270 * us-central1-f). Multiple expressions are treated as AND expressions, 1270 * us-central1-f). Multiple expressions are treated as AND expressions,
1271 * meaning that resources must match all expressions to pass the filters. 1271 * meaning that resources must match all expressions to pass the filters.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 if (logType != null) { 1439 if (logType != null) {
1440 _json["logType"] = logType; 1440 _json["logType"] = logType;
1441 } 1441 }
1442 return _json; 1442 return _json;
1443 } 1443 }
1444 } 1444 }
1445 1445
1446 /** Associates `members` with a `role`. */ 1446 /** Associates `members` with a `role`. */
1447 class Binding { 1447 class Binding {
1448 /** 1448 /**
1449 * The condition that is associated with this binding. NOTE: an unsatisfied
1450 * condition will not allow user access via current binding. Different
1451 * bindings, including their conditions, are examined independently. This
1452 * field is GOOGLE_INTERNAL.
1453 */
1454 Expr condition;
1455 /**
1449 * Specifies the identities requesting access for a Cloud Platform resource. 1456 * Specifies the identities requesting access for a Cloud Platform resource.
1450 * `members` can have the following values: 1457 * `members` can have the following values:
1451 * 1458 *
1452 * * `allUsers`: A special identifier that represents anyone who is on the 1459 * * `allUsers`: A special identifier that represents anyone who is on the
1453 * internet; with or without a Google account. 1460 * internet; with or without a Google account.
1454 * 1461 *
1455 * * `allAuthenticatedUsers`: A special identifier that represents anyone who 1462 * * `allAuthenticatedUsers`: A special identifier that represents anyone who
1456 * is authenticated with a Google account or a service account. 1463 * is authenticated with a Google account or a service account.
1457 * 1464 *
1458 * * `user:{emailid}`: An email address that represents a specific Google 1465 * * `user:{emailid}`: An email address that represents a specific Google
1459 * account. For example, `alice@gmail.com` or `joe@example.com`. 1466 * account. For example, `alice@gmail.com` or `joe@example.com`.
1460 * 1467 *
1461 * 1468 *
1462 * 1469 *
1463 * * `serviceAccount:{emailid}`: An email address that represents a service 1470 * * `serviceAccount:{emailid}`: An email address that represents a service
1464 * account. For example, `my-other-app@appspot.gserviceaccount.com`. 1471 * account. For example, `my-other-app@appspot.gserviceaccount.com`.
1465 * 1472 *
1466 * * `group:{emailid}`: An email address that represents a Google group. For 1473 * * `group:{emailid}`: An email address that represents a Google group. For
1467 * example, `admins@example.com`. 1474 * example, `admins@example.com`.
1468 * 1475 *
1476 *
1477 *
1469 * * `domain:{domain}`: A Google Apps domain name that represents all the 1478 * * `domain:{domain}`: A Google Apps domain name that represents all the
1470 * users of that domain. For example, `google.com` or `example.com`. 1479 * users of that domain. For example, `google.com` or `example.com`.
1471 */ 1480 */
1472 core.List<core.String> members; 1481 core.List<core.String> members;
1473 /** 1482 /**
1474 * Role that is assigned to `members`. For example, `roles/viewer`, 1483 * Role that is assigned to `members`. For example, `roles/viewer`,
1475 * `roles/editor`, or `roles/owner`. 1484 * `roles/editor`, or `roles/owner`.
1476 */ 1485 */
1477 core.String role; 1486 core.String role;
1478 1487
1479 Binding(); 1488 Binding();
1480 1489
1481 Binding.fromJson(core.Map _json) { 1490 Binding.fromJson(core.Map _json) {
1491 if (_json.containsKey("condition")) {
1492 condition = new Expr.fromJson(_json["condition"]);
1493 }
1482 if (_json.containsKey("members")) { 1494 if (_json.containsKey("members")) {
1483 members = _json["members"]; 1495 members = _json["members"];
1484 } 1496 }
1485 if (_json.containsKey("role")) { 1497 if (_json.containsKey("role")) {
1486 role = _json["role"]; 1498 role = _json["role"];
1487 } 1499 }
1488 } 1500 }
1489 1501
1490 core.Map<core.String, core.Object> toJson() { 1502 core.Map<core.String, core.Object> toJson() {
1491 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 1503 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1504 if (condition != null) {
1505 _json["condition"] = (condition).toJson();
1506 }
1492 if (members != null) { 1507 if (members != null) {
1493 _json["members"] = members; 1508 _json["members"] = members;
1494 } 1509 }
1495 if (role != null) { 1510 if (role != null) {
1496 _json["role"] = role; 1511 _json["role"] = role;
1497 } 1512 }
1498 return _json; 1513 return _json;
1499 } 1514 }
1500 } 1515 }
1501 1516
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 1958
1944 core.Map<core.String, core.Object> toJson() { 1959 core.Map<core.String, core.Object> toJson() {
1945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 1960 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1946 if (fingerprint != null) { 1961 if (fingerprint != null) {
1947 _json["fingerprint"] = fingerprint; 1962 _json["fingerprint"] = fingerprint;
1948 } 1963 }
1949 return _json; 1964 return _json;
1950 } 1965 }
1951 } 1966 }
1952 1967
1968 /**
1969 * Represents an expression text. Example:
1970 *
1971 * title: "User account presence" description: "Determines whether the request
1972 * has a user account" expression: "size(request.user) > 0"
1973 */
1974 class Expr {
1975 /**
1976 * An optional description of the expression. This is a longer text which
1977 * describes the expression, e.g. when hovered over it in a UI.
1978 */
1979 core.String description;
1980 /**
1981 * Textual representation of an expression in Common Expression Language
1982 * syntax.
1983 *
1984 * The application context of the containing message determines which
1985 * well-known feature set of CEL is supported.
1986 */
1987 core.String expression;
1988 /**
1989 * An optional string indicating the location of the expression for error
1990 * reporting, e.g. a file name and a position in the file.
1991 */
1992 core.String location;
1993 /**
1994 * An optional title for the expression, i.e. a short string describing its
1995 * purpose. This can be used e.g. in UIs which allow to enter the expression.
1996 */
1997 core.String title;
1998
1999 Expr();
2000
2001 Expr.fromJson(core.Map _json) {
2002 if (_json.containsKey("description")) {
2003 description = _json["description"];
2004 }
2005 if (_json.containsKey("expression")) {
2006 expression = _json["expression"];
2007 }
2008 if (_json.containsKey("location")) {
2009 location = _json["location"];
2010 }
2011 if (_json.containsKey("title")) {
2012 title = _json["title"];
2013 }
2014 }
2015
2016 core.Map<core.String, core.Object> toJson() {
2017 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2018 if (description != null) {
2019 _json["description"] = description;
2020 }
2021 if (expression != null) {
2022 _json["expression"] = expression;
2023 }
2024 if (location != null) {
2025 _json["location"] = location;
2026 }
2027 if (title != null) {
2028 _json["title"] = title;
2029 }
2030 return _json;
2031 }
2032 }
2033
1953 class ImportFile { 2034 class ImportFile {
1954 /** The contents of the file. */ 2035 /** The contents of the file. */
1955 core.String content; 2036 core.String content;
1956 /** The name of the file. */ 2037 /** The name of the file. */
1957 core.String name; 2038 core.String name;
1958 2039
1959 ImportFile(); 2040 ImportFile();
1960 2041
1961 ImportFile.fromJson(core.Map _json) { 2042 ImportFile.fromJson(core.Map _json) {
1962 if (_json.containsKey("content")) { 2043 if (_json.containsKey("content")) {
(...skipping 11 matching lines...) Expand all
1974 } 2055 }
1975 if (name != null) { 2056 if (name != null) {
1976 _json["name"] = name; 2057 _json["name"] = name;
1977 } 2058 }
1978 return _json; 2059 return _json;
1979 } 2060 }
1980 } 2061 }
1981 2062
1982 /** Specifies what kind of log the caller must write */ 2063 /** Specifies what kind of log the caller must write */
1983 class LogConfig { 2064 class LogConfig {
2065 /** Cloud audit options. */
2066 LogConfigCloudAuditOptions cloudAudit;
1984 /** Counter options. */ 2067 /** Counter options. */
1985 LogConfigCounterOptions counter; 2068 LogConfigCounterOptions counter;
1986 2069
1987 LogConfig(); 2070 LogConfig();
1988 2071
1989 LogConfig.fromJson(core.Map _json) { 2072 LogConfig.fromJson(core.Map _json) {
2073 if (_json.containsKey("cloudAudit")) {
2074 cloudAudit = new LogConfigCloudAuditOptions.fromJson(_json["cloudAudit"]);
2075 }
1990 if (_json.containsKey("counter")) { 2076 if (_json.containsKey("counter")) {
1991 counter = new LogConfigCounterOptions.fromJson(_json["counter"]); 2077 counter = new LogConfigCounterOptions.fromJson(_json["counter"]);
1992 } 2078 }
1993 } 2079 }
1994 2080
1995 core.Map<core.String, core.Object> toJson() { 2081 core.Map<core.String, core.Object> toJson() {
1996 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 2082 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2083 if (cloudAudit != null) {
2084 _json["cloudAudit"] = (cloudAudit).toJson();
2085 }
1997 if (counter != null) { 2086 if (counter != null) {
1998 _json["counter"] = (counter).toJson(); 2087 _json["counter"] = (counter).toJson();
1999 } 2088 }
2000 return _json; 2089 return _json;
2001 } 2090 }
2002 } 2091 }
2003 2092
2093 /** Write a Cloud Audit log */
2094 class LogConfigCloudAuditOptions {
2095 /** The log_name to populate in the Cloud Audit Record. */
2096 core.String logName;
2097
2098 LogConfigCloudAuditOptions();
2099
2100 LogConfigCloudAuditOptions.fromJson(core.Map _json) {
2101 if (_json.containsKey("logName")) {
2102 logName = _json["logName"];
2103 }
2104 }
2105
2106 core.Map<core.String, core.Object> toJson() {
2107 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2108 if (logName != null) {
2109 _json["logName"] = logName;
2110 }
2111 return _json;
2112 }
2113 }
2114
2004 /** Options for counters */ 2115 /** Options for counters */
2005 class LogConfigCounterOptions { 2116 class LogConfigCounterOptions {
2006 /** The field value to attribute. */ 2117 /** The field value to attribute. */
2007 core.String field; 2118 core.String field;
2008 /** The metric to update. */ 2119 /** The metric to update. */
2009 core.String metric; 2120 core.String metric;
2010 2121
2011 LogConfigCounterOptions(); 2122 LogConfigCounterOptions();
2012 2123
2013 LogConfigCounterOptions.fromJson(core.Map _json) { 2124 LogConfigCounterOptions.fromJson(core.Map _json) {
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 * "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, { "role": 2720 * "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, { "role":
2610 * "roles/viewer", "members": ["user:sean@example.com"] } ] } 2721 * "roles/viewer", "members": ["user:sean@example.com"] } ] }
2611 * 2722 *
2612 * For a description of IAM and its features, see the [IAM developer's 2723 * For a description of IAM and its features, see the [IAM developer's
2613 * guide](https://cloud.google.com/iam). 2724 * guide](https://cloud.google.com/iam).
2614 */ 2725 */
2615 class Policy { 2726 class Policy {
2616 /** Specifies cloud audit logging configuration for this policy. */ 2727 /** Specifies cloud audit logging configuration for this policy. */
2617 core.List<AuditConfig> auditConfigs; 2728 core.List<AuditConfig> auditConfigs;
2618 /** 2729 /**
2619 * Associates a list of `members` to a `role`. Multiple `bindings` must not be 2730 * Associates a list of `members` to a `role`. `bindings` with no members will
2620 * specified for the same `role`. `bindings` with no members will result in an 2731 * result in an error.
2621 * error.
2622 */ 2732 */
2623 core.List<Binding> bindings; 2733 core.List<Binding> bindings;
2624 /** 2734 /**
2625 * `etag` is used for optimistic concurrency control as a way to help prevent 2735 * `etag` is used for optimistic concurrency control as a way to help prevent
2626 * simultaneous updates of a policy from overwriting each other. It is 2736 * simultaneous updates of a policy from overwriting each other. It is
2627 * strongly suggested that systems make use of the `etag` in the 2737 * strongly suggested that systems make use of the `etag` in the
2628 * read-modify-write cycle to perform policy updates in order to avoid race 2738 * read-modify-write cycle to perform policy updates in order to avoid race
2629 * conditions: An `etag` is returned in the response to `getIamPolicy`, and 2739 * conditions: An `etag` is returned in the response to `getIamPolicy`, and
2630 * systems are expected to put that etag in the request to `setIamPolicy` to 2740 * systems are expected to put that etag in the request to `setIamPolicy` to
2631 * ensure that their change will be applied to the same version of the policy. 2741 * ensure that their change will be applied to the same version of the policy.
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
3468 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 3578 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3469 if (nextPageToken != null) { 3579 if (nextPageToken != null) {
3470 _json["nextPageToken"] = nextPageToken; 3580 _json["nextPageToken"] = nextPageToken;
3471 } 3581 }
3472 if (types != null) { 3582 if (types != null) {
3473 _json["types"] = types.map((value) => (value).toJson()).toList(); 3583 _json["types"] = types.map((value) => (value).toJson()).toList();
3474 } 3584 }
3475 return _json; 3585 return _json;
3476 } 3586 }
3477 } 3587 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/dataproc/v1beta2.dart ('k') | generated/googleapis/lib/doubleclickbidmanager/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698