| OLD | NEW |
| 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:crypto/crypto.dart' as crypto; | 10 import 'package:crypto/crypto.dart' as crypto; |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 * field_name comparison_string literal_string. | 277 * field_name comparison_string literal_string. |
| 278 * | 278 * |
| 279 * The field_name is the name of the field you want to compare. Only atomic | 279 * The field_name is the name of the field you want to compare. Only atomic |
| 280 * field types are supported (string, number, boolean). The comparison_string | 280 * field types are supported (string, number, boolean). The comparison_string |
| 281 * must be either eq (equals) or ne (not equals). The literal_string is the | 281 * must be either eq (equals) or ne (not equals). The literal_string is the |
| 282 * string value to filter to. The literal value must be valid for the type of | 282 * string value to filter to. The literal value must be valid for the type of |
| 283 * field you are filtering by (string, number, boolean). For string fields, | 283 * field you are filtering by (string, number, boolean). For string fields, |
| 284 * the literal value is interpreted as a regular expression using RE2 syntax. | 284 * the literal value is interpreted as a regular expression using RE2 syntax. |
| 285 * The literal value must match the entire field. | 285 * The literal value must match the entire field. |
| 286 * | 286 * |
| 287 * For example, to filter for instances whose name is not equal to | 287 * For example, to filter for instances that do not have a name of |
| 288 * example-instance, you would use filter=name ne example-instance. | 288 * example-instance, you would use filter=name ne example-instance. |
| 289 * | 289 * |
| 290 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can | 290 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can |
| 291 * also filter on nested fields. For example, you could filter on instances | 291 * also filter on nested fields. For example, you could filter on instances |
| 292 * that have set the scheduling.automaticRestart field to true. In particular, | 292 * that have set the scheduling.automaticRestart field to true. In particular, |
| 293 * use filtering on nested fields to take advantage of instance labels to | 293 * use filtering on nested fields to take advantage of instance labels to |
| 294 * organize and filter results based on label values. | 294 * organize and filter results based on label values. |
| 295 * | 295 * |
| 296 * The Beta API also supports filtering on multiple expressions by providing | 296 * The Beta API also supports filtering on multiple expressions by providing |
| 297 * each separate expression within parentheses. For example, | 297 * each separate expression within parentheses. For example, |
| 298 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple | 298 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple |
| 299 * expressions are treated as AND expressions meaning that resources must | 299 * expressions are treated as AND expressions, meaning that resources must |
| 300 * match all expressions to pass the filters. | 300 * match all expressions to pass the filters. |
| 301 * | 301 * |
| 302 * [maxResults] - The maximum number of results per page that should be | 302 * [maxResults] - The maximum number of results per page that should be |
| 303 * returned. If the number of available results is larger than maxResults, | 303 * returned. If the number of available results is larger than maxResults, |
| 304 * Compute Engine returns a nextPageToken that can be used to get the next | 304 * Compute Engine returns a nextPageToken that can be used to get the next |
| 305 * page of results in subsequent list requests. | 305 * page of results in subsequent list requests. |
| 306 * Value must be between "0" and "500". | 306 * Value must be between "0" and "500". |
| 307 * | 307 * |
| 308 * [pageToken] - Specifies a page token to use. Set pageToken to the | 308 * [pageToken] - Specifies a page token to use. Set pageToken to the |
| 309 * nextPageToken returned by a previous list request to get the next page of | 309 * nextPageToken returned by a previous list request to get the next page of |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 * field_name comparison_string literal_string. | 648 * field_name comparison_string literal_string. |
| 649 * | 649 * |
| 650 * The field_name is the name of the field you want to compare. Only atomic | 650 * The field_name is the name of the field you want to compare. Only atomic |
| 651 * field types are supported (string, number, boolean). The comparison_string | 651 * field types are supported (string, number, boolean). The comparison_string |
| 652 * must be either eq (equals) or ne (not equals). The literal_string is the | 652 * must be either eq (equals) or ne (not equals). The literal_string is the |
| 653 * string value to filter to. The literal value must be valid for the type of | 653 * string value to filter to. The literal value must be valid for the type of |
| 654 * field you are filtering by (string, number, boolean). For string fields, | 654 * field you are filtering by (string, number, boolean). For string fields, |
| 655 * the literal value is interpreted as a regular expression using RE2 syntax. | 655 * the literal value is interpreted as a regular expression using RE2 syntax. |
| 656 * The literal value must match the entire field. | 656 * The literal value must match the entire field. |
| 657 * | 657 * |
| 658 * For example, to filter for instances whose name is not equal to | 658 * For example, to filter for instances that do not have a name of |
| 659 * example-instance, you would use filter=name ne example-instance. | 659 * example-instance, you would use filter=name ne example-instance. |
| 660 * | 660 * |
| 661 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can | 661 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can |
| 662 * also filter on nested fields. For example, you could filter on instances | 662 * also filter on nested fields. For example, you could filter on instances |
| 663 * that have set the scheduling.automaticRestart field to true. In particular, | 663 * that have set the scheduling.automaticRestart field to true. In particular, |
| 664 * use filtering on nested fields to take advantage of instance labels to | 664 * use filtering on nested fields to take advantage of instance labels to |
| 665 * organize and filter results based on label values. | 665 * organize and filter results based on label values. |
| 666 * | 666 * |
| 667 * The Beta API also supports filtering on multiple expressions by providing | 667 * The Beta API also supports filtering on multiple expressions by providing |
| 668 * each separate expression within parentheses. For example, | 668 * each separate expression within parentheses. For example, |
| 669 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple | 669 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple |
| 670 * expressions are treated as AND expressions meaning that resources must | 670 * expressions are treated as AND expressions, meaning that resources must |
| 671 * match all expressions to pass the filters. | 671 * match all expressions to pass the filters. |
| 672 * | 672 * |
| 673 * [maxResults] - The maximum number of results per page that should be | 673 * [maxResults] - The maximum number of results per page that should be |
| 674 * returned. If the number of available results is larger than maxResults, | 674 * returned. If the number of available results is larger than maxResults, |
| 675 * Compute Engine returns a nextPageToken that can be used to get the next | 675 * Compute Engine returns a nextPageToken that can be used to get the next |
| 676 * page of results in subsequent list requests. | 676 * page of results in subsequent list requests. |
| 677 * Value must be between "0" and "500". | 677 * Value must be between "0" and "500". |
| 678 * | 678 * |
| 679 * [pageToken] - Specifies a page token to use. Set pageToken to the | 679 * [pageToken] - Specifies a page token to use. Set pageToken to the |
| 680 * nextPageToken returned by a previous list request to get the next page of | 680 * nextPageToken returned by a previous list request to get the next page of |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 * field_name comparison_string literal_string. | 793 * field_name comparison_string literal_string. |
| 794 * | 794 * |
| 795 * The field_name is the name of the field you want to compare. Only atomic | 795 * The field_name is the name of the field you want to compare. Only atomic |
| 796 * field types are supported (string, number, boolean). The comparison_string | 796 * field types are supported (string, number, boolean). The comparison_string |
| 797 * must be either eq (equals) or ne (not equals). The literal_string is the | 797 * must be either eq (equals) or ne (not equals). The literal_string is the |
| 798 * string value to filter to. The literal value must be valid for the type of | 798 * string value to filter to. The literal value must be valid for the type of |
| 799 * field you are filtering by (string, number, boolean). For string fields, | 799 * field you are filtering by (string, number, boolean). For string fields, |
| 800 * the literal value is interpreted as a regular expression using RE2 syntax. | 800 * the literal value is interpreted as a regular expression using RE2 syntax. |
| 801 * The literal value must match the entire field. | 801 * The literal value must match the entire field. |
| 802 * | 802 * |
| 803 * For example, to filter for instances whose name is not equal to | 803 * For example, to filter for instances that do not have a name of |
| 804 * example-instance, you would use filter=name ne example-instance. | 804 * example-instance, you would use filter=name ne example-instance. |
| 805 * | 805 * |
| 806 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can | 806 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can |
| 807 * also filter on nested fields. For example, you could filter on instances | 807 * also filter on nested fields. For example, you could filter on instances |
| 808 * that have set the scheduling.automaticRestart field to true. In particular, | 808 * that have set the scheduling.automaticRestart field to true. In particular, |
| 809 * use filtering on nested fields to take advantage of instance labels to | 809 * use filtering on nested fields to take advantage of instance labels to |
| 810 * organize and filter results based on label values. | 810 * organize and filter results based on label values. |
| 811 * | 811 * |
| 812 * The Beta API also supports filtering on multiple expressions by providing | 812 * The Beta API also supports filtering on multiple expressions by providing |
| 813 * each separate expression within parentheses. For example, | 813 * each separate expression within parentheses. For example, |
| 814 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple | 814 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple |
| 815 * expressions are treated as AND expressions meaning that resources must | 815 * expressions are treated as AND expressions, meaning that resources must |
| 816 * match all expressions to pass the filters. | 816 * match all expressions to pass the filters. |
| 817 * | 817 * |
| 818 * [maxResults] - The maximum number of results per page that should be | 818 * [maxResults] - The maximum number of results per page that should be |
| 819 * returned. If the number of available results is larger than maxResults, | 819 * returned. If the number of available results is larger than maxResults, |
| 820 * Compute Engine returns a nextPageToken that can be used to get the next | 820 * Compute Engine returns a nextPageToken that can be used to get the next |
| 821 * page of results in subsequent list requests. | 821 * page of results in subsequent list requests. |
| 822 * Value must be between "0" and "500". | 822 * Value must be between "0" and "500". |
| 823 * | 823 * |
| 824 * [pageToken] - Specifies a page token to use. Set pageToken to the | 824 * [pageToken] - Specifies a page token to use. Set pageToken to the |
| 825 * nextPageToken returned by a previous list request to get the next page of | 825 * nextPageToken returned by a previous list request to get the next page of |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 * field_name comparison_string literal_string. | 944 * field_name comparison_string literal_string. |
| 945 * | 945 * |
| 946 * The field_name is the name of the field you want to compare. Only atomic | 946 * The field_name is the name of the field you want to compare. Only atomic |
| 947 * field types are supported (string, number, boolean). The comparison_string | 947 * field types are supported (string, number, boolean). The comparison_string |
| 948 * must be either eq (equals) or ne (not equals). The literal_string is the | 948 * must be either eq (equals) or ne (not equals). The literal_string is the |
| 949 * string value to filter to. The literal value must be valid for the type of | 949 * string value to filter to. The literal value must be valid for the type of |
| 950 * field you are filtering by (string, number, boolean). For string fields, | 950 * field you are filtering by (string, number, boolean). For string fields, |
| 951 * the literal value is interpreted as a regular expression using RE2 syntax. | 951 * the literal value is interpreted as a regular expression using RE2 syntax. |
| 952 * The literal value must match the entire field. | 952 * The literal value must match the entire field. |
| 953 * | 953 * |
| 954 * For example, to filter for instances whose name is not equal to | 954 * For example, to filter for instances that do not have a name of |
| 955 * example-instance, you would use filter=name ne example-instance. | 955 * example-instance, you would use filter=name ne example-instance. |
| 956 * | 956 * |
| 957 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can | 957 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can |
| 958 * also filter on nested fields. For example, you could filter on instances | 958 * also filter on nested fields. For example, you could filter on instances |
| 959 * that have set the scheduling.automaticRestart field to true. In particular, | 959 * that have set the scheduling.automaticRestart field to true. In particular, |
| 960 * use filtering on nested fields to take advantage of instance labels to | 960 * use filtering on nested fields to take advantage of instance labels to |
| 961 * organize and filter results based on label values. | 961 * organize and filter results based on label values. |
| 962 * | 962 * |
| 963 * The Beta API also supports filtering on multiple expressions by providing | 963 * The Beta API also supports filtering on multiple expressions by providing |
| 964 * each separate expression within parentheses. For example, | 964 * each separate expression within parentheses. For example, |
| 965 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple | 965 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple |
| 966 * expressions are treated as AND expressions meaning that resources must | 966 * expressions are treated as AND expressions, meaning that resources must |
| 967 * match all expressions to pass the filters. | 967 * match all expressions to pass the filters. |
| 968 * | 968 * |
| 969 * [maxResults] - The maximum number of results per page that should be | 969 * [maxResults] - The maximum number of results per page that should be |
| 970 * returned. If the number of available results is larger than maxResults, | 970 * returned. If the number of available results is larger than maxResults, |
| 971 * Compute Engine returns a nextPageToken that can be used to get the next | 971 * Compute Engine returns a nextPageToken that can be used to get the next |
| 972 * page of results in subsequent list requests. | 972 * page of results in subsequent list requests. |
| 973 * Value must be between "0" and "500". | 973 * Value must be between "0" and "500". |
| 974 * | 974 * |
| 975 * [pageToken] - Specifies a page token to use. Set pageToken to the | 975 * [pageToken] - Specifies a page token to use. Set pageToken to the |
| 976 * nextPageToken returned by a previous list request to get the next page of | 976 * nextPageToken returned by a previous list request to get the next page of |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 * field_name comparison_string literal_string. | 1043 * field_name comparison_string literal_string. |
| 1044 * | 1044 * |
| 1045 * The field_name is the name of the field you want to compare. Only atomic | 1045 * The field_name is the name of the field you want to compare. Only atomic |
| 1046 * field types are supported (string, number, boolean). The comparison_string | 1046 * field types are supported (string, number, boolean). The comparison_string |
| 1047 * must be either eq (equals) or ne (not equals). The literal_string is the | 1047 * must be either eq (equals) or ne (not equals). The literal_string is the |
| 1048 * string value to filter to. The literal value must be valid for the type of | 1048 * string value to filter to. The literal value must be valid for the type of |
| 1049 * field you are filtering by (string, number, boolean). For string fields, | 1049 * field you are filtering by (string, number, boolean). For string fields, |
| 1050 * the literal value is interpreted as a regular expression using RE2 syntax. | 1050 * the literal value is interpreted as a regular expression using RE2 syntax. |
| 1051 * The literal value must match the entire field. | 1051 * The literal value must match the entire field. |
| 1052 * | 1052 * |
| 1053 * For example, to filter for instances whose name is not equal to | 1053 * For example, to filter for instances that do not have a name of |
| 1054 * example-instance, you would use filter=name ne example-instance. | 1054 * example-instance, you would use filter=name ne example-instance. |
| 1055 * | 1055 * |
| 1056 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can | 1056 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can |
| 1057 * also filter on nested fields. For example, you could filter on instances | 1057 * also filter on nested fields. For example, you could filter on instances |
| 1058 * that have set the scheduling.automaticRestart field to true. In particular, | 1058 * that have set the scheduling.automaticRestart field to true. In particular, |
| 1059 * use filtering on nested fields to take advantage of instance labels to | 1059 * use filtering on nested fields to take advantage of instance labels to |
| 1060 * organize and filter results based on label values. | 1060 * organize and filter results based on label values. |
| 1061 * | 1061 * |
| 1062 * The Beta API also supports filtering on multiple expressions by providing | 1062 * The Beta API also supports filtering on multiple expressions by providing |
| 1063 * each separate expression within parentheses. For example, | 1063 * each separate expression within parentheses. For example, |
| 1064 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple | 1064 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple |
| 1065 * expressions are treated as AND expressions meaning that resources must | 1065 * expressions are treated as AND expressions, meaning that resources must |
| 1066 * match all expressions to pass the filters. | 1066 * match all expressions to pass the filters. |
| 1067 * | 1067 * |
| 1068 * [maxResults] - The maximum number of results per page that should be | 1068 * [maxResults] - The maximum number of results per page that should be |
| 1069 * returned. If the number of available results is larger than maxResults, | 1069 * returned. If the number of available results is larger than maxResults, |
| 1070 * Compute Engine returns a nextPageToken that can be used to get the next | 1070 * Compute Engine returns a nextPageToken that can be used to get the next |
| 1071 * page of results in subsequent list requests. | 1071 * page of results in subsequent list requests. |
| 1072 * Value must be between "0" and "500". | 1072 * Value must be between "0" and "500". |
| 1073 * | 1073 * |
| 1074 * [pageToken] - Specifies a page token to use. Set pageToken to the | 1074 * [pageToken] - Specifies a page token to use. Set pageToken to the |
| 1075 * nextPageToken returned by a previous list request to get the next page of | 1075 * nextPageToken returned by a previous list request to get the next page of |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1166 /** | 1166 /** |
| 1167 * [Output Only] Unique identifier for the resource; defined by the server. | 1167 * [Output Only] Unique identifier for the resource; defined by the server. |
| 1168 */ | 1168 */ |
| 1169 core.String id; | 1169 core.String id; |
| 1170 /** | 1170 /** |
| 1171 * [Output Only] Timestamp when the deployment was created, in RFC3339 text | 1171 * [Output Only] Timestamp when the deployment was created, in RFC3339 text |
| 1172 * format . | 1172 * format . |
| 1173 */ | 1173 */ |
| 1174 core.String insertTime; | 1174 core.String insertTime; |
| 1175 /** | 1175 /** |
| 1176 * Map of labels; provided by the client when the resource is created or |
| 1177 * updated. Specifically: Label keys must be between 1 and 63 characters long |
| 1178 * and must conform to the following regular expression: |
| 1179 * [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters |
| 1180 * long and must conform to the regular expression |
| 1181 * ([a-z]([-a-z0-9]*[a-z0-9])?)? |
| 1182 */ |
| 1183 core.List<DeploymentLabelEntry> labels; |
| 1184 /** |
| 1176 * [Output Only] URL of the manifest representing the last manifest that was | 1185 * [Output Only] URL of the manifest representing the last manifest that was |
| 1177 * successfully deployed. | 1186 * successfully deployed. |
| 1178 */ | 1187 */ |
| 1179 core.String manifest; | 1188 core.String manifest; |
| 1180 /** | 1189 /** |
| 1181 * Name of the resource; provided by the client when the resource is created. | 1190 * Name of the resource; provided by the client when the resource is created. |
| 1182 * The name must be 1-63 characters long, and comply with RFC1035. | 1191 * The name must be 1-63 characters long, and comply with RFC1035. |
| 1183 * Specifically, the name must be 1-63 characters long and match the regular | 1192 * Specifically, the name must be 1-63 characters long and match the regular |
| 1184 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must | 1193 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 1185 * be a lowercase letter, and all following characters must be a dash, | 1194 * be a lowercase letter, and all following characters must be a dash, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1211 } | 1220 } |
| 1212 if (_json.containsKey("fingerprint")) { | 1221 if (_json.containsKey("fingerprint")) { |
| 1213 fingerprint = _json["fingerprint"]; | 1222 fingerprint = _json["fingerprint"]; |
| 1214 } | 1223 } |
| 1215 if (_json.containsKey("id")) { | 1224 if (_json.containsKey("id")) { |
| 1216 id = _json["id"]; | 1225 id = _json["id"]; |
| 1217 } | 1226 } |
| 1218 if (_json.containsKey("insertTime")) { | 1227 if (_json.containsKey("insertTime")) { |
| 1219 insertTime = _json["insertTime"]; | 1228 insertTime = _json["insertTime"]; |
| 1220 } | 1229 } |
| 1230 if (_json.containsKey("labels")) { |
| 1231 labels = _json["labels"].map((value) => new DeploymentLabelEntry.fromJson(
value)).toList(); |
| 1232 } |
| 1221 if (_json.containsKey("manifest")) { | 1233 if (_json.containsKey("manifest")) { |
| 1222 manifest = _json["manifest"]; | 1234 manifest = _json["manifest"]; |
| 1223 } | 1235 } |
| 1224 if (_json.containsKey("name")) { | 1236 if (_json.containsKey("name")) { |
| 1225 name = _json["name"]; | 1237 name = _json["name"]; |
| 1226 } | 1238 } |
| 1227 if (_json.containsKey("operation")) { | 1239 if (_json.containsKey("operation")) { |
| 1228 operation = new Operation.fromJson(_json["operation"]); | 1240 operation = new Operation.fromJson(_json["operation"]); |
| 1229 } | 1241 } |
| 1230 if (_json.containsKey("target")) { | 1242 if (_json.containsKey("target")) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1242 } | 1254 } |
| 1243 if (fingerprint != null) { | 1255 if (fingerprint != null) { |
| 1244 _json["fingerprint"] = fingerprint; | 1256 _json["fingerprint"] = fingerprint; |
| 1245 } | 1257 } |
| 1246 if (id != null) { | 1258 if (id != null) { |
| 1247 _json["id"] = id; | 1259 _json["id"] = id; |
| 1248 } | 1260 } |
| 1249 if (insertTime != null) { | 1261 if (insertTime != null) { |
| 1250 _json["insertTime"] = insertTime; | 1262 _json["insertTime"] = insertTime; |
| 1251 } | 1263 } |
| 1264 if (labels != null) { |
| 1265 _json["labels"] = labels.map((value) => (value).toJson()).toList(); |
| 1266 } |
| 1252 if (manifest != null) { | 1267 if (manifest != null) { |
| 1253 _json["manifest"] = manifest; | 1268 _json["manifest"] = manifest; |
| 1254 } | 1269 } |
| 1255 if (name != null) { | 1270 if (name != null) { |
| 1256 _json["name"] = name; | 1271 _json["name"] = name; |
| 1257 } | 1272 } |
| 1258 if (operation != null) { | 1273 if (operation != null) { |
| 1259 _json["operation"] = (operation).toJson(); | 1274 _json["operation"] = (operation).toJson(); |
| 1260 } | 1275 } |
| 1261 if (target != null) { | 1276 if (target != null) { |
| 1262 _json["target"] = (target).toJson(); | 1277 _json["target"] = (target).toJson(); |
| 1263 } | 1278 } |
| 1264 if (update != null) { | 1279 if (update != null) { |
| 1265 _json["update"] = (update).toJson(); | 1280 _json["update"] = (update).toJson(); |
| 1266 } | 1281 } |
| 1267 return _json; | 1282 return _json; |
| 1268 } | 1283 } |
| 1269 } | 1284 } |
| 1270 | 1285 |
| 1286 class DeploymentLabelEntry { |
| 1287 core.String key; |
| 1288 core.String value; |
| 1289 |
| 1290 DeploymentLabelEntry(); |
| 1291 |
| 1292 DeploymentLabelEntry.fromJson(core.Map _json) { |
| 1293 if (_json.containsKey("key")) { |
| 1294 key = _json["key"]; |
| 1295 } |
| 1296 if (_json.containsKey("value")) { |
| 1297 value = _json["value"]; |
| 1298 } |
| 1299 } |
| 1300 |
| 1301 core.Map toJson() { |
| 1302 var _json = new core.Map(); |
| 1303 if (key != null) { |
| 1304 _json["key"] = key; |
| 1305 } |
| 1306 if (value != null) { |
| 1307 _json["value"] = value; |
| 1308 } |
| 1309 return _json; |
| 1310 } |
| 1311 } |
| 1312 |
| 1271 class DeploymentUpdate { | 1313 class DeploymentUpdate { |
| 1272 /** | 1314 /** |
| 1315 * [Output Only] Map of labels; provided by the client when the resource is |
| 1316 * created or updated. Specifically: Label keys must be between 1 and 63 |
| 1317 * characters long and must conform to the following regular expression: |
| 1318 * [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters |
| 1319 * long and must conform to the regular expression |
| 1320 * ([a-z]([-a-z0-9]*[a-z0-9])?)? |
| 1321 */ |
| 1322 core.List<DeploymentUpdateLabelEntry> labels; |
| 1323 /** |
| 1273 * [Output Only] URL of the manifest representing the update configuration of | 1324 * [Output Only] URL of the manifest representing the update configuration of |
| 1274 * this deployment. | 1325 * this deployment. |
| 1275 */ | 1326 */ |
| 1276 core.String manifest; | 1327 core.String manifest; |
| 1277 | 1328 |
| 1278 DeploymentUpdate(); | 1329 DeploymentUpdate(); |
| 1279 | 1330 |
| 1280 DeploymentUpdate.fromJson(core.Map _json) { | 1331 DeploymentUpdate.fromJson(core.Map _json) { |
| 1332 if (_json.containsKey("labels")) { |
| 1333 labels = _json["labels"].map((value) => new DeploymentUpdateLabelEntry.fro
mJson(value)).toList(); |
| 1334 } |
| 1281 if (_json.containsKey("manifest")) { | 1335 if (_json.containsKey("manifest")) { |
| 1282 manifest = _json["manifest"]; | 1336 manifest = _json["manifest"]; |
| 1283 } | 1337 } |
| 1284 } | 1338 } |
| 1285 | 1339 |
| 1286 core.Map toJson() { | 1340 core.Map toJson() { |
| 1287 var _json = new core.Map(); | 1341 var _json = new core.Map(); |
| 1342 if (labels != null) { |
| 1343 _json["labels"] = labels.map((value) => (value).toJson()).toList(); |
| 1344 } |
| 1288 if (manifest != null) { | 1345 if (manifest != null) { |
| 1289 _json["manifest"] = manifest; | 1346 _json["manifest"] = manifest; |
| 1290 } | 1347 } |
| 1291 return _json; | 1348 return _json; |
| 1292 } | 1349 } |
| 1293 } | 1350 } |
| 1294 | 1351 |
| 1352 class DeploymentUpdateLabelEntry { |
| 1353 core.String key; |
| 1354 core.String value; |
| 1355 |
| 1356 DeploymentUpdateLabelEntry(); |
| 1357 |
| 1358 DeploymentUpdateLabelEntry.fromJson(core.Map _json) { |
| 1359 if (_json.containsKey("key")) { |
| 1360 key = _json["key"]; |
| 1361 } |
| 1362 if (_json.containsKey("value")) { |
| 1363 value = _json["value"]; |
| 1364 } |
| 1365 } |
| 1366 |
| 1367 core.Map toJson() { |
| 1368 var _json = new core.Map(); |
| 1369 if (key != null) { |
| 1370 _json["key"] = key; |
| 1371 } |
| 1372 if (value != null) { |
| 1373 _json["value"] = value; |
| 1374 } |
| 1375 return _json; |
| 1376 } |
| 1377 } |
| 1378 |
| 1295 class DeploymentsCancelPreviewRequest { | 1379 class DeploymentsCancelPreviewRequest { |
| 1296 /** | 1380 /** |
| 1297 * Specifies a fingerprint for cancelPreview() requests. A fingerprint is a | 1381 * Specifies a fingerprint for cancelPreview() requests. A fingerprint is a |
| 1298 * randomly generated value that must be provided in cancelPreview() requests | 1382 * randomly generated value that must be provided in cancelPreview() requests |
| 1299 * to perform optimistic locking. This ensures optimistic concurrency so that | 1383 * to perform optimistic locking. This ensures optimistic concurrency so that |
| 1300 * the deployment does not have conflicting requests (e.g. if someone attempts | 1384 * the deployment does not have conflicting requests (e.g. if someone attempts |
| 1301 * to make a new update request while another user attempts to cancel a | 1385 * to make a new update request while another user attempts to cancel a |
| 1302 * preview, this would prevent one of the requests). | 1386 * preview, this would prevent one of the requests). |
| 1303 * | 1387 * |
| 1304 * The fingerprint is initially generated by Deployment Manager and changes | 1388 * The fingerprint is initially generated by Deployment Manager and changes |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 _json["nextPageToken"] = nextPageToken; | 1631 _json["nextPageToken"] = nextPageToken; |
| 1548 } | 1632 } |
| 1549 return _json; | 1633 return _json; |
| 1550 } | 1634 } |
| 1551 } | 1635 } |
| 1552 | 1636 |
| 1553 class OperationErrorErrors { | 1637 class OperationErrorErrors { |
| 1554 /** [Output Only] The error type identifier for this error. */ | 1638 /** [Output Only] The error type identifier for this error. */ |
| 1555 core.String code; | 1639 core.String code; |
| 1556 /** | 1640 /** |
| 1557 * [Output Only] Indicates the field in the request which caused the error. | 1641 * [Output Only] Indicates the field in the request that caused the error. |
| 1558 * This property is optional. | 1642 * This property is optional. |
| 1559 */ | 1643 */ |
| 1560 core.String location; | 1644 core.String location; |
| 1561 /** [Output Only] An optional, human-readable error message. */ | 1645 /** [Output Only] An optional, human-readable error message. */ |
| 1562 core.String message; | 1646 core.String message; |
| 1563 | 1647 |
| 1564 OperationErrorErrors(); | 1648 OperationErrorErrors(); |
| 1565 | 1649 |
| 1566 OperationErrorErrors.fromJson(core.Map _json) { | 1650 OperationErrorErrors.fromJson(core.Map _json) { |
| 1567 if (_json.containsKey("code")) { | 1651 if (_json.containsKey("code")) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1617 return _json; | 1701 return _json; |
| 1618 } | 1702 } |
| 1619 } | 1703 } |
| 1620 | 1704 |
| 1621 class OperationWarningsData { | 1705 class OperationWarningsData { |
| 1622 /** | 1706 /** |
| 1623 * [Output Only] A key that provides more detail on the warning being | 1707 * [Output Only] A key that provides more detail on the warning being |
| 1624 * returned. For example, for warnings where there are no results in a list | 1708 * returned. For example, for warnings where there are no results in a list |
| 1625 * request for a particular zone, this key might be scope and the key value | 1709 * request for a particular zone, this key might be scope and the key value |
| 1626 * might be the zone name. Other examples might be a key indicating a | 1710 * might be the zone name. Other examples might be a key indicating a |
| 1627 * deprecated resource, and a suggested replacement, or a warning about | 1711 * deprecated resource and a suggested replacement, or a warning about invalid |
| 1628 * invalid network settings (for example, if an instance attempts to perform | 1712 * network settings (for example, if an instance attempts to perform IP |
| 1629 * IP forwarding but is not enabled for IP forwarding). | 1713 * forwarding but is not enabled for IP forwarding). |
| 1630 */ | 1714 */ |
| 1631 core.String key; | 1715 core.String key; |
| 1632 /** [Output Only] A warning data value corresponding to the key. */ | 1716 /** [Output Only] A warning data value corresponding to the key. */ |
| 1633 core.String value; | 1717 core.String value; |
| 1634 | 1718 |
| 1635 OperationWarningsData(); | 1719 OperationWarningsData(); |
| 1636 | 1720 |
| 1637 OperationWarningsData.fromJson(core.Map _json) { | 1721 OperationWarningsData.fromJson(core.Map _json) { |
| 1638 if (_json.containsKey("key")) { | 1722 if (_json.containsKey("key")) { |
| 1639 key = _json["key"]; | 1723 key = _json["key"]; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 * [Output Only] The unique identifier for the resource. This identifier is | 1819 * [Output Only] The unique identifier for the resource. This identifier is |
| 1736 * defined by the server. | 1820 * defined by the server. |
| 1737 */ | 1821 */ |
| 1738 core.String id; | 1822 core.String id; |
| 1739 /** | 1823 /** |
| 1740 * [Output Only] The time that this operation was requested. This value is in | 1824 * [Output Only] The time that this operation was requested. This value is in |
| 1741 * RFC3339 text format. | 1825 * RFC3339 text format. |
| 1742 */ | 1826 */ |
| 1743 core.String insertTime; | 1827 core.String insertTime; |
| 1744 /** | 1828 /** |
| 1745 * [Output Only] Type of the resource. Always compute#operation for Operation | 1829 * [Output Only] Type of the resource. Always compute#operation for operation |
| 1746 * resources. | 1830 * resources. |
| 1747 */ | 1831 */ |
| 1748 core.String kind; | 1832 core.String kind; |
| 1749 /** [Output Only] Name of the resource. */ | 1833 /** [Output Only] Name of the resource. */ |
| 1750 core.String name; | 1834 core.String name; |
| 1751 /** | 1835 /** |
| 1752 * [Output Only] The type of operation, such as insert, update, or delete, and | 1836 * [Output Only] The type of operation, such as insert, update, or delete, and |
| 1753 * so on. | 1837 * so on. |
| 1754 */ | 1838 */ |
| 1755 core.String operationType; | 1839 core.String operationType; |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1987 return _json; | 2071 return _json; |
| 1988 } | 2072 } |
| 1989 } | 2073 } |
| 1990 | 2074 |
| 1991 class ResourceWarningsData { | 2075 class ResourceWarningsData { |
| 1992 /** | 2076 /** |
| 1993 * [Output Only] A key that provides more detail on the warning being | 2077 * [Output Only] A key that provides more detail on the warning being |
| 1994 * returned. For example, for warnings where there are no results in a list | 2078 * returned. For example, for warnings where there are no results in a list |
| 1995 * request for a particular zone, this key might be scope and the key value | 2079 * request for a particular zone, this key might be scope and the key value |
| 1996 * might be the zone name. Other examples might be a key indicating a | 2080 * might be the zone name. Other examples might be a key indicating a |
| 1997 * deprecated resource, and a suggested replacement, or a warning about | 2081 * deprecated resource and a suggested replacement, or a warning about invalid |
| 1998 * invalid network settings (for example, if an instance attempts to perform | 2082 * network settings (for example, if an instance attempts to perform IP |
| 1999 * IP forwarding but is not enabled for IP forwarding). | 2083 * forwarding but is not enabled for IP forwarding). |
| 2000 */ | 2084 */ |
| 2001 core.String key; | 2085 core.String key; |
| 2002 /** [Output Only] A warning data value corresponding to the key. */ | 2086 /** [Output Only] A warning data value corresponding to the key. */ |
| 2003 core.String value; | 2087 core.String value; |
| 2004 | 2088 |
| 2005 ResourceWarningsData(); | 2089 ResourceWarningsData(); |
| 2006 | 2090 |
| 2007 ResourceWarningsData.fromJson(core.Map _json) { | 2091 ResourceWarningsData.fromJson(core.Map _json) { |
| 2008 if (_json.containsKey("key")) { | 2092 if (_json.containsKey("key")) { |
| 2009 key = _json["key"]; | 2093 key = _json["key"]; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2195 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); | 2279 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); |
| 2196 } | 2280 } |
| 2197 return _json; | 2281 return _json; |
| 2198 } | 2282 } |
| 2199 } | 2283 } |
| 2200 | 2284 |
| 2201 class ResourceUpdateErrorErrors { | 2285 class ResourceUpdateErrorErrors { |
| 2202 /** [Output Only] The error type identifier for this error. */ | 2286 /** [Output Only] The error type identifier for this error. */ |
| 2203 core.String code; | 2287 core.String code; |
| 2204 /** | 2288 /** |
| 2205 * [Output Only] Indicates the field in the request which caused the error. | 2289 * [Output Only] Indicates the field in the request that caused the error. |
| 2206 * This property is optional. | 2290 * This property is optional. |
| 2207 */ | 2291 */ |
| 2208 core.String location; | 2292 core.String location; |
| 2209 /** [Output Only] An optional, human-readable error message. */ | 2293 /** [Output Only] An optional, human-readable error message. */ |
| 2210 core.String message; | 2294 core.String message; |
| 2211 | 2295 |
| 2212 ResourceUpdateErrorErrors(); | 2296 ResourceUpdateErrorErrors(); |
| 2213 | 2297 |
| 2214 ResourceUpdateErrorErrors.fromJson(core.Map _json) { | 2298 ResourceUpdateErrorErrors.fromJson(core.Map _json) { |
| 2215 if (_json.containsKey("code")) { | 2299 if (_json.containsKey("code")) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2265 return _json; | 2349 return _json; |
| 2266 } | 2350 } |
| 2267 } | 2351 } |
| 2268 | 2352 |
| 2269 class ResourceUpdateWarningsData { | 2353 class ResourceUpdateWarningsData { |
| 2270 /** | 2354 /** |
| 2271 * [Output Only] A key that provides more detail on the warning being | 2355 * [Output Only] A key that provides more detail on the warning being |
| 2272 * returned. For example, for warnings where there are no results in a list | 2356 * returned. For example, for warnings where there are no results in a list |
| 2273 * request for a particular zone, this key might be scope and the key value | 2357 * request for a particular zone, this key might be scope and the key value |
| 2274 * might be the zone name. Other examples might be a key indicating a | 2358 * might be the zone name. Other examples might be a key indicating a |
| 2275 * deprecated resource, and a suggested replacement, or a warning about | 2359 * deprecated resource and a suggested replacement, or a warning about invalid |
| 2276 * invalid network settings (for example, if an instance attempts to perform | 2360 * network settings (for example, if an instance attempts to perform IP |
| 2277 * IP forwarding but is not enabled for IP forwarding). | 2361 * forwarding but is not enabled for IP forwarding). |
| 2278 */ | 2362 */ |
| 2279 core.String key; | 2363 core.String key; |
| 2280 /** [Output Only] A warning data value corresponding to the key. */ | 2364 /** [Output Only] A warning data value corresponding to the key. */ |
| 2281 core.String value; | 2365 core.String value; |
| 2282 | 2366 |
| 2283 ResourceUpdateWarningsData(); | 2367 ResourceUpdateWarningsData(); |
| 2284 | 2368 |
| 2285 ResourceUpdateWarningsData.fromJson(core.Map _json) { | 2369 ResourceUpdateWarningsData.fromJson(core.Map _json) { |
| 2286 if (_json.containsKey("key")) { | 2370 if (_json.containsKey("key")) { |
| 2287 key = _json["key"]; | 2371 key = _json["key"]; |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2571 var _json = new core.Map(); | 2655 var _json = new core.Map(); |
| 2572 if (nextPageToken != null) { | 2656 if (nextPageToken != null) { |
| 2573 _json["nextPageToken"] = nextPageToken; | 2657 _json["nextPageToken"] = nextPageToken; |
| 2574 } | 2658 } |
| 2575 if (types != null) { | 2659 if (types != null) { |
| 2576 _json["types"] = types.map((value) => (value).toJson()).toList(); | 2660 _json["types"] = types.map((value) => (value).toJson()).toList(); |
| 2577 } | 2661 } |
| 2578 return _json; | 2662 return _json; |
| 2579 } | 2663 } |
| 2580 } | 2664 } |
| OLD | NEW |