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

Side by Side Diff: generated/googleapis/lib/compute/v1.dart

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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.compute.v1; 3 library googleapis.compute.v1;
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 * field_name comparison_string literal_string. 100 * field_name comparison_string literal_string.
101 * 101 *
102 * The field_name is the name of the field you want to compare. Only atomic 102 * The field_name is the name of the field you want to compare. Only atomic
103 * field types are supported (string, number, boolean). The comparison_string 103 * field types are supported (string, number, boolean). The comparison_string
104 * must be either eq (equals) or ne (not equals). The literal_string is the 104 * must be either eq (equals) or ne (not equals). The literal_string is the
105 * string value to filter to. The literal value must be valid for the type of 105 * string value to filter to. The literal value must be valid for the type of
106 * field you are filtering by (string, number, boolean). For string fields, 106 * field you are filtering by (string, number, boolean). For string fields,
107 * the literal value is interpreted as a regular expression using RE2 syntax. 107 * the literal value is interpreted as a regular expression using RE2 syntax.
108 * The literal value must match the entire field. 108 * The literal value must match the entire field.
109 * 109 *
110 * For example, filter=name ne example-instance. 110 * For example, to filter for instances that do not have a name of
111 * example-instance, you would use filter=name ne example-instance.
111 * 112 *
112 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 113 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
113 * also filter on nested fields. For example, you could filter on instances 114 * also filter on nested fields. For example, you could filter on instances
114 * that have set the scheduling.automaticRestart field to true. In particular, 115 * that have set the scheduling.automaticRestart field to true. In particular,
115 * use filtering on nested fields to take advantage of instance labels to 116 * use filtering on nested fields to take advantage of instance labels to
116 * organize and filter results based on label values. 117 * organize and filter results based on label values.
117 * 118 *
118 * The Beta API also supports filtering on multiple expressions by providing 119 * The Beta API also supports filtering on multiple expressions by providing
119 * each separate expression within parentheses. For example, 120 * each separate expression within parentheses. For example,
120 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 121 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
121 * expressions are treated as AND expressions meaning that resources must 122 * expressions are treated as AND expressions, meaning that resources must
122 * match all expressions to pass the filters. 123 * match all expressions to pass the filters.
123 * 124 *
124 * [maxResults] - The maximum number of results per page that Compute Engine 125 * [maxResults] - The maximum number of results per page that should be
125 * should return. If the number of available results is larger than 126 * returned. If the number of available results is larger than maxResults,
126 * maxResults, Compute Engine returns a nextPageToken that can be used to get 127 * Compute Engine returns a nextPageToken that can be used to get the next
127 * the next page of results in subsequent list requests. 128 * page of results in subsequent list requests.
128 * Value must be between "0" and "500". 129 * Value must be between "0" and "500".
129 * 130 *
130 * [pageToken] - Specifies a page token to use. Set pageToken to the 131 * [pageToken] - Specifies a page token to use. Set pageToken to the
131 * nextPageToken returned by a previous list request to get the next page of 132 * nextPageToken returned by a previous list request to get the next page of
132 * results. 133 * results.
133 * 134 *
134 * Completes with a [AddressAggregatedList]. 135 * Completes with a [AddressAggregatedList].
135 * 136 *
136 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 137 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
137 * error. 138 * error.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 175
175 /** 176 /**
176 * Deletes the specified address resource. 177 * Deletes the specified address resource.
177 * 178 *
178 * Request parameters: 179 * Request parameters:
179 * 180 *
180 * [project] - Project ID for this request. 181 * [project] - Project ID for this request.
181 * Value must have pattern 182 * Value must have pattern
182 * "(?:(?:[-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])?))". 183 * "(?:(?:[-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])?))".
183 * 184 *
184 * [region] - The name of the region for this request. 185 * [region] - Name of the region for this request.
185 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 186 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
186 * 187 *
187 * [address] - Name of the address resource to delete. 188 * [address] - Name of the address resource to delete.
188 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 189 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
189 * 190 *
190 * Completes with a [Operation]. 191 * Completes with a [Operation].
191 * 192 *
192 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 193 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
193 * error. 194 * error.
194 * 195 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 228
228 /** 229 /**
229 * Returns the specified address resource. 230 * Returns the specified address resource.
230 * 231 *
231 * Request parameters: 232 * Request parameters:
232 * 233 *
233 * [project] - Project ID for this request. 234 * [project] - Project ID for this request.
234 * Value must have pattern 235 * Value must have pattern
235 * "(?:(?:[-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])?))". 236 * "(?:(?:[-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])?))".
236 * 237 *
237 * [region] - The name of the region for this request. 238 * [region] - Name of the region for this request.
238 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 239 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
239 * 240 *
240 * [address] - Name of the address resource to return. 241 * [address] - Name of the address resource to return.
241 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 242 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
242 * 243 *
243 * Completes with a [Address]. 244 * Completes with a [Address].
244 * 245 *
245 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 246 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
246 * error. 247 * error.
247 * 248 *
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 * included in the request. 284 * included in the request.
284 * 285 *
285 * [request] - The metadata request object. 286 * [request] - The metadata request object.
286 * 287 *
287 * Request parameters: 288 * Request parameters:
288 * 289 *
289 * [project] - Project ID for this request. 290 * [project] - Project ID for this request.
290 * Value must have pattern 291 * Value must have pattern
291 * "(?:(?:[-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])?))". 292 * "(?:(?:[-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])?))".
292 * 293 *
293 * [region] - The name of the region for this request. 294 * [region] - Name of the region for this request.
294 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 295 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
295 * 296 *
296 * Completes with a [Operation]. 297 * Completes with a [Operation].
297 * 298 *
298 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 299 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
299 * error. 300 * error.
300 * 301 *
301 * If the used [http.Client] completes with an error when making a REST call, 302 * If the used [http.Client] completes with an error when making a REST call,
302 * this method will complete with the same error. 303 * this method will complete with the same error.
303 */ 304 */
(...skipping 21 matching lines...) Expand all
325 "POST", 326 "POST",
326 body: _body, 327 body: _body,
327 queryParams: _queryParams, 328 queryParams: _queryParams,
328 uploadOptions: _uploadOptions, 329 uploadOptions: _uploadOptions,
329 uploadMedia: _uploadMedia, 330 uploadMedia: _uploadMedia,
330 downloadOptions: _downloadOptions); 331 downloadOptions: _downloadOptions);
331 return _response.then((data) => new Operation.fromJson(data)); 332 return _response.then((data) => new Operation.fromJson(data));
332 } 333 }
333 334
334 /** 335 /**
335 * Retrieves a list of address resources contained within the specified 336 * Retrieves a list of addresses contained within the specified region.
336 * region.
337 * 337 *
338 * Request parameters: 338 * Request parameters:
339 * 339 *
340 * [project] - Project ID for this request. 340 * [project] - Project ID for this request.
341 * Value must have pattern 341 * Value must have pattern
342 * "(?:(?:[-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])?))". 342 * "(?:(?:[-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])?))".
343 * 343 *
344 * [region] - The name of the region for this request. 344 * [region] - Name of the region for this request.
345 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 345 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
346 * 346 *
347 * [filter] - Sets a filter expression for filtering listed resources, in the 347 * [filter] - Sets a filter expression for filtering listed resources, in the
348 * form filter={expression}. Your {expression} must be in the format: 348 * form filter={expression}. Your {expression} must be in the format:
349 * field_name comparison_string literal_string. 349 * field_name comparison_string literal_string.
350 * 350 *
351 * The field_name is the name of the field you want to compare. Only atomic 351 * The field_name is the name of the field you want to compare. Only atomic
352 * field types are supported (string, number, boolean). The comparison_string 352 * field types are supported (string, number, boolean). The comparison_string
353 * must be either eq (equals) or ne (not equals). The literal_string is the 353 * must be either eq (equals) or ne (not equals). The literal_string is the
354 * string value to filter to. The literal value must be valid for the type of 354 * string value to filter to. The literal value must be valid for the type of
355 * field you are filtering by (string, number, boolean). For string fields, 355 * field you are filtering by (string, number, boolean). For string fields,
356 * the literal value is interpreted as a regular expression using RE2 syntax. 356 * the literal value is interpreted as a regular expression using RE2 syntax.
357 * The literal value must match the entire field. 357 * The literal value must match the entire field.
358 * 358 *
359 * For example, filter=name ne example-instance. 359 * For example, to filter for instances that do not have a name of
360 * example-instance, you would use filter=name ne example-instance.
360 * 361 *
361 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 362 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
362 * also filter on nested fields. For example, you could filter on instances 363 * also filter on nested fields. For example, you could filter on instances
363 * that have set the scheduling.automaticRestart field to true. In particular, 364 * that have set the scheduling.automaticRestart field to true. In particular,
364 * use filtering on nested fields to take advantage of instance labels to 365 * use filtering on nested fields to take advantage of instance labels to
365 * organize and filter results based on label values. 366 * organize and filter results based on label values.
366 * 367 *
367 * The Beta API also supports filtering on multiple expressions by providing 368 * The Beta API also supports filtering on multiple expressions by providing
368 * each separate expression within parentheses. For example, 369 * each separate expression within parentheses. For example,
369 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 370 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
370 * expressions are treated as AND expressions meaning that resources must 371 * expressions are treated as AND expressions, meaning that resources must
371 * match all expressions to pass the filters. 372 * match all expressions to pass the filters.
372 * 373 *
373 * [maxResults] - The maximum number of results per page that Compute Engine 374 * [maxResults] - The maximum number of results per page that should be
374 * should return. If the number of available results is larger than 375 * returned. If the number of available results is larger than maxResults,
375 * maxResults, Compute Engine returns a nextPageToken that can be used to get 376 * Compute Engine returns a nextPageToken that can be used to get the next
376 * the next page of results in subsequent list requests. 377 * page of results in subsequent list requests.
377 * Value must be between "0" and "500". 378 * Value must be between "0" and "500".
378 * 379 *
379 * [pageToken] - Specifies a page token to use. Set pageToken to the 380 * [pageToken] - Specifies a page token to use. Set pageToken to the
380 * nextPageToken returned by a previous list request to get the next page of 381 * nextPageToken returned by a previous list request to get the next page of
381 * results. 382 * results.
382 * 383 *
383 * Completes with a [AddressList]. 384 * Completes with a [AddressList].
384 * 385 *
385 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 386 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
386 * error. 387 * error.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 * field_name comparison_string literal_string. 448 * field_name comparison_string literal_string.
448 * 449 *
449 * The field_name is the name of the field you want to compare. Only atomic 450 * The field_name is the name of the field you want to compare. Only atomic
450 * field types are supported (string, number, boolean). The comparison_string 451 * field types are supported (string, number, boolean). The comparison_string
451 * must be either eq (equals) or ne (not equals). The literal_string is the 452 * must be either eq (equals) or ne (not equals). The literal_string is the
452 * string value to filter to. The literal value must be valid for the type of 453 * string value to filter to. The literal value must be valid for the type of
453 * field you are filtering by (string, number, boolean). For string fields, 454 * field you are filtering by (string, number, boolean). For string fields,
454 * the literal value is interpreted as a regular expression using RE2 syntax. 455 * the literal value is interpreted as a regular expression using RE2 syntax.
455 * The literal value must match the entire field. 456 * The literal value must match the entire field.
456 * 457 *
457 * For example, filter=name ne example-instance. 458 * For example, to filter for instances that do not have a name of
459 * example-instance, you would use filter=name ne example-instance.
458 * 460 *
459 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 461 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
460 * also filter on nested fields. For example, you could filter on instances 462 * also filter on nested fields. For example, you could filter on instances
461 * that have set the scheduling.automaticRestart field to true. In particular, 463 * that have set the scheduling.automaticRestart field to true. In particular,
462 * use filtering on nested fields to take advantage of instance labels to 464 * use filtering on nested fields to take advantage of instance labels to
463 * organize and filter results based on label values. 465 * organize and filter results based on label values.
464 * 466 *
465 * The Beta API also supports filtering on multiple expressions by providing 467 * The Beta API also supports filtering on multiple expressions by providing
466 * each separate expression within parentheses. For example, 468 * each separate expression within parentheses. For example,
467 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 469 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
468 * expressions are treated as AND expressions meaning that resources must 470 * expressions are treated as AND expressions, meaning that resources must
469 * match all expressions to pass the filters. 471 * match all expressions to pass the filters.
470 * 472 *
471 * [maxResults] - The maximum number of results per page that Compute Engine 473 * [maxResults] - The maximum number of results per page that should be
472 * should return. If the number of available results is larger than 474 * returned. If the number of available results is larger than maxResults,
473 * maxResults, Compute Engine returns a nextPageToken that can be used to get 475 * Compute Engine returns a nextPageToken that can be used to get the next
474 * the next page of results in subsequent list requests. 476 * page of results in subsequent list requests.
475 * Value must be between "0" and "500". 477 * Value must be between "0" and "500".
476 * 478 *
477 * [pageToken] - Specifies a page token to use. Set pageToken to the 479 * [pageToken] - Specifies a page token to use. Set pageToken to the
478 * nextPageToken returned by a previous list request to get the next page of 480 * nextPageToken returned by a previous list request to get the next page of
479 * results. 481 * results.
480 * 482 *
481 * Completes with a [AutoscalerAggregatedList]. 483 * Completes with a [AutoscalerAggregatedList].
482 * 484 *
483 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 485 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
484 * error. 486 * error.
(...skipping 28 matching lines...) Expand all
513 "GET", 515 "GET",
514 body: _body, 516 body: _body,
515 queryParams: _queryParams, 517 queryParams: _queryParams,
516 uploadOptions: _uploadOptions, 518 uploadOptions: _uploadOptions,
517 uploadMedia: _uploadMedia, 519 uploadMedia: _uploadMedia,
518 downloadOptions: _downloadOptions); 520 downloadOptions: _downloadOptions);
519 return _response.then((data) => new AutoscalerAggregatedList.fromJson(data)) ; 521 return _response.then((data) => new AutoscalerAggregatedList.fromJson(data)) ;
520 } 522 }
521 523
522 /** 524 /**
523 * Deletes the specified autoscaler resource. 525 * Deletes the specified autoscaler.
524 * 526 *
525 * Request parameters: 527 * Request parameters:
526 * 528 *
527 * [project] - Project ID for this request. 529 * [project] - Project ID for this request.
528 * Value must have pattern 530 * Value must have pattern
529 * "(?:(?:[-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])?))". 531 * "(?:(?:[-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])?))".
530 * 532 *
531 * [zone] - Name of the zone scoping this request. 533 * [zone] - Name of the zone for this request.
532 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 534 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
533 * 535 *
534 * [autoscaler] - Name of the persistent autoscaler resource to delete. 536 * [autoscaler] - Name of the autoscaler to delete.
535 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 537 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
536 * 538 *
537 * Completes with a [Operation]. 539 * Completes with a [Operation].
538 * 540 *
539 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 541 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
540 * error. 542 * error.
541 * 543 *
542 * If the used [http.Client] completes with an error when making a REST call, 544 * If the used [http.Client] completes with an error when making a REST call,
543 * this method will complete with the same error. 545 * this method will complete with the same error.
544 */ 546 */
(...skipping 21 matching lines...) Expand all
566 "DELETE", 568 "DELETE",
567 body: _body, 569 body: _body,
568 queryParams: _queryParams, 570 queryParams: _queryParams,
569 uploadOptions: _uploadOptions, 571 uploadOptions: _uploadOptions,
570 uploadMedia: _uploadMedia, 572 uploadMedia: _uploadMedia,
571 downloadOptions: _downloadOptions); 573 downloadOptions: _downloadOptions);
572 return _response.then((data) => new Operation.fromJson(data)); 574 return _response.then((data) => new Operation.fromJson(data));
573 } 575 }
574 576
575 /** 577 /**
576 * Returns the specified autoscaler resource. 578 * Returns the specified autoscaler resource. Get a list of available
579 * autoscalers by making a list() request.
577 * 580 *
578 * Request parameters: 581 * Request parameters:
579 * 582 *
580 * [project] - Project ID for this request. 583 * [project] - Project ID for this request.
581 * Value must have pattern 584 * Value must have pattern
582 * "(?:(?:[-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])?))". 585 * "(?:(?:[-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])?))".
583 * 586 *
584 * [zone] - Name of the zone scoping this request. 587 * [zone] - Name of the zone for this request.
585 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 588 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
586 * 589 *
587 * [autoscaler] - Name of the persistent autoscaler resource to return. 590 * [autoscaler] - Name of the autoscaler to return.
588 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 591 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
589 * 592 *
590 * Completes with a [Autoscaler]. 593 * Completes with a [Autoscaler].
591 * 594 *
592 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 595 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
593 * error. 596 * error.
594 * 597 *
595 * If the used [http.Client] completes with an error when making a REST call, 598 * If the used [http.Client] completes with an error when making a REST call,
596 * this method will complete with the same error. 599 * this method will complete with the same error.
597 */ 600 */
(...skipping 21 matching lines...) Expand all
619 "GET", 622 "GET",
620 body: _body, 623 body: _body,
621 queryParams: _queryParams, 624 queryParams: _queryParams,
622 uploadOptions: _uploadOptions, 625 uploadOptions: _uploadOptions,
623 uploadMedia: _uploadMedia, 626 uploadMedia: _uploadMedia,
624 downloadOptions: _downloadOptions); 627 downloadOptions: _downloadOptions);
625 return _response.then((data) => new Autoscaler.fromJson(data)); 628 return _response.then((data) => new Autoscaler.fromJson(data));
626 } 629 }
627 630
628 /** 631 /**
629 * Creates an autoscaler resource in the specified project using the data 632 * Creates an autoscaler in the specified project using the data included in
630 * included in the request. 633 * the request.
631 * 634 *
632 * [request] - The metadata request object. 635 * [request] - The metadata request object.
633 * 636 *
634 * Request parameters: 637 * Request parameters:
635 * 638 *
636 * [project] - Project ID for this request. 639 * [project] - Project ID for this request.
637 * Value must have pattern 640 * Value must have pattern
638 * "(?:(?:[-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])?))". 641 * "(?:(?:[-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])?))".
639 * 642 *
640 * [zone] - Name of the zone scoping this request. 643 * [zone] - Name of the zone for this request.
641 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 644 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
642 * 645 *
643 * Completes with a [Operation]. 646 * Completes with a [Operation].
644 * 647 *
645 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 648 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
646 * error. 649 * error.
647 * 650 *
648 * If the used [http.Client] completes with an error when making a REST call, 651 * If the used [http.Client] completes with an error when making a REST call,
649 * this method will complete with the same error. 652 * this method will complete with the same error.
650 */ 653 */
(...skipping 21 matching lines...) Expand all
672 "POST", 675 "POST",
673 body: _body, 676 body: _body,
674 queryParams: _queryParams, 677 queryParams: _queryParams,
675 uploadOptions: _uploadOptions, 678 uploadOptions: _uploadOptions,
676 uploadMedia: _uploadMedia, 679 uploadMedia: _uploadMedia,
677 downloadOptions: _downloadOptions); 680 downloadOptions: _downloadOptions);
678 return _response.then((data) => new Operation.fromJson(data)); 681 return _response.then((data) => new Operation.fromJson(data));
679 } 682 }
680 683
681 /** 684 /**
682 * Retrieves a list of autoscaler resources contained within the specified 685 * Retrieves a list of autoscalers contained within the specified zone.
683 * zone.
684 * 686 *
685 * Request parameters: 687 * Request parameters:
686 * 688 *
687 * [project] - Project ID for this request. 689 * [project] - Project ID for this request.
688 * Value must have pattern 690 * Value must have pattern
689 * "(?:(?:[-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])?))". 691 * "(?:(?:[-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])?))".
690 * 692 *
691 * [zone] - Name of the zone scoping this request. 693 * [zone] - Name of the zone for this request.
692 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 694 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
693 * 695 *
694 * [filter] - Sets a filter expression for filtering listed resources, in the 696 * [filter] - Sets a filter expression for filtering listed resources, in the
695 * form filter={expression}. Your {expression} must be in the format: 697 * form filter={expression}. Your {expression} must be in the format:
696 * field_name comparison_string literal_string. 698 * field_name comparison_string literal_string.
697 * 699 *
698 * The field_name is the name of the field you want to compare. Only atomic 700 * The field_name is the name of the field you want to compare. Only atomic
699 * field types are supported (string, number, boolean). The comparison_string 701 * field types are supported (string, number, boolean). The comparison_string
700 * must be either eq (equals) or ne (not equals). The literal_string is the 702 * must be either eq (equals) or ne (not equals). The literal_string is the
701 * string value to filter to. The literal value must be valid for the type of 703 * string value to filter to. The literal value must be valid for the type of
702 * field you are filtering by (string, number, boolean). For string fields, 704 * field you are filtering by (string, number, boolean). For string fields,
703 * the literal value is interpreted as a regular expression using RE2 syntax. 705 * the literal value is interpreted as a regular expression using RE2 syntax.
704 * The literal value must match the entire field. 706 * The literal value must match the entire field.
705 * 707 *
706 * For example, filter=name ne example-instance. 708 * For example, to filter for instances that do not have a name of
709 * example-instance, you would use filter=name ne example-instance.
707 * 710 *
708 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 711 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
709 * also filter on nested fields. For example, you could filter on instances 712 * also filter on nested fields. For example, you could filter on instances
710 * that have set the scheduling.automaticRestart field to true. In particular, 713 * that have set the scheduling.automaticRestart field to true. In particular,
711 * use filtering on nested fields to take advantage of instance labels to 714 * use filtering on nested fields to take advantage of instance labels to
712 * organize and filter results based on label values. 715 * organize and filter results based on label values.
713 * 716 *
714 * The Beta API also supports filtering on multiple expressions by providing 717 * The Beta API also supports filtering on multiple expressions by providing
715 * each separate expression within parentheses. For example, 718 * each separate expression within parentheses. For example,
716 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 719 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
717 * expressions are treated as AND expressions meaning that resources must 720 * expressions are treated as AND expressions, meaning that resources must
718 * match all expressions to pass the filters. 721 * match all expressions to pass the filters.
719 * 722 *
720 * [maxResults] - The maximum number of results per page that Compute Engine 723 * [maxResults] - The maximum number of results per page that should be
721 * should return. If the number of available results is larger than 724 * returned. If the number of available results is larger than maxResults,
722 * maxResults, Compute Engine returns a nextPageToken that can be used to get 725 * Compute Engine returns a nextPageToken that can be used to get the next
723 * the next page of results in subsequent list requests. 726 * page of results in subsequent list requests.
724 * Value must be between "0" and "500". 727 * Value must be between "0" and "500".
725 * 728 *
726 * [pageToken] - Specifies a page token to use. Set pageToken to the 729 * [pageToken] - Specifies a page token to use. Set pageToken to the
727 * nextPageToken returned by a previous list request to get the next page of 730 * nextPageToken returned by a previous list request to get the next page of
728 * results. 731 * results.
729 * 732 *
730 * Completes with a [AutoscalerList]. 733 * Completes with a [AutoscalerList].
731 * 734 *
732 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 735 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
733 * error. 736 * error.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 "GET", 768 "GET",
766 body: _body, 769 body: _body,
767 queryParams: _queryParams, 770 queryParams: _queryParams,
768 uploadOptions: _uploadOptions, 771 uploadOptions: _uploadOptions,
769 uploadMedia: _uploadMedia, 772 uploadMedia: _uploadMedia,
770 downloadOptions: _downloadOptions); 773 downloadOptions: _downloadOptions);
771 return _response.then((data) => new AutoscalerList.fromJson(data)); 774 return _response.then((data) => new AutoscalerList.fromJson(data));
772 } 775 }
773 776
774 /** 777 /**
775 * Updates an autoscaler resource in the specified project using the data 778 * Updates an autoscaler in the specified project using the data included in
776 * included in the request. This method supports patch semantics. 779 * the request. This method supports patch semantics.
777 * 780 *
778 * [request] - The metadata request object. 781 * [request] - The metadata request object.
779 * 782 *
780 * Request parameters: 783 * Request parameters:
781 * 784 *
782 * [project] - Project ID for this request. 785 * [project] - Project ID for this request.
783 * Value must have pattern 786 * Value must have pattern
784 * "(?:(?:[-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])?))". 787 * "(?:(?:[-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])?))".
785 * 788 *
786 * [zone] - Name of the zone scoping this request. 789 * [zone] - Name of the zone for this request.
787 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 790 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
788 * 791 *
789 * [autoscaler] - Name of the autoscaler resource to update. 792 * [autoscaler] - Name of the autoscaler to update.
790 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 793 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
791 * 794 *
792 * Completes with a [Operation]. 795 * Completes with a [Operation].
793 * 796 *
794 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 797 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
795 * error. 798 * error.
796 * 799 *
797 * If the used [http.Client] completes with an error when making a REST call, 800 * If the used [http.Client] completes with an error when making a REST call,
798 * this method will complete with the same error. 801 * this method will complete with the same error.
799 */ 802 */
(...skipping 25 matching lines...) Expand all
825 "PATCH", 828 "PATCH",
826 body: _body, 829 body: _body,
827 queryParams: _queryParams, 830 queryParams: _queryParams,
828 uploadOptions: _uploadOptions, 831 uploadOptions: _uploadOptions,
829 uploadMedia: _uploadMedia, 832 uploadMedia: _uploadMedia,
830 downloadOptions: _downloadOptions); 833 downloadOptions: _downloadOptions);
831 return _response.then((data) => new Operation.fromJson(data)); 834 return _response.then((data) => new Operation.fromJson(data));
832 } 835 }
833 836
834 /** 837 /**
835 * Updates an autoscaler resource in the specified project using the data 838 * Updates an autoscaler in the specified project using the data included in
836 * included in the request. 839 * the request.
837 * 840 *
838 * [request] - The metadata request object. 841 * [request] - The metadata request object.
839 * 842 *
840 * Request parameters: 843 * Request parameters:
841 * 844 *
842 * [project] - Project ID for this request. 845 * [project] - Project ID for this request.
843 * Value must have pattern 846 * Value must have pattern
844 * "(?:(?:[-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])?))". 847 * "(?:(?:[-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])?))".
845 * 848 *
846 * [zone] - Name of the zone scoping this request. 849 * [zone] - Name of the zone for this request.
847 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 850 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
848 * 851 *
849 * [autoscaler] - Name of the autoscaler resource to update. 852 * [autoscaler] - Name of the autoscaler to update.
850 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 853 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
851 * 854 *
852 * Completes with a [Operation]. 855 * Completes with a [Operation].
853 * 856 *
854 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 857 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
855 * error. 858 * error.
856 * 859 *
857 * If the used [http.Client] completes with an error when making a REST call, 860 * If the used [http.Client] completes with an error when making a REST call,
858 * this method will complete with the same error. 861 * this method will complete with the same error.
859 */ 862 */
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 "DELETE", 943 "DELETE",
941 body: _body, 944 body: _body,
942 queryParams: _queryParams, 945 queryParams: _queryParams,
943 uploadOptions: _uploadOptions, 946 uploadOptions: _uploadOptions,
944 uploadMedia: _uploadMedia, 947 uploadMedia: _uploadMedia,
945 downloadOptions: _downloadOptions); 948 downloadOptions: _downloadOptions);
946 return _response.then((data) => new Operation.fromJson(data)); 949 return _response.then((data) => new Operation.fromJson(data));
947 } 950 }
948 951
949 /** 952 /**
950 * Returns the specified BackendService resource. 953 * Returns the specified BackendService resource. Get a list of available
954 * backend services by making a list() request.
951 * 955 *
952 * Request parameters: 956 * Request parameters:
953 * 957 *
954 * [project] - Project ID for this request. 958 * [project] - Project ID for this request.
955 * Value must have pattern 959 * Value must have pattern
956 * "(?:(?:[-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])?))". 960 * "(?:(?:[-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])?))".
957 * 961 *
958 * [backendService] - Name of the BackendService resource to return. 962 * [backendService] - Name of the BackendService resource to return.
959 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 963 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
960 * 964 *
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 * field_name comparison_string literal_string. 1114 * field_name comparison_string literal_string.
1111 * 1115 *
1112 * The field_name is the name of the field you want to compare. Only atomic 1116 * The field_name is the name of the field you want to compare. Only atomic
1113 * field types are supported (string, number, boolean). The comparison_string 1117 * field types are supported (string, number, boolean). The comparison_string
1114 * must be either eq (equals) or ne (not equals). The literal_string is the 1118 * must be either eq (equals) or ne (not equals). The literal_string is the
1115 * string value to filter to. The literal value must be valid for the type of 1119 * string value to filter to. The literal value must be valid for the type of
1116 * field you are filtering by (string, number, boolean). For string fields, 1120 * field you are filtering by (string, number, boolean). For string fields,
1117 * the literal value is interpreted as a regular expression using RE2 syntax. 1121 * the literal value is interpreted as a regular expression using RE2 syntax.
1118 * The literal value must match the entire field. 1122 * The literal value must match the entire field.
1119 * 1123 *
1120 * For example, filter=name ne example-instance. 1124 * For example, to filter for instances that do not have a name of
1125 * example-instance, you would use filter=name ne example-instance.
1121 * 1126 *
1122 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 1127 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
1123 * also filter on nested fields. For example, you could filter on instances 1128 * also filter on nested fields. For example, you could filter on instances
1124 * that have set the scheduling.automaticRestart field to true. In particular, 1129 * that have set the scheduling.automaticRestart field to true. In particular,
1125 * use filtering on nested fields to take advantage of instance labels to 1130 * use filtering on nested fields to take advantage of instance labels to
1126 * organize and filter results based on label values. 1131 * organize and filter results based on label values.
1127 * 1132 *
1128 * The Beta API also supports filtering on multiple expressions by providing 1133 * The Beta API also supports filtering on multiple expressions by providing
1129 * each separate expression within parentheses. For example, 1134 * each separate expression within parentheses. For example,
1130 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 1135 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
1131 * expressions are treated as AND expressions meaning that resources must 1136 * expressions are treated as AND expressions, meaning that resources must
1132 * match all expressions to pass the filters. 1137 * match all expressions to pass the filters.
1133 * 1138 *
1134 * [maxResults] - The maximum number of results per page that Compute Engine 1139 * [maxResults] - The maximum number of results per page that should be
1135 * should return. If the number of available results is larger than 1140 * returned. If the number of available results is larger than maxResults,
1136 * maxResults, Compute Engine returns a nextPageToken that can be used to get 1141 * Compute Engine returns a nextPageToken that can be used to get the next
1137 * the next page of results in subsequent list requests. 1142 * page of results in subsequent list requests.
1138 * Value must be between "0" and "500". 1143 * Value must be between "0" and "500".
1139 * 1144 *
1140 * [pageToken] - Specifies a page token to use. Set pageToken to the 1145 * [pageToken] - Specifies a page token to use. Set pageToken to the
1141 * nextPageToken returned by a previous list request to get the next page of 1146 * nextPageToken returned by a previous list request to get the next page of
1142 * results. 1147 * results.
1143 * 1148 *
1144 * Completes with a [BackendServiceList]. 1149 * Completes with a [BackendServiceList].
1145 * 1150 *
1146 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1151 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1147 * error. 1152 * error.
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 } 1299 }
1295 1300
1296 1301
1297 class DiskTypesResourceApi { 1302 class DiskTypesResourceApi {
1298 final commons.ApiRequester _requester; 1303 final commons.ApiRequester _requester;
1299 1304
1300 DiskTypesResourceApi(commons.ApiRequester client) : 1305 DiskTypesResourceApi(commons.ApiRequester client) :
1301 _requester = client; 1306 _requester = client;
1302 1307
1303 /** 1308 /**
1304 * Retrieves an aggregated list of disk type resources. 1309 * Retrieves an aggregated list of disk types.
1305 * 1310 *
1306 * Request parameters: 1311 * Request parameters:
1307 * 1312 *
1308 * [project] - Project ID for this request. 1313 * [project] - Project ID for this request.
1309 * Value must have pattern 1314 * Value must have pattern
1310 * "(?:(?:[-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])?))". 1315 * "(?:(?:[-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])?))".
1311 * 1316 *
1312 * [filter] - Sets a filter expression for filtering listed resources, in the 1317 * [filter] - Sets a filter expression for filtering listed resources, in the
1313 * form filter={expression}. Your {expression} must be in the format: 1318 * form filter={expression}. Your {expression} must be in the format:
1314 * field_name comparison_string literal_string. 1319 * field_name comparison_string literal_string.
1315 * 1320 *
1316 * The field_name is the name of the field you want to compare. Only atomic 1321 * The field_name is the name of the field you want to compare. Only atomic
1317 * field types are supported (string, number, boolean). The comparison_string 1322 * field types are supported (string, number, boolean). The comparison_string
1318 * must be either eq (equals) or ne (not equals). The literal_string is the 1323 * must be either eq (equals) or ne (not equals). The literal_string is the
1319 * string value to filter to. The literal value must be valid for the type of 1324 * string value to filter to. The literal value must be valid for the type of
1320 * field you are filtering by (string, number, boolean). For string fields, 1325 * field you are filtering by (string, number, boolean). For string fields,
1321 * the literal value is interpreted as a regular expression using RE2 syntax. 1326 * the literal value is interpreted as a regular expression using RE2 syntax.
1322 * The literal value must match the entire field. 1327 * The literal value must match the entire field.
1323 * 1328 *
1324 * For example, filter=name ne example-instance. 1329 * For example, to filter for instances that do not have a name of
1330 * example-instance, you would use filter=name ne example-instance.
1325 * 1331 *
1326 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 1332 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
1327 * also filter on nested fields. For example, you could filter on instances 1333 * also filter on nested fields. For example, you could filter on instances
1328 * that have set the scheduling.automaticRestart field to true. In particular, 1334 * that have set the scheduling.automaticRestart field to true. In particular,
1329 * use filtering on nested fields to take advantage of instance labels to 1335 * use filtering on nested fields to take advantage of instance labels to
1330 * organize and filter results based on label values. 1336 * organize and filter results based on label values.
1331 * 1337 *
1332 * The Beta API also supports filtering on multiple expressions by providing 1338 * The Beta API also supports filtering on multiple expressions by providing
1333 * each separate expression within parentheses. For example, 1339 * each separate expression within parentheses. For example,
1334 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 1340 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
1335 * expressions are treated as AND expressions meaning that resources must 1341 * expressions are treated as AND expressions, meaning that resources must
1336 * match all expressions to pass the filters. 1342 * match all expressions to pass the filters.
1337 * 1343 *
1338 * [maxResults] - The maximum number of results per page that Compute Engine 1344 * [maxResults] - The maximum number of results per page that should be
1339 * should return. If the number of available results is larger than 1345 * returned. If the number of available results is larger than maxResults,
1340 * maxResults, Compute Engine returns a nextPageToken that can be used to get 1346 * Compute Engine returns a nextPageToken that can be used to get the next
1341 * the next page of results in subsequent list requests. 1347 * page of results in subsequent list requests.
1342 * Value must be between "0" and "500". 1348 * Value must be between "0" and "500".
1343 * 1349 *
1344 * [pageToken] - Specifies a page token to use. Set pageToken to the 1350 * [pageToken] - Specifies a page token to use. Set pageToken to the
1345 * nextPageToken returned by a previous list request to get the next page of 1351 * nextPageToken returned by a previous list request to get the next page of
1346 * results. 1352 * results.
1347 * 1353 *
1348 * Completes with a [DiskTypeAggregatedList]. 1354 * Completes with a [DiskTypeAggregatedList].
1349 * 1355 *
1350 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1356 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1351 * error. 1357 * error.
(...skipping 28 matching lines...) Expand all
1380 "GET", 1386 "GET",
1381 body: _body, 1387 body: _body,
1382 queryParams: _queryParams, 1388 queryParams: _queryParams,
1383 uploadOptions: _uploadOptions, 1389 uploadOptions: _uploadOptions,
1384 uploadMedia: _uploadMedia, 1390 uploadMedia: _uploadMedia,
1385 downloadOptions: _downloadOptions); 1391 downloadOptions: _downloadOptions);
1386 return _response.then((data) => new DiskTypeAggregatedList.fromJson(data)); 1392 return _response.then((data) => new DiskTypeAggregatedList.fromJson(data));
1387 } 1393 }
1388 1394
1389 /** 1395 /**
1390 * Returns the specified disk type resource. 1396 * Returns the specified disk type. Get a list of available disk types by
1397 * making a list() request.
1391 * 1398 *
1392 * Request parameters: 1399 * Request parameters:
1393 * 1400 *
1394 * [project] - Project ID for this request. 1401 * [project] - Project ID for this request.
1395 * Value must have pattern 1402 * Value must have pattern
1396 * "(?:(?:[-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])?))". 1403 * "(?:(?:[-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])?))".
1397 * 1404 *
1398 * [zone] - The name of the zone for this request. 1405 * [zone] - The name of the zone for this request.
1399 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 1406 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
1400 * 1407 *
1401 * [diskType] - Name of the disk type resource to return. 1408 * [diskType] - Name of the disk type to return.
1402 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 1409 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
1403 * 1410 *
1404 * Completes with a [DiskType]. 1411 * Completes with a [DiskType].
1405 * 1412 *
1406 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1413 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1407 * error. 1414 * error.
1408 * 1415 *
1409 * If the used [http.Client] completes with an error when making a REST call, 1416 * If the used [http.Client] completes with an error when making a REST call,
1410 * this method will complete with the same error. 1417 * this method will complete with the same error.
1411 */ 1418 */
(...skipping 21 matching lines...) Expand all
1433 "GET", 1440 "GET",
1434 body: _body, 1441 body: _body,
1435 queryParams: _queryParams, 1442 queryParams: _queryParams,
1436 uploadOptions: _uploadOptions, 1443 uploadOptions: _uploadOptions,
1437 uploadMedia: _uploadMedia, 1444 uploadMedia: _uploadMedia,
1438 downloadOptions: _downloadOptions); 1445 downloadOptions: _downloadOptions);
1439 return _response.then((data) => new DiskType.fromJson(data)); 1446 return _response.then((data) => new DiskType.fromJson(data));
1440 } 1447 }
1441 1448
1442 /** 1449 /**
1443 * Retrieves a list of disk type resources available to the specified project. 1450 * Retrieves a list of disk types available to the specified project.
1444 * 1451 *
1445 * Request parameters: 1452 * Request parameters:
1446 * 1453 *
1447 * [project] - Project ID for this request. 1454 * [project] - Project ID for this request.
1448 * Value must have pattern 1455 * Value must have pattern
1449 * "(?:(?:[-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])?))". 1456 * "(?:(?:[-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])?))".
1450 * 1457 *
1451 * [zone] - The name of the zone for this request. 1458 * [zone] - The name of the zone for this request.
1452 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 1459 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
1453 * 1460 *
1454 * [filter] - Sets a filter expression for filtering listed resources, in the 1461 * [filter] - Sets a filter expression for filtering listed resources, in the
1455 * form filter={expression}. Your {expression} must be in the format: 1462 * form filter={expression}. Your {expression} must be in the format:
1456 * field_name comparison_string literal_string. 1463 * field_name comparison_string literal_string.
1457 * 1464 *
1458 * The field_name is the name of the field you want to compare. Only atomic 1465 * The field_name is the name of the field you want to compare. Only atomic
1459 * field types are supported (string, number, boolean). The comparison_string 1466 * field types are supported (string, number, boolean). The comparison_string
1460 * must be either eq (equals) or ne (not equals). The literal_string is the 1467 * must be either eq (equals) or ne (not equals). The literal_string is the
1461 * string value to filter to. The literal value must be valid for the type of 1468 * string value to filter to. The literal value must be valid for the type of
1462 * field you are filtering by (string, number, boolean). For string fields, 1469 * field you are filtering by (string, number, boolean). For string fields,
1463 * the literal value is interpreted as a regular expression using RE2 syntax. 1470 * the literal value is interpreted as a regular expression using RE2 syntax.
1464 * The literal value must match the entire field. 1471 * The literal value must match the entire field.
1465 * 1472 *
1466 * For example, filter=name ne example-instance. 1473 * For example, to filter for instances that do not have a name of
1474 * example-instance, you would use filter=name ne example-instance.
1467 * 1475 *
1468 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 1476 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
1469 * also filter on nested fields. For example, you could filter on instances 1477 * also filter on nested fields. For example, you could filter on instances
1470 * that have set the scheduling.automaticRestart field to true. In particular, 1478 * that have set the scheduling.automaticRestart field to true. In particular,
1471 * use filtering on nested fields to take advantage of instance labels to 1479 * use filtering on nested fields to take advantage of instance labels to
1472 * organize and filter results based on label values. 1480 * organize and filter results based on label values.
1473 * 1481 *
1474 * The Beta API also supports filtering on multiple expressions by providing 1482 * The Beta API also supports filtering on multiple expressions by providing
1475 * each separate expression within parentheses. For example, 1483 * each separate expression within parentheses. For example,
1476 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 1484 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
1477 * expressions are treated as AND expressions meaning that resources must 1485 * expressions are treated as AND expressions, meaning that resources must
1478 * match all expressions to pass the filters. 1486 * match all expressions to pass the filters.
1479 * 1487 *
1480 * [maxResults] - The maximum number of results per page that Compute Engine 1488 * [maxResults] - The maximum number of results per page that should be
1481 * should return. If the number of available results is larger than 1489 * returned. If the number of available results is larger than maxResults,
1482 * maxResults, Compute Engine returns a nextPageToken that can be used to get 1490 * Compute Engine returns a nextPageToken that can be used to get the next
1483 * the next page of results in subsequent list requests. 1491 * page of results in subsequent list requests.
1484 * Value must be between "0" and "500". 1492 * Value must be between "0" and "500".
1485 * 1493 *
1486 * [pageToken] - Specifies a page token to use. Set pageToken to the 1494 * [pageToken] - Specifies a page token to use. Set pageToken to the
1487 * nextPageToken returned by a previous list request to get the next page of 1495 * nextPageToken returned by a previous list request to get the next page of
1488 * results. 1496 * results.
1489 * 1497 *
1490 * Completes with a [DiskTypeList]. 1498 * Completes with a [DiskTypeList].
1491 * 1499 *
1492 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1500 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1493 * error. 1501 * error.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 * field_name comparison_string literal_string. 1562 * field_name comparison_string literal_string.
1555 * 1563 *
1556 * The field_name is the name of the field you want to compare. Only atomic 1564 * The field_name is the name of the field you want to compare. Only atomic
1557 * field types are supported (string, number, boolean). The comparison_string 1565 * field types are supported (string, number, boolean). The comparison_string
1558 * must be either eq (equals) or ne (not equals). The literal_string is the 1566 * must be either eq (equals) or ne (not equals). The literal_string is the
1559 * string value to filter to. The literal value must be valid for the type of 1567 * string value to filter to. The literal value must be valid for the type of
1560 * field you are filtering by (string, number, boolean). For string fields, 1568 * field you are filtering by (string, number, boolean). For string fields,
1561 * the literal value is interpreted as a regular expression using RE2 syntax. 1569 * the literal value is interpreted as a regular expression using RE2 syntax.
1562 * The literal value must match the entire field. 1570 * The literal value must match the entire field.
1563 * 1571 *
1564 * For example, filter=name ne example-instance. 1572 * For example, to filter for instances that do not have a name of
1573 * example-instance, you would use filter=name ne example-instance.
1565 * 1574 *
1566 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 1575 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
1567 * also filter on nested fields. For example, you could filter on instances 1576 * also filter on nested fields. For example, you could filter on instances
1568 * that have set the scheduling.automaticRestart field to true. In particular, 1577 * that have set the scheduling.automaticRestart field to true. In particular,
1569 * use filtering on nested fields to take advantage of instance labels to 1578 * use filtering on nested fields to take advantage of instance labels to
1570 * organize and filter results based on label values. 1579 * organize and filter results based on label values.
1571 * 1580 *
1572 * The Beta API also supports filtering on multiple expressions by providing 1581 * The Beta API also supports filtering on multiple expressions by providing
1573 * each separate expression within parentheses. For example, 1582 * each separate expression within parentheses. For example,
1574 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 1583 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
1575 * expressions are treated as AND expressions meaning that resources must 1584 * expressions are treated as AND expressions, meaning that resources must
1576 * match all expressions to pass the filters. 1585 * match all expressions to pass the filters.
1577 * 1586 *
1578 * [maxResults] - The maximum number of results per page that Compute Engine 1587 * [maxResults] - The maximum number of results per page that should be
1579 * should return. If the number of available results is larger than 1588 * returned. If the number of available results is larger than maxResults,
1580 * maxResults, Compute Engine returns a nextPageToken that can be used to get 1589 * Compute Engine returns a nextPageToken that can be used to get the next
1581 * the next page of results in subsequent list requests. 1590 * page of results in subsequent list requests.
1582 * Value must be between "0" and "500". 1591 * Value must be between "0" and "500".
1583 * 1592 *
1584 * [pageToken] - Specifies a page token to use. Set pageToken to the 1593 * [pageToken] - Specifies a page token to use. Set pageToken to the
1585 * nextPageToken returned by a previous list request to get the next page of 1594 * nextPageToken returned by a previous list request to get the next page of
1586 * results. 1595 * results.
1587 * 1596 *
1588 * Completes with a [DiskAggregatedList]. 1597 * Completes with a [DiskAggregatedList].
1589 * 1598 *
1590 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1599 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1591 * error. 1600 * error.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 "DELETE", 1743 "DELETE",
1735 body: _body, 1744 body: _body,
1736 queryParams: _queryParams, 1745 queryParams: _queryParams,
1737 uploadOptions: _uploadOptions, 1746 uploadOptions: _uploadOptions,
1738 uploadMedia: _uploadMedia, 1747 uploadMedia: _uploadMedia,
1739 downloadOptions: _downloadOptions); 1748 downloadOptions: _downloadOptions);
1740 return _response.then((data) => new Operation.fromJson(data)); 1749 return _response.then((data) => new Operation.fromJson(data));
1741 } 1750 }
1742 1751
1743 /** 1752 /**
1744 * Returns a specified persistent disk. 1753 * Returns a specified persistent disk. Get a list of available persistent
1754 * disks by making a list() request.
1745 * 1755 *
1746 * Request parameters: 1756 * Request parameters:
1747 * 1757 *
1748 * [project] - Project ID for this request. 1758 * [project] - Project ID for this request.
1749 * Value must have pattern 1759 * Value must have pattern
1750 * "(?:(?:[-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])?))". 1760 * "(?:(?:[-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])?))".
1751 * 1761 *
1752 * [zone] - The name of the zone for this request. 1762 * [zone] - The name of the zone for this request.
1753 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 1763 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
1754 * 1764 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 "GET", 1797 "GET",
1788 body: _body, 1798 body: _body,
1789 queryParams: _queryParams, 1799 queryParams: _queryParams,
1790 uploadOptions: _uploadOptions, 1800 uploadOptions: _uploadOptions,
1791 uploadMedia: _uploadMedia, 1801 uploadMedia: _uploadMedia,
1792 downloadOptions: _downloadOptions); 1802 downloadOptions: _downloadOptions);
1793 return _response.then((data) => new Disk.fromJson(data)); 1803 return _response.then((data) => new Disk.fromJson(data));
1794 } 1804 }
1795 1805
1796 /** 1806 /**
1797 * Creates a persistent disk in the specified project using the data included 1807 * Creates a persistent disk in the specified project using the data in the
1798 * in the request. 1808 * request. You can create a disk with a sourceImage, a sourceSnapshot, or
1809 * create an empty 200 GB data disk by omitting all properties. You can also
1810 * create a disk that is larger than the default size by specifying the sizeGb
1811 * property.
1799 * 1812 *
1800 * [request] - The metadata request object. 1813 * [request] - The metadata request object.
1801 * 1814 *
1802 * Request parameters: 1815 * Request parameters:
1803 * 1816 *
1804 * [project] - Project ID for this request. 1817 * [project] - Project ID for this request.
1805 * Value must have pattern 1818 * Value must have pattern
1806 * "(?:(?:[-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])?))". 1819 * "(?:(?:[-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])?))".
1807 * 1820 *
1808 * [zone] - The name of the zone for this request. 1821 * [zone] - The name of the zone for this request.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 * field_name comparison_string literal_string. 1881 * field_name comparison_string literal_string.
1869 * 1882 *
1870 * The field_name is the name of the field you want to compare. Only atomic 1883 * The field_name is the name of the field you want to compare. Only atomic
1871 * field types are supported (string, number, boolean). The comparison_string 1884 * field types are supported (string, number, boolean). The comparison_string
1872 * must be either eq (equals) or ne (not equals). The literal_string is the 1885 * must be either eq (equals) or ne (not equals). The literal_string is the
1873 * string value to filter to. The literal value must be valid for the type of 1886 * string value to filter to. The literal value must be valid for the type of
1874 * field you are filtering by (string, number, boolean). For string fields, 1887 * field you are filtering by (string, number, boolean). For string fields,
1875 * the literal value is interpreted as a regular expression using RE2 syntax. 1888 * the literal value is interpreted as a regular expression using RE2 syntax.
1876 * The literal value must match the entire field. 1889 * The literal value must match the entire field.
1877 * 1890 *
1878 * For example, filter=name ne example-instance. 1891 * For example, to filter for instances that do not have a name of
1892 * example-instance, you would use filter=name ne example-instance.
1879 * 1893 *
1880 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 1894 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
1881 * also filter on nested fields. For example, you could filter on instances 1895 * also filter on nested fields. For example, you could filter on instances
1882 * that have set the scheduling.automaticRestart field to true. In particular, 1896 * that have set the scheduling.automaticRestart field to true. In particular,
1883 * use filtering on nested fields to take advantage of instance labels to 1897 * use filtering on nested fields to take advantage of instance labels to
1884 * organize and filter results based on label values. 1898 * organize and filter results based on label values.
1885 * 1899 *
1886 * The Beta API also supports filtering on multiple expressions by providing 1900 * The Beta API also supports filtering on multiple expressions by providing
1887 * each separate expression within parentheses. For example, 1901 * each separate expression within parentheses. For example,
1888 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 1902 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
1889 * expressions are treated as AND expressions meaning that resources must 1903 * expressions are treated as AND expressions, meaning that resources must
1890 * match all expressions to pass the filters. 1904 * match all expressions to pass the filters.
1891 * 1905 *
1892 * [maxResults] - The maximum number of results per page that Compute Engine 1906 * [maxResults] - The maximum number of results per page that should be
1893 * should return. If the number of available results is larger than 1907 * returned. If the number of available results is larger than maxResults,
1894 * maxResults, Compute Engine returns a nextPageToken that can be used to get 1908 * Compute Engine returns a nextPageToken that can be used to get the next
1895 * the next page of results in subsequent list requests. 1909 * page of results in subsequent list requests.
1896 * Value must be between "0" and "500". 1910 * Value must be between "0" and "500".
1897 * 1911 *
1898 * [pageToken] - Specifies a page token to use. Set pageToken to the 1912 * [pageToken] - Specifies a page token to use. Set pageToken to the
1899 * nextPageToken returned by a previous list request to get the next page of 1913 * nextPageToken returned by a previous list request to get the next page of
1900 * results. 1914 * results.
1901 * 1915 *
1902 * Completes with a [DiskList]. 1916 * Completes with a [DiskList].
1903 * 1917 *
1904 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1918 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1905 * error. 1919 * error.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1946 } 1960 }
1947 1961
1948 1962
1949 class FirewallsResourceApi { 1963 class FirewallsResourceApi {
1950 final commons.ApiRequester _requester; 1964 final commons.ApiRequester _requester;
1951 1965
1952 FirewallsResourceApi(commons.ApiRequester client) : 1966 FirewallsResourceApi(commons.ApiRequester client) :
1953 _requester = client; 1967 _requester = client;
1954 1968
1955 /** 1969 /**
1956 * Deletes the specified firewall resource. 1970 * Deletes the specified firewall.
1957 * 1971 *
1958 * Request parameters: 1972 * Request parameters:
1959 * 1973 *
1960 * [project] - Project ID for this request. 1974 * [project] - Project ID for this request.
1961 * Value must have pattern 1975 * Value must have pattern
1962 * "(?:(?:[-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])?))". 1976 * "(?:(?:[-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])?))".
1963 * 1977 *
1964 * [firewall] - Name of the firewall resource to delete. 1978 * [firewall] - Name of the firewall rule to delete.
1965 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 1979 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
1966 * 1980 *
1967 * Completes with a [Operation]. 1981 * Completes with a [Operation].
1968 * 1982 *
1969 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1983 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1970 * error. 1984 * error.
1971 * 1985 *
1972 * If the used [http.Client] completes with an error when making a REST call, 1986 * If the used [http.Client] completes with an error when making a REST call,
1973 * this method will complete with the same error. 1987 * this method will complete with the same error.
1974 */ 1988 */
(...skipping 18 matching lines...) Expand all
1993 "DELETE", 2007 "DELETE",
1994 body: _body, 2008 body: _body,
1995 queryParams: _queryParams, 2009 queryParams: _queryParams,
1996 uploadOptions: _uploadOptions, 2010 uploadOptions: _uploadOptions,
1997 uploadMedia: _uploadMedia, 2011 uploadMedia: _uploadMedia,
1998 downloadOptions: _downloadOptions); 2012 downloadOptions: _downloadOptions);
1999 return _response.then((data) => new Operation.fromJson(data)); 2013 return _response.then((data) => new Operation.fromJson(data));
2000 } 2014 }
2001 2015
2002 /** 2016 /**
2003 * Returns the specified firewall resource. 2017 * Returns the specified firewall.
2004 * 2018 *
2005 * Request parameters: 2019 * Request parameters:
2006 * 2020 *
2007 * [project] - Project ID for this request. 2021 * [project] - Project ID for this request.
2008 * Value must have pattern 2022 * Value must have pattern
2009 * "(?:(?:[-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])?))". 2023 * "(?:(?:[-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])?))".
2010 * 2024 *
2011 * [firewall] - Name of the firewall resource to return. 2025 * [firewall] - Name of the firewall rule to return.
2012 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 2026 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
2013 * 2027 *
2014 * Completes with a [Firewall]. 2028 * Completes with a [Firewall].
2015 * 2029 *
2016 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2030 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2017 * error. 2031 * error.
2018 * 2032 *
2019 * If the used [http.Client] completes with an error when making a REST call, 2033 * If the used [http.Client] completes with an error when making a REST call,
2020 * this method will complete with the same error. 2034 * this method will complete with the same error.
2021 */ 2035 */
(...skipping 18 matching lines...) Expand all
2040 "GET", 2054 "GET",
2041 body: _body, 2055 body: _body,
2042 queryParams: _queryParams, 2056 queryParams: _queryParams,
2043 uploadOptions: _uploadOptions, 2057 uploadOptions: _uploadOptions,
2044 uploadMedia: _uploadMedia, 2058 uploadMedia: _uploadMedia,
2045 downloadOptions: _downloadOptions); 2059 downloadOptions: _downloadOptions);
2046 return _response.then((data) => new Firewall.fromJson(data)); 2060 return _response.then((data) => new Firewall.fromJson(data));
2047 } 2061 }
2048 2062
2049 /** 2063 /**
2050 * Creates a firewall resource in the specified project using the data 2064 * Creates a firewall rule in the specified project using the data included in
2051 * included in the request. 2065 * the request.
2052 * 2066 *
2053 * [request] - The metadata request object. 2067 * [request] - The metadata request object.
2054 * 2068 *
2055 * Request parameters: 2069 * Request parameters:
2056 * 2070 *
2057 * [project] - Project ID for this request. 2071 * [project] - Project ID for this request.
2058 * Value must have pattern 2072 * Value must have pattern
2059 * "(?:(?:[-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])?))". 2073 * "(?:(?:[-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])?))".
2060 * 2074 *
2061 * Completes with a [Operation]. 2075 * Completes with a [Operation].
(...skipping 25 matching lines...) Expand all
2087 "POST", 2101 "POST",
2088 body: _body, 2102 body: _body,
2089 queryParams: _queryParams, 2103 queryParams: _queryParams,
2090 uploadOptions: _uploadOptions, 2104 uploadOptions: _uploadOptions,
2091 uploadMedia: _uploadMedia, 2105 uploadMedia: _uploadMedia,
2092 downloadOptions: _downloadOptions); 2106 downloadOptions: _downloadOptions);
2093 return _response.then((data) => new Operation.fromJson(data)); 2107 return _response.then((data) => new Operation.fromJson(data));
2094 } 2108 }
2095 2109
2096 /** 2110 /**
2097 * Retrieves the list of firewall resources available to the specified 2111 * Retrieves the list of firewall rules available to the specified project.
2098 * project.
2099 * 2112 *
2100 * Request parameters: 2113 * Request parameters:
2101 * 2114 *
2102 * [project] - Project ID for this request. 2115 * [project] - Project ID for this request.
2103 * Value must have pattern 2116 * Value must have pattern
2104 * "(?:(?:[-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])?))". 2117 * "(?:(?:[-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])?))".
2105 * 2118 *
2106 * [filter] - Sets a filter expression for filtering listed resources, in the 2119 * [filter] - Sets a filter expression for filtering listed resources, in the
2107 * form filter={expression}. Your {expression} must be in the format: 2120 * form filter={expression}. Your {expression} must be in the format:
2108 * field_name comparison_string literal_string. 2121 * field_name comparison_string literal_string.
2109 * 2122 *
2110 * The field_name is the name of the field you want to compare. Only atomic 2123 * The field_name is the name of the field you want to compare. Only atomic
2111 * field types are supported (string, number, boolean). The comparison_string 2124 * field types are supported (string, number, boolean). The comparison_string
2112 * must be either eq (equals) or ne (not equals). The literal_string is the 2125 * must be either eq (equals) or ne (not equals). The literal_string is the
2113 * string value to filter to. The literal value must be valid for the type of 2126 * string value to filter to. The literal value must be valid for the type of
2114 * field you are filtering by (string, number, boolean). For string fields, 2127 * field you are filtering by (string, number, boolean). For string fields,
2115 * the literal value is interpreted as a regular expression using RE2 syntax. 2128 * the literal value is interpreted as a regular expression using RE2 syntax.
2116 * The literal value must match the entire field. 2129 * The literal value must match the entire field.
2117 * 2130 *
2118 * For example, filter=name ne example-instance. 2131 * For example, to filter for instances that do not have a name of
2132 * example-instance, you would use filter=name ne example-instance.
2119 * 2133 *
2120 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 2134 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
2121 * also filter on nested fields. For example, you could filter on instances 2135 * also filter on nested fields. For example, you could filter on instances
2122 * that have set the scheduling.automaticRestart field to true. In particular, 2136 * that have set the scheduling.automaticRestart field to true. In particular,
2123 * use filtering on nested fields to take advantage of instance labels to 2137 * use filtering on nested fields to take advantage of instance labels to
2124 * organize and filter results based on label values. 2138 * organize and filter results based on label values.
2125 * 2139 *
2126 * The Beta API also supports filtering on multiple expressions by providing 2140 * The Beta API also supports filtering on multiple expressions by providing
2127 * each separate expression within parentheses. For example, 2141 * each separate expression within parentheses. For example,
2128 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 2142 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
2129 * expressions are treated as AND expressions meaning that resources must 2143 * expressions are treated as AND expressions, meaning that resources must
2130 * match all expressions to pass the filters. 2144 * match all expressions to pass the filters.
2131 * 2145 *
2132 * [maxResults] - The maximum number of results per page that Compute Engine 2146 * [maxResults] - The maximum number of results per page that should be
2133 * should return. If the number of available results is larger than 2147 * returned. If the number of available results is larger than maxResults,
2134 * maxResults, Compute Engine returns a nextPageToken that can be used to get 2148 * Compute Engine returns a nextPageToken that can be used to get the next
2135 * the next page of results in subsequent list requests. 2149 * page of results in subsequent list requests.
2136 * Value must be between "0" and "500". 2150 * Value must be between "0" and "500".
2137 * 2151 *
2138 * [pageToken] - Specifies a page token to use. Set pageToken to the 2152 * [pageToken] - Specifies a page token to use. Set pageToken to the
2139 * nextPageToken returned by a previous list request to get the next page of 2153 * nextPageToken returned by a previous list request to get the next page of
2140 * results. 2154 * results.
2141 * 2155 *
2142 * Completes with a [FirewallList]. 2156 * Completes with a [FirewallList].
2143 * 2157 *
2144 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2158 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2145 * error. 2159 * error.
(...skipping 28 matching lines...) Expand all
2174 "GET", 2188 "GET",
2175 body: _body, 2189 body: _body,
2176 queryParams: _queryParams, 2190 queryParams: _queryParams,
2177 uploadOptions: _uploadOptions, 2191 uploadOptions: _uploadOptions,
2178 uploadMedia: _uploadMedia, 2192 uploadMedia: _uploadMedia,
2179 downloadOptions: _downloadOptions); 2193 downloadOptions: _downloadOptions);
2180 return _response.then((data) => new FirewallList.fromJson(data)); 2194 return _response.then((data) => new FirewallList.fromJson(data));
2181 } 2195 }
2182 2196
2183 /** 2197 /**
2184 * Updates the specified firewall resource with the data included in the 2198 * Updates the specified firewall rule with the data included in the request.
2185 * request. This method supports patch semantics. 2199 * This method supports patch semantics.
2186 * 2200 *
2187 * [request] - The metadata request object. 2201 * [request] - The metadata request object.
2188 * 2202 *
2189 * Request parameters: 2203 * Request parameters:
2190 * 2204 *
2191 * [project] - Project ID for this request. 2205 * [project] - Project ID for this request.
2192 * Value must have pattern 2206 * Value must have pattern
2193 * "(?:(?:[-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])?))". 2207 * "(?:(?:[-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])?))".
2194 * 2208 *
2195 * [firewall] - Name of the firewall resource to update. 2209 * [firewall] - Name of the firewall rule to update.
2196 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 2210 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
2197 * 2211 *
2198 * Completes with a [Operation]. 2212 * Completes with a [Operation].
2199 * 2213 *
2200 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2214 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2201 * error. 2215 * error.
2202 * 2216 *
2203 * If the used [http.Client] completes with an error when making a REST call, 2217 * If the used [http.Client] completes with an error when making a REST call,
2204 * this method will complete with the same error. 2218 * this method will complete with the same error.
2205 */ 2219 */
(...skipping 21 matching lines...) Expand all
2227 "PATCH", 2241 "PATCH",
2228 body: _body, 2242 body: _body,
2229 queryParams: _queryParams, 2243 queryParams: _queryParams,
2230 uploadOptions: _uploadOptions, 2244 uploadOptions: _uploadOptions,
2231 uploadMedia: _uploadMedia, 2245 uploadMedia: _uploadMedia,
2232 downloadOptions: _downloadOptions); 2246 downloadOptions: _downloadOptions);
2233 return _response.then((data) => new Operation.fromJson(data)); 2247 return _response.then((data) => new Operation.fromJson(data));
2234 } 2248 }
2235 2249
2236 /** 2250 /**
2237 * Updates the specified firewall resource with the data included in the 2251 * Updates the specified firewall rule with the data included in the request.
2238 * request.
2239 * 2252 *
2240 * [request] - The metadata request object. 2253 * [request] - The metadata request object.
2241 * 2254 *
2242 * Request parameters: 2255 * Request parameters:
2243 * 2256 *
2244 * [project] - Project ID for this request. 2257 * [project] - Project ID for this request.
2245 * Value must have pattern 2258 * Value must have pattern
2246 * "(?:(?:[-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])?))". 2259 * "(?:(?:[-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])?))".
2247 * 2260 *
2248 * [firewall] - Name of the firewall resource to update. 2261 * [firewall] - Name of the firewall rule to update.
2249 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 2262 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
2250 * 2263 *
2251 * Completes with a [Operation]. 2264 * Completes with a [Operation].
2252 * 2265 *
2253 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2266 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2254 * error. 2267 * error.
2255 * 2268 *
2256 * If the used [http.Client] completes with an error when making a REST call, 2269 * If the used [http.Client] completes with an error when making a REST call,
2257 * this method will complete with the same error. 2270 * this method will complete with the same error.
2258 */ 2271 */
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2309 * field_name comparison_string literal_string. 2322 * field_name comparison_string literal_string.
2310 * 2323 *
2311 * The field_name is the name of the field you want to compare. Only atomic 2324 * The field_name is the name of the field you want to compare. Only atomic
2312 * field types are supported (string, number, boolean). The comparison_string 2325 * field types are supported (string, number, boolean). The comparison_string
2313 * must be either eq (equals) or ne (not equals). The literal_string is the 2326 * must be either eq (equals) or ne (not equals). The literal_string is the
2314 * string value to filter to. The literal value must be valid for the type of 2327 * string value to filter to. The literal value must be valid for the type of
2315 * field you are filtering by (string, number, boolean). For string fields, 2328 * field you are filtering by (string, number, boolean). For string fields,
2316 * the literal value is interpreted as a regular expression using RE2 syntax. 2329 * the literal value is interpreted as a regular expression using RE2 syntax.
2317 * The literal value must match the entire field. 2330 * The literal value must match the entire field.
2318 * 2331 *
2319 * For example, filter=name ne example-instance. 2332 * For example, to filter for instances that do not have a name of
2333 * example-instance, you would use filter=name ne example-instance.
2320 * 2334 *
2321 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 2335 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
2322 * also filter on nested fields. For example, you could filter on instances 2336 * also filter on nested fields. For example, you could filter on instances
2323 * that have set the scheduling.automaticRestart field to true. In particular, 2337 * that have set the scheduling.automaticRestart field to true. In particular,
2324 * use filtering on nested fields to take advantage of instance labels to 2338 * use filtering on nested fields to take advantage of instance labels to
2325 * organize and filter results based on label values. 2339 * organize and filter results based on label values.
2326 * 2340 *
2327 * The Beta API also supports filtering on multiple expressions by providing 2341 * The Beta API also supports filtering on multiple expressions by providing
2328 * each separate expression within parentheses. For example, 2342 * each separate expression within parentheses. For example,
2329 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 2343 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
2330 * expressions are treated as AND expressions meaning that resources must 2344 * expressions are treated as AND expressions, meaning that resources must
2331 * match all expressions to pass the filters. 2345 * match all expressions to pass the filters.
2332 * 2346 *
2333 * [maxResults] - The maximum number of results per page that Compute Engine 2347 * [maxResults] - The maximum number of results per page that should be
2334 * should return. If the number of available results is larger than 2348 * returned. If the number of available results is larger than maxResults,
2335 * maxResults, Compute Engine returns a nextPageToken that can be used to get 2349 * Compute Engine returns a nextPageToken that can be used to get the next
2336 * the next page of results in subsequent list requests. 2350 * page of results in subsequent list requests.
2337 * Value must be between "0" and "500". 2351 * Value must be between "0" and "500".
2338 * 2352 *
2339 * [pageToken] - Specifies a page token to use. Set pageToken to the 2353 * [pageToken] - Specifies a page token to use. Set pageToken to the
2340 * nextPageToken returned by a previous list request to get the next page of 2354 * nextPageToken returned by a previous list request to get the next page of
2341 * results. 2355 * results.
2342 * 2356 *
2343 * Completes with a [ForwardingRuleAggregatedList]. 2357 * Completes with a [ForwardingRuleAggregatedList].
2344 * 2358 *
2345 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2359 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2346 * error. 2360 * error.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2558 * field_name comparison_string literal_string. 2572 * field_name comparison_string literal_string.
2559 * 2573 *
2560 * The field_name is the name of the field you want to compare. Only atomic 2574 * The field_name is the name of the field you want to compare. Only atomic
2561 * field types are supported (string, number, boolean). The comparison_string 2575 * field types are supported (string, number, boolean). The comparison_string
2562 * must be either eq (equals) or ne (not equals). The literal_string is the 2576 * must be either eq (equals) or ne (not equals). The literal_string is the
2563 * string value to filter to. The literal value must be valid for the type of 2577 * string value to filter to. The literal value must be valid for the type of
2564 * field you are filtering by (string, number, boolean). For string fields, 2578 * field you are filtering by (string, number, boolean). For string fields,
2565 * the literal value is interpreted as a regular expression using RE2 syntax. 2579 * the literal value is interpreted as a regular expression using RE2 syntax.
2566 * The literal value must match the entire field. 2580 * The literal value must match the entire field.
2567 * 2581 *
2568 * For example, filter=name ne example-instance. 2582 * For example, to filter for instances that do not have a name of
2583 * example-instance, you would use filter=name ne example-instance.
2569 * 2584 *
2570 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 2585 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
2571 * also filter on nested fields. For example, you could filter on instances 2586 * also filter on nested fields. For example, you could filter on instances
2572 * that have set the scheduling.automaticRestart field to true. In particular, 2587 * that have set the scheduling.automaticRestart field to true. In particular,
2573 * use filtering on nested fields to take advantage of instance labels to 2588 * use filtering on nested fields to take advantage of instance labels to
2574 * organize and filter results based on label values. 2589 * organize and filter results based on label values.
2575 * 2590 *
2576 * The Beta API also supports filtering on multiple expressions by providing 2591 * The Beta API also supports filtering on multiple expressions by providing
2577 * each separate expression within parentheses. For example, 2592 * each separate expression within parentheses. For example,
2578 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 2593 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
2579 * expressions are treated as AND expressions meaning that resources must 2594 * expressions are treated as AND expressions, meaning that resources must
2580 * match all expressions to pass the filters. 2595 * match all expressions to pass the filters.
2581 * 2596 *
2582 * [maxResults] - The maximum number of results per page that Compute Engine 2597 * [maxResults] - The maximum number of results per page that should be
2583 * should return. If the number of available results is larger than 2598 * returned. If the number of available results is larger than maxResults,
2584 * maxResults, Compute Engine returns a nextPageToken that can be used to get 2599 * Compute Engine returns a nextPageToken that can be used to get the next
2585 * the next page of results in subsequent list requests. 2600 * page of results in subsequent list requests.
2586 * Value must be between "0" and "500". 2601 * Value must be between "0" and "500".
2587 * 2602 *
2588 * [pageToken] - Specifies a page token to use. Set pageToken to the 2603 * [pageToken] - Specifies a page token to use. Set pageToken to the
2589 * nextPageToken returned by a previous list request to get the next page of 2604 * nextPageToken returned by a previous list request to get the next page of
2590 * results. 2605 * results.
2591 * 2606 *
2592 * Completes with a [ForwardingRuleList]. 2607 * Completes with a [ForwardingRuleList].
2593 * 2608 *
2594 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2609 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2595 * error. 2610 * error.
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
2743 "DELETE", 2758 "DELETE",
2744 body: _body, 2759 body: _body,
2745 queryParams: _queryParams, 2760 queryParams: _queryParams,
2746 uploadOptions: _uploadOptions, 2761 uploadOptions: _uploadOptions,
2747 uploadMedia: _uploadMedia, 2762 uploadMedia: _uploadMedia,
2748 downloadOptions: _downloadOptions); 2763 downloadOptions: _downloadOptions);
2749 return _response.then((data) => new Operation.fromJson(data)); 2764 return _response.then((data) => new Operation.fromJson(data));
2750 } 2765 }
2751 2766
2752 /** 2767 /**
2753 * Returns the specified address resource. 2768 * Returns the specified address resource. Get a list of available addresses
2769 * by making a list() request.
2754 * 2770 *
2755 * Request parameters: 2771 * Request parameters:
2756 * 2772 *
2757 * [project] - Project ID for this request. 2773 * [project] - Project ID for this request.
2758 * Value must have pattern 2774 * Value must have pattern
2759 * "(?:(?:[-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])?))". 2775 * "(?:(?:[-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])?))".
2760 * 2776 *
2761 * [address] - Name of the address resource to return. 2777 * [address] - Name of the address resource to return.
2762 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 2778 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
2763 * 2779 *
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2837 "POST", 2853 "POST",
2838 body: _body, 2854 body: _body,
2839 queryParams: _queryParams, 2855 queryParams: _queryParams,
2840 uploadOptions: _uploadOptions, 2856 uploadOptions: _uploadOptions,
2841 uploadMedia: _uploadMedia, 2857 uploadMedia: _uploadMedia,
2842 downloadOptions: _downloadOptions); 2858 downloadOptions: _downloadOptions);
2843 return _response.then((data) => new Operation.fromJson(data)); 2859 return _response.then((data) => new Operation.fromJson(data));
2844 } 2860 }
2845 2861
2846 /** 2862 /**
2847 * Retrieves a list of global address resources. 2863 * Retrieves a list of global addresses.
2848 * 2864 *
2849 * Request parameters: 2865 * Request parameters:
2850 * 2866 *
2851 * [project] - Project ID for this request. 2867 * [project] - Project ID for this request.
2852 * Value must have pattern 2868 * Value must have pattern
2853 * "(?:(?:[-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])?))". 2869 * "(?:(?:[-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])?))".
2854 * 2870 *
2855 * [filter] - Sets a filter expression for filtering listed resources, in the 2871 * [filter] - Sets a filter expression for filtering listed resources, in the
2856 * form filter={expression}. Your {expression} must be in the format: 2872 * form filter={expression}. Your {expression} must be in the format:
2857 * field_name comparison_string literal_string. 2873 * field_name comparison_string literal_string.
2858 * 2874 *
2859 * The field_name is the name of the field you want to compare. Only atomic 2875 * The field_name is the name of the field you want to compare. Only atomic
2860 * field types are supported (string, number, boolean). The comparison_string 2876 * field types are supported (string, number, boolean). The comparison_string
2861 * must be either eq (equals) or ne (not equals). The literal_string is the 2877 * must be either eq (equals) or ne (not equals). The literal_string is the
2862 * string value to filter to. The literal value must be valid for the type of 2878 * string value to filter to. The literal value must be valid for the type of
2863 * field you are filtering by (string, number, boolean). For string fields, 2879 * field you are filtering by (string, number, boolean). For string fields,
2864 * the literal value is interpreted as a regular expression using RE2 syntax. 2880 * the literal value is interpreted as a regular expression using RE2 syntax.
2865 * The literal value must match the entire field. 2881 * The literal value must match the entire field.
2866 * 2882 *
2867 * For example, filter=name ne example-instance. 2883 * For example, to filter for instances that do not have a name of
2884 * example-instance, you would use filter=name ne example-instance.
2868 * 2885 *
2869 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 2886 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
2870 * also filter on nested fields. For example, you could filter on instances 2887 * also filter on nested fields. For example, you could filter on instances
2871 * that have set the scheduling.automaticRestart field to true. In particular, 2888 * that have set the scheduling.automaticRestart field to true. In particular,
2872 * use filtering on nested fields to take advantage of instance labels to 2889 * use filtering on nested fields to take advantage of instance labels to
2873 * organize and filter results based on label values. 2890 * organize and filter results based on label values.
2874 * 2891 *
2875 * The Beta API also supports filtering on multiple expressions by providing 2892 * The Beta API also supports filtering on multiple expressions by providing
2876 * each separate expression within parentheses. For example, 2893 * each separate expression within parentheses. For example,
2877 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 2894 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
2878 * expressions are treated as AND expressions meaning that resources must 2895 * expressions are treated as AND expressions, meaning that resources must
2879 * match all expressions to pass the filters. 2896 * match all expressions to pass the filters.
2880 * 2897 *
2881 * [maxResults] - The maximum number of results per page that Compute Engine 2898 * [maxResults] - The maximum number of results per page that should be
2882 * should return. If the number of available results is larger than 2899 * returned. If the number of available results is larger than maxResults,
2883 * maxResults, Compute Engine returns a nextPageToken that can be used to get 2900 * Compute Engine returns a nextPageToken that can be used to get the next
2884 * the next page of results in subsequent list requests. 2901 * page of results in subsequent list requests.
2885 * Value must be between "0" and "500". 2902 * Value must be between "0" and "500".
2886 * 2903 *
2887 * [pageToken] - Specifies a page token to use. Set pageToken to the 2904 * [pageToken] - Specifies a page token to use. Set pageToken to the
2888 * nextPageToken returned by a previous list request to get the next page of 2905 * nextPageToken returned by a previous list request to get the next page of
2889 * results. 2906 * results.
2890 * 2907 *
2891 * Completes with a [AddressList]. 2908 * Completes with a [AddressList].
2892 * 2909 *
2893 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2910 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2894 * error. 2911 * error.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
2979 "DELETE", 2996 "DELETE",
2980 body: _body, 2997 body: _body,
2981 queryParams: _queryParams, 2998 queryParams: _queryParams,
2982 uploadOptions: _uploadOptions, 2999 uploadOptions: _uploadOptions,
2983 uploadMedia: _uploadMedia, 3000 uploadMedia: _uploadMedia,
2984 downloadOptions: _downloadOptions); 3001 downloadOptions: _downloadOptions);
2985 return _response.then((data) => new Operation.fromJson(data)); 3002 return _response.then((data) => new Operation.fromJson(data));
2986 } 3003 }
2987 3004
2988 /** 3005 /**
2989 * Returns the specified ForwardingRule resource. 3006 * Returns the specified ForwardingRule resource. Get a list of available
3007 * forwarding rules by making a list() request.
2990 * 3008 *
2991 * Request parameters: 3009 * Request parameters:
2992 * 3010 *
2993 * [project] - Project ID for this request. 3011 * [project] - Project ID for this request.
2994 * Value must have pattern 3012 * Value must have pattern
2995 * "(?:(?:[-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])?))". 3013 * "(?:(?:[-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])?))".
2996 * 3014 *
2997 * [forwardingRule] - Name of the ForwardingRule resource to return. 3015 * [forwardingRule] - Name of the ForwardingRule resource to return.
2998 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 3016 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
2999 * 3017 *
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
3094 * field_name comparison_string literal_string. 3112 * field_name comparison_string literal_string.
3095 * 3113 *
3096 * The field_name is the name of the field you want to compare. Only atomic 3114 * The field_name is the name of the field you want to compare. Only atomic
3097 * field types are supported (string, number, boolean). The comparison_string 3115 * field types are supported (string, number, boolean). The comparison_string
3098 * must be either eq (equals) or ne (not equals). The literal_string is the 3116 * must be either eq (equals) or ne (not equals). The literal_string is the
3099 * string value to filter to. The literal value must be valid for the type of 3117 * string value to filter to. The literal value must be valid for the type of
3100 * field you are filtering by (string, number, boolean). For string fields, 3118 * field you are filtering by (string, number, boolean). For string fields,
3101 * the literal value is interpreted as a regular expression using RE2 syntax. 3119 * the literal value is interpreted as a regular expression using RE2 syntax.
3102 * The literal value must match the entire field. 3120 * The literal value must match the entire field.
3103 * 3121 *
3104 * For example, filter=name ne example-instance. 3122 * For example, to filter for instances that do not have a name of
3123 * example-instance, you would use filter=name ne example-instance.
3105 * 3124 *
3106 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 3125 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
3107 * also filter on nested fields. For example, you could filter on instances 3126 * also filter on nested fields. For example, you could filter on instances
3108 * that have set the scheduling.automaticRestart field to true. In particular, 3127 * that have set the scheduling.automaticRestart field to true. In particular,
3109 * use filtering on nested fields to take advantage of instance labels to 3128 * use filtering on nested fields to take advantage of instance labels to
3110 * organize and filter results based on label values. 3129 * organize and filter results based on label values.
3111 * 3130 *
3112 * The Beta API also supports filtering on multiple expressions by providing 3131 * The Beta API also supports filtering on multiple expressions by providing
3113 * each separate expression within parentheses. For example, 3132 * each separate expression within parentheses. For example,
3114 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 3133 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
3115 * expressions are treated as AND expressions meaning that resources must 3134 * expressions are treated as AND expressions, meaning that resources must
3116 * match all expressions to pass the filters. 3135 * match all expressions to pass the filters.
3117 * 3136 *
3118 * [maxResults] - The maximum number of results per page that Compute Engine 3137 * [maxResults] - The maximum number of results per page that should be
3119 * should return. If the number of available results is larger than 3138 * returned. If the number of available results is larger than maxResults,
3120 * maxResults, Compute Engine returns a nextPageToken that can be used to get 3139 * Compute Engine returns a nextPageToken that can be used to get the next
3121 * the next page of results in subsequent list requests. 3140 * page of results in subsequent list requests.
3122 * Value must be between "0" and "500". 3141 * Value must be between "0" and "500".
3123 * 3142 *
3124 * [pageToken] - Specifies a page token to use. Set pageToken to the 3143 * [pageToken] - Specifies a page token to use. Set pageToken to the
3125 * nextPageToken returned by a previous list request to get the next page of 3144 * nextPageToken returned by a previous list request to get the next page of
3126 * results. 3145 * results.
3127 * 3146 *
3128 * Completes with a [ForwardingRuleList]. 3147 * Completes with a [ForwardingRuleList].
3129 * 3148 *
3130 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 3149 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
3131 * error. 3150 * error.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
3243 * field_name comparison_string literal_string. 3262 * field_name comparison_string literal_string.
3244 * 3263 *
3245 * The field_name is the name of the field you want to compare. Only atomic 3264 * The field_name is the name of the field you want to compare. Only atomic
3246 * field types are supported (string, number, boolean). The comparison_string 3265 * field types are supported (string, number, boolean). The comparison_string
3247 * must be either eq (equals) or ne (not equals). The literal_string is the 3266 * must be either eq (equals) or ne (not equals). The literal_string is the
3248 * string value to filter to. The literal value must be valid for the type of 3267 * string value to filter to. The literal value must be valid for the type of
3249 * field you are filtering by (string, number, boolean). For string fields, 3268 * field you are filtering by (string, number, boolean). For string fields,
3250 * the literal value is interpreted as a regular expression using RE2 syntax. 3269 * the literal value is interpreted as a regular expression using RE2 syntax.
3251 * The literal value must match the entire field. 3270 * The literal value must match the entire field.
3252 * 3271 *
3253 * For example, filter=name ne example-instance. 3272 * For example, to filter for instances that do not have a name of
3273 * example-instance, you would use filter=name ne example-instance.
3254 * 3274 *
3255 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 3275 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
3256 * also filter on nested fields. For example, you could filter on instances 3276 * also filter on nested fields. For example, you could filter on instances
3257 * that have set the scheduling.automaticRestart field to true. In particular, 3277 * that have set the scheduling.automaticRestart field to true. In particular,
3258 * use filtering on nested fields to take advantage of instance labels to 3278 * use filtering on nested fields to take advantage of instance labels to
3259 * organize and filter results based on label values. 3279 * organize and filter results based on label values.
3260 * 3280 *
3261 * The Beta API also supports filtering on multiple expressions by providing 3281 * The Beta API also supports filtering on multiple expressions by providing
3262 * each separate expression within parentheses. For example, 3282 * each separate expression within parentheses. For example,
3263 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 3283 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
3264 * expressions are treated as AND expressions meaning that resources must 3284 * expressions are treated as AND expressions, meaning that resources must
3265 * match all expressions to pass the filters. 3285 * match all expressions to pass the filters.
3266 * 3286 *
3267 * [maxResults] - The maximum number of results per page that Compute Engine 3287 * [maxResults] - The maximum number of results per page that should be
3268 * should return. If the number of available results is larger than 3288 * returned. If the number of available results is larger than maxResults,
3269 * maxResults, Compute Engine returns a nextPageToken that can be used to get 3289 * Compute Engine returns a nextPageToken that can be used to get the next
3270 * the next page of results in subsequent list requests. 3290 * page of results in subsequent list requests.
3271 * Value must be between "0" and "500". 3291 * Value must be between "0" and "500".
3272 * 3292 *
3273 * [pageToken] - Specifies a page token to use. Set pageToken to the 3293 * [pageToken] - Specifies a page token to use. Set pageToken to the
3274 * nextPageToken returned by a previous list request to get the next page of 3294 * nextPageToken returned by a previous list request to get the next page of
3275 * results. 3295 * results.
3276 * 3296 *
3277 * Completes with a [OperationAggregatedList]. 3297 * Completes with a [OperationAggregatedList].
3278 * 3298 *
3279 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 3299 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
3280 * error. 3300 * error.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
3356 "DELETE", 3376 "DELETE",
3357 body: _body, 3377 body: _body,
3358 queryParams: _queryParams, 3378 queryParams: _queryParams,
3359 uploadOptions: _uploadOptions, 3379 uploadOptions: _uploadOptions,
3360 uploadMedia: _uploadMedia, 3380 uploadMedia: _uploadMedia,
3361 downloadOptions: _downloadOptions); 3381 downloadOptions: _downloadOptions);
3362 return _response.then((data) => null); 3382 return _response.then((data) => null);
3363 } 3383 }
3364 3384
3365 /** 3385 /**
3366 * Retrieves the specified Operations resource. 3386 * Retrieves the specified Operations resource. Get a list of operations by
3387 * making a list() request.
3367 * 3388 *
3368 * Request parameters: 3389 * Request parameters:
3369 * 3390 *
3370 * [project] - Project ID for this request. 3391 * [project] - Project ID for this request.
3371 * Value must have pattern 3392 * Value must have pattern
3372 * "(?:(?:[-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])?))". 3393 * "(?:(?:[-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])?))".
3373 * 3394 *
3374 * [operation] - Name of the Operations resource to return. 3395 * [operation] - Name of the Operations resource to return.
3375 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 3396 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
3376 * 3397 *
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3424 * field_name comparison_string literal_string. 3445 * field_name comparison_string literal_string.
3425 * 3446 *
3426 * The field_name is the name of the field you want to compare. Only atomic 3447 * The field_name is the name of the field you want to compare. Only atomic
3427 * field types are supported (string, number, boolean). The comparison_string 3448 * field types are supported (string, number, boolean). The comparison_string
3428 * must be either eq (equals) or ne (not equals). The literal_string is the 3449 * must be either eq (equals) or ne (not equals). The literal_string is the
3429 * string value to filter to. The literal value must be valid for the type of 3450 * string value to filter to. The literal value must be valid for the type of
3430 * field you are filtering by (string, number, boolean). For string fields, 3451 * field you are filtering by (string, number, boolean). For string fields,
3431 * the literal value is interpreted as a regular expression using RE2 syntax. 3452 * the literal value is interpreted as a regular expression using RE2 syntax.
3432 * The literal value must match the entire field. 3453 * The literal value must match the entire field.
3433 * 3454 *
3434 * For example, filter=name ne example-instance. 3455 * For example, to filter for instances that do not have a name of
3456 * example-instance, you would use filter=name ne example-instance.
3435 * 3457 *
3436 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 3458 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
3437 * also filter on nested fields. For example, you could filter on instances 3459 * also filter on nested fields. For example, you could filter on instances
3438 * that have set the scheduling.automaticRestart field to true. In particular, 3460 * that have set the scheduling.automaticRestart field to true. In particular,
3439 * use filtering on nested fields to take advantage of instance labels to 3461 * use filtering on nested fields to take advantage of instance labels to
3440 * organize and filter results based on label values. 3462 * organize and filter results based on label values.
3441 * 3463 *
3442 * The Beta API also supports filtering on multiple expressions by providing 3464 * The Beta API also supports filtering on multiple expressions by providing
3443 * each separate expression within parentheses. For example, 3465 * each separate expression within parentheses. For example,
3444 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 3466 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
3445 * expressions are treated as AND expressions meaning that resources must 3467 * expressions are treated as AND expressions, meaning that resources must
3446 * match all expressions to pass the filters. 3468 * match all expressions to pass the filters.
3447 * 3469 *
3448 * [maxResults] - The maximum number of results per page that Compute Engine 3470 * [maxResults] - The maximum number of results per page that should be
3449 * should return. If the number of available results is larger than 3471 * returned. If the number of available results is larger than maxResults,
3450 * maxResults, Compute Engine returns a nextPageToken that can be used to get 3472 * Compute Engine returns a nextPageToken that can be used to get the next
3451 * the next page of results in subsequent list requests. 3473 * page of results in subsequent list requests.
3452 * Value must be between "0" and "500". 3474 * Value must be between "0" and "500".
3453 * 3475 *
3454 * [pageToken] - Specifies a page token to use. Set pageToken to the 3476 * [pageToken] - Specifies a page token to use. Set pageToken to the
3455 * nextPageToken returned by a previous list request to get the next page of 3477 * nextPageToken returned by a previous list request to get the next page of
3456 * results. 3478 * results.
3457 * 3479 *
3458 * Completes with a [OperationList]. 3480 * Completes with a [OperationList].
3459 * 3481 *
3460 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 3482 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
3461 * error. 3483 * error.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
3546 "DELETE", 3568 "DELETE",
3547 body: _body, 3569 body: _body,
3548 queryParams: _queryParams, 3570 queryParams: _queryParams,
3549 uploadOptions: _uploadOptions, 3571 uploadOptions: _uploadOptions,
3550 uploadMedia: _uploadMedia, 3572 uploadMedia: _uploadMedia,
3551 downloadOptions: _downloadOptions); 3573 downloadOptions: _downloadOptions);
3552 return _response.then((data) => new Operation.fromJson(data)); 3574 return _response.then((data) => new Operation.fromJson(data));
3553 } 3575 }
3554 3576
3555 /** 3577 /**
3556 * Returns the specified HttpHealthCheck resource. 3578 * Returns the specified HttpHealthCheck resource. Get a list of available
3579 * HTTP health checks by making a list() request.
3557 * 3580 *
3558 * Request parameters: 3581 * Request parameters:
3559 * 3582 *
3560 * [project] - Project ID for this request. 3583 * [project] - Project ID for this request.
3561 * Value must have pattern 3584 * Value must have pattern
3562 * "(?:(?:[-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])?))". 3585 * "(?:(?:[-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])?))".
3563 * 3586 *
3564 * [httpHealthCheck] - Name of the HttpHealthCheck resource to return. 3587 * [httpHealthCheck] - Name of the HttpHealthCheck resource to return.
3565 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 3588 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
3566 * 3589 *
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
3661 * field_name comparison_string literal_string. 3684 * field_name comparison_string literal_string.
3662 * 3685 *
3663 * The field_name is the name of the field you want to compare. Only atomic 3686 * The field_name is the name of the field you want to compare. Only atomic
3664 * field types are supported (string, number, boolean). The comparison_string 3687 * field types are supported (string, number, boolean). The comparison_string
3665 * must be either eq (equals) or ne (not equals). The literal_string is the 3688 * must be either eq (equals) or ne (not equals). The literal_string is the
3666 * string value to filter to. The literal value must be valid for the type of 3689 * string value to filter to. The literal value must be valid for the type of
3667 * field you are filtering by (string, number, boolean). For string fields, 3690 * field you are filtering by (string, number, boolean). For string fields,
3668 * the literal value is interpreted as a regular expression using RE2 syntax. 3691 * the literal value is interpreted as a regular expression using RE2 syntax.
3669 * The literal value must match the entire field. 3692 * The literal value must match the entire field.
3670 * 3693 *
3671 * For example, filter=name ne example-instance. 3694 * For example, to filter for instances that do not have a name of
3695 * example-instance, you would use filter=name ne example-instance.
3672 * 3696 *
3673 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 3697 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
3674 * also filter on nested fields. For example, you could filter on instances 3698 * also filter on nested fields. For example, you could filter on instances
3675 * that have set the scheduling.automaticRestart field to true. In particular, 3699 * that have set the scheduling.automaticRestart field to true. In particular,
3676 * use filtering on nested fields to take advantage of instance labels to 3700 * use filtering on nested fields to take advantage of instance labels to
3677 * organize and filter results based on label values. 3701 * organize and filter results based on label values.
3678 * 3702 *
3679 * The Beta API also supports filtering on multiple expressions by providing 3703 * The Beta API also supports filtering on multiple expressions by providing
3680 * each separate expression within parentheses. For example, 3704 * each separate expression within parentheses. For example,
3681 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 3705 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
3682 * expressions are treated as AND expressions meaning that resources must 3706 * expressions are treated as AND expressions, meaning that resources must
3683 * match all expressions to pass the filters. 3707 * match all expressions to pass the filters.
3684 * 3708 *
3685 * [maxResults] - The maximum number of results per page that Compute Engine 3709 * [maxResults] - The maximum number of results per page that should be
3686 * should return. If the number of available results is larger than 3710 * returned. If the number of available results is larger than maxResults,
3687 * maxResults, Compute Engine returns a nextPageToken that can be used to get 3711 * Compute Engine returns a nextPageToken that can be used to get the next
3688 * the next page of results in subsequent list requests. 3712 * page of results in subsequent list requests.
3689 * Value must be between "0" and "500". 3713 * Value must be between "0" and "500".
3690 * 3714 *
3691 * [pageToken] - Specifies a page token to use. Set pageToken to the 3715 * [pageToken] - Specifies a page token to use. Set pageToken to the
3692 * nextPageToken returned by a previous list request to get the next page of 3716 * nextPageToken returned by a previous list request to get the next page of
3693 * results. 3717 * results.
3694 * 3718 *
3695 * Completes with a [HttpHealthCheckList]. 3719 * Completes with a [HttpHealthCheckList].
3696 * 3720 *
3697 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 3721 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
3698 * error. 3722 * error.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
3889 "DELETE", 3913 "DELETE",
3890 body: _body, 3914 body: _body,
3891 queryParams: _queryParams, 3915 queryParams: _queryParams,
3892 uploadOptions: _uploadOptions, 3916 uploadOptions: _uploadOptions,
3893 uploadMedia: _uploadMedia, 3917 uploadMedia: _uploadMedia,
3894 downloadOptions: _downloadOptions); 3918 downloadOptions: _downloadOptions);
3895 return _response.then((data) => new Operation.fromJson(data)); 3919 return _response.then((data) => new Operation.fromJson(data));
3896 } 3920 }
3897 3921
3898 /** 3922 /**
3899 * Returns the specified HttpsHealthCheck resource. 3923 * Returns the specified HttpsHealthCheck resource. Get a list of available
3924 * HTTPS health checks by making a list() request.
3900 * 3925 *
3901 * Request parameters: 3926 * Request parameters:
3902 * 3927 *
3903 * [project] - Project ID for this request. 3928 * [project] - Project ID for this request.
3904 * Value must have pattern 3929 * Value must have pattern
3905 * "(?:(?:[-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])?))". 3930 * "(?:(?:[-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])?))".
3906 * 3931 *
3907 * [httpsHealthCheck] - Name of the HttpsHealthCheck resource to return. 3932 * [httpsHealthCheck] - Name of the HttpsHealthCheck resource to return.
3908 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 3933 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
3909 * 3934 *
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
4004 * field_name comparison_string literal_string. 4029 * field_name comparison_string literal_string.
4005 * 4030 *
4006 * The field_name is the name of the field you want to compare. Only atomic 4031 * The field_name is the name of the field you want to compare. Only atomic
4007 * field types are supported (string, number, boolean). The comparison_string 4032 * field types are supported (string, number, boolean). The comparison_string
4008 * must be either eq (equals) or ne (not equals). The literal_string is the 4033 * must be either eq (equals) or ne (not equals). The literal_string is the
4009 * string value to filter to. The literal value must be valid for the type of 4034 * string value to filter to. The literal value must be valid for the type of
4010 * field you are filtering by (string, number, boolean). For string fields, 4035 * field you are filtering by (string, number, boolean). For string fields,
4011 * the literal value is interpreted as a regular expression using RE2 syntax. 4036 * the literal value is interpreted as a regular expression using RE2 syntax.
4012 * The literal value must match the entire field. 4037 * The literal value must match the entire field.
4013 * 4038 *
4014 * For example, filter=name ne example-instance. 4039 * For example, to filter for instances that do not have a name of
4040 * example-instance, you would use filter=name ne example-instance.
4015 * 4041 *
4016 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 4042 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4017 * also filter on nested fields. For example, you could filter on instances 4043 * also filter on nested fields. For example, you could filter on instances
4018 * that have set the scheduling.automaticRestart field to true. In particular, 4044 * that have set the scheduling.automaticRestart field to true. In particular,
4019 * use filtering on nested fields to take advantage of instance labels to 4045 * use filtering on nested fields to take advantage of instance labels to
4020 * organize and filter results based on label values. 4046 * organize and filter results based on label values.
4021 * 4047 *
4022 * The Beta API also supports filtering on multiple expressions by providing 4048 * The Beta API also supports filtering on multiple expressions by providing
4023 * each separate expression within parentheses. For example, 4049 * each separate expression within parentheses. For example,
4024 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 4050 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4025 * expressions are treated as AND expressions meaning that resources must 4051 * expressions are treated as AND expressions, meaning that resources must
4026 * match all expressions to pass the filters. 4052 * match all expressions to pass the filters.
4027 * 4053 *
4028 * [maxResults] - The maximum number of results per page that Compute Engine 4054 * [maxResults] - The maximum number of results per page that should be
4029 * should return. If the number of available results is larger than 4055 * returned. If the number of available results is larger than maxResults,
4030 * maxResults, Compute Engine returns a nextPageToken that can be used to get 4056 * Compute Engine returns a nextPageToken that can be used to get the next
4031 * the next page of results in subsequent list requests. 4057 * page of results in subsequent list requests.
4032 * Value must be between "0" and "500". 4058 * Value must be between "0" and "500".
4033 * 4059 *
4034 * [pageToken] - Specifies a page token to use. Set pageToken to the 4060 * [pageToken] - Specifies a page token to use. Set pageToken to the
4035 * nextPageToken returned by a previous list request to get the next page of 4061 * nextPageToken returned by a previous list request to get the next page of
4036 * results. 4062 * results.
4037 * 4063 *
4038 * Completes with a [HttpsHealthCheckList]. 4064 * Completes with a [HttpsHealthCheckList].
4039 * 4065 *
4040 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 4066 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
4041 * error. 4067 * error.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
4185 } 4211 }
4186 4212
4187 4213
4188 class ImagesResourceApi { 4214 class ImagesResourceApi {
4189 final commons.ApiRequester _requester; 4215 final commons.ApiRequester _requester;
4190 4216
4191 ImagesResourceApi(commons.ApiRequester client) : 4217 ImagesResourceApi(commons.ApiRequester client) :
4192 _requester = client; 4218 _requester = client;
4193 4219
4194 /** 4220 /**
4195 * Deletes the specified image resource. 4221 * Deletes the specified image.
4196 * 4222 *
4197 * Request parameters: 4223 * Request parameters:
4198 * 4224 *
4199 * [project] - Project ID for this request. 4225 * [project] - Project ID for this request.
4200 * Value must have pattern 4226 * Value must have pattern
4201 * "(?:(?:[-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])?))". 4227 * "(?:(?:[-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])?))".
4202 * 4228 *
4203 * [image] - Name of the image resource to delete. 4229 * [image] - Name of the image resource to delete.
4204 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 4230 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
4205 * 4231 *
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
4286 "POST", 4312 "POST",
4287 body: _body, 4313 body: _body,
4288 queryParams: _queryParams, 4314 queryParams: _queryParams,
4289 uploadOptions: _uploadOptions, 4315 uploadOptions: _uploadOptions,
4290 uploadMedia: _uploadMedia, 4316 uploadMedia: _uploadMedia,
4291 downloadOptions: _downloadOptions); 4317 downloadOptions: _downloadOptions);
4292 return _response.then((data) => new Operation.fromJson(data)); 4318 return _response.then((data) => new Operation.fromJson(data));
4293 } 4319 }
4294 4320
4295 /** 4321 /**
4296 * Returns the specified image resource. 4322 * Returns the specified image. Get a list of available images by making a
4323 * list() request.
4297 * 4324 *
4298 * Request parameters: 4325 * Request parameters:
4299 * 4326 *
4300 * [project] - Project ID for this request. 4327 * [project] - Project ID for this request.
4301 * Value must have pattern 4328 * Value must have pattern
4302 * "(?:(?:[-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])?))". 4329 * "(?:(?:[-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])?))".
4303 * 4330 *
4304 * [image] - Name of the image resource to return. 4331 * [image] - Name of the image resource to return.
4305 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 4332 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
4306 * 4333 *
(...skipping 26 matching lines...) Expand all
4333 "GET", 4360 "GET",
4334 body: _body, 4361 body: _body,
4335 queryParams: _queryParams, 4362 queryParams: _queryParams,
4336 uploadOptions: _uploadOptions, 4363 uploadOptions: _uploadOptions,
4337 uploadMedia: _uploadMedia, 4364 uploadMedia: _uploadMedia,
4338 downloadOptions: _downloadOptions); 4365 downloadOptions: _downloadOptions);
4339 return _response.then((data) => new Image.fromJson(data)); 4366 return _response.then((data) => new Image.fromJson(data));
4340 } 4367 }
4341 4368
4342 /** 4369 /**
4343 * Creates an image resource in the specified project using the data included 4370 * Creates an image in the specified project using the data included in the
4344 * in the request. 4371 * request.
4345 * 4372 *
4346 * [request] - The metadata request object. 4373 * [request] - The metadata request object.
4347 * 4374 *
4348 * Request parameters: 4375 * Request parameters:
4349 * 4376 *
4350 * [project] - Project ID for this request. 4377 * [project] - Project ID for this request.
4351 * Value must have pattern 4378 * Value must have pattern
4352 * "(?:(?:[-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])?))". 4379 * "(?:(?:[-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])?))".
4353 * 4380 *
4354 * Completes with a [Operation]. 4381 * Completes with a [Operation].
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
4407 * field_name comparison_string literal_string. 4434 * field_name comparison_string literal_string.
4408 * 4435 *
4409 * The field_name is the name of the field you want to compare. Only atomic 4436 * The field_name is the name of the field you want to compare. Only atomic
4410 * field types are supported (string, number, boolean). The comparison_string 4437 * field types are supported (string, number, boolean). The comparison_string
4411 * must be either eq (equals) or ne (not equals). The literal_string is the 4438 * must be either eq (equals) or ne (not equals). The literal_string is the
4412 * string value to filter to. The literal value must be valid for the type of 4439 * string value to filter to. The literal value must be valid for the type of
4413 * field you are filtering by (string, number, boolean). For string fields, 4440 * field you are filtering by (string, number, boolean). For string fields,
4414 * the literal value is interpreted as a regular expression using RE2 syntax. 4441 * the literal value is interpreted as a regular expression using RE2 syntax.
4415 * The literal value must match the entire field. 4442 * The literal value must match the entire field.
4416 * 4443 *
4417 * For example, filter=name ne example-instance. 4444 * For example, to filter for instances that do not have a name of
4445 * example-instance, you would use filter=name ne example-instance.
4418 * 4446 *
4419 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 4447 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4420 * also filter on nested fields. For example, you could filter on instances 4448 * also filter on nested fields. For example, you could filter on instances
4421 * that have set the scheduling.automaticRestart field to true. In particular, 4449 * that have set the scheduling.automaticRestart field to true. In particular,
4422 * use filtering on nested fields to take advantage of instance labels to 4450 * use filtering on nested fields to take advantage of instance labels to
4423 * organize and filter results based on label values. 4451 * organize and filter results based on label values.
4424 * 4452 *
4425 * The Beta API also supports filtering on multiple expressions by providing 4453 * The Beta API also supports filtering on multiple expressions by providing
4426 * each separate expression within parentheses. For example, 4454 * each separate expression within parentheses. For example,
4427 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 4455 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4428 * expressions are treated as AND expressions meaning that resources must 4456 * expressions are treated as AND expressions, meaning that resources must
4429 * match all expressions to pass the filters. 4457 * match all expressions to pass the filters.
4430 * 4458 *
4431 * [maxResults] - The maximum number of results per page that Compute Engine 4459 * [maxResults] - The maximum number of results per page that should be
4432 * should return. If the number of available results is larger than 4460 * returned. If the number of available results is larger than maxResults,
4433 * maxResults, Compute Engine returns a nextPageToken that can be used to get 4461 * Compute Engine returns a nextPageToken that can be used to get the next
4434 * the next page of results in subsequent list requests. 4462 * page of results in subsequent list requests.
4435 * Value must be between "0" and "500". 4463 * Value must be between "0" and "500".
4436 * 4464 *
4437 * [pageToken] - Specifies a page token to use. Set pageToken to the 4465 * [pageToken] - Specifies a page token to use. Set pageToken to the
4438 * nextPageToken returned by a previous list request to get the next page of 4466 * nextPageToken returned by a previous list request to get the next page of
4439 * results. 4467 * results.
4440 * 4468 *
4441 * Completes with a [ImageList]. 4469 * Completes with a [ImageList].
4442 * 4470 *
4443 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 4471 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
4444 * error. 4472 * error.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
4565 * field_name comparison_string literal_string. 4593 * field_name comparison_string literal_string.
4566 * 4594 *
4567 * The field_name is the name of the field you want to compare. Only atomic 4595 * The field_name is the name of the field you want to compare. Only atomic
4568 * field types are supported (string, number, boolean). The comparison_string 4596 * field types are supported (string, number, boolean). The comparison_string
4569 * must be either eq (equals) or ne (not equals). The literal_string is the 4597 * must be either eq (equals) or ne (not equals). The literal_string is the
4570 * string value to filter to. The literal value must be valid for the type of 4598 * string value to filter to. The literal value must be valid for the type of
4571 * field you are filtering by (string, number, boolean). For string fields, 4599 * field you are filtering by (string, number, boolean). For string fields,
4572 * the literal value is interpreted as a regular expression using RE2 syntax. 4600 * the literal value is interpreted as a regular expression using RE2 syntax.
4573 * The literal value must match the entire field. 4601 * The literal value must match the entire field.
4574 * 4602 *
4575 * For example, filter=name ne example-instance. 4603 * For example, to filter for instances that do not have a name of
4604 * example-instance, you would use filter=name ne example-instance.
4576 * 4605 *
4577 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 4606 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4578 * also filter on nested fields. For example, you could filter on instances 4607 * also filter on nested fields. For example, you could filter on instances
4579 * that have set the scheduling.automaticRestart field to true. In particular, 4608 * that have set the scheduling.automaticRestart field to true. In particular,
4580 * use filtering on nested fields to take advantage of instance labels to 4609 * use filtering on nested fields to take advantage of instance labels to
4581 * organize and filter results based on label values. 4610 * organize and filter results based on label values.
4582 * 4611 *
4583 * The Beta API also supports filtering on multiple expressions by providing 4612 * The Beta API also supports filtering on multiple expressions by providing
4584 * each separate expression within parentheses. For example, 4613 * each separate expression within parentheses. For example,
4585 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 4614 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4586 * expressions are treated as AND expressions meaning that resources must 4615 * expressions are treated as AND expressions, meaning that resources must
4587 * match all expressions to pass the filters. 4616 * match all expressions to pass the filters.
4588 * 4617 *
4589 * [maxResults] - The maximum number of results per page that Compute Engine 4618 * [maxResults] - The maximum number of results per page that should be
4590 * should return. If the number of available results is larger than 4619 * returned. If the number of available results is larger than maxResults,
4591 * maxResults, Compute Engine returns a nextPageToken that can be used to get 4620 * Compute Engine returns a nextPageToken that can be used to get the next
4592 * the next page of results in subsequent list requests. 4621 * page of results in subsequent list requests.
4593 * Value must be between "0" and "500". 4622 * Value must be between "0" and "500".
4594 * 4623 *
4595 * [pageToken] - Specifies a page token to use. Set pageToken to the 4624 * [pageToken] - Specifies a page token to use. Set pageToken to the
4596 * nextPageToken returned by a previous list request to get the next page of 4625 * nextPageToken returned by a previous list request to get the next page of
4597 * results. 4626 * results.
4598 * 4627 *
4599 * Completes with a [InstanceGroupManagerAggregatedList]. 4628 * Completes with a [InstanceGroupManagerAggregatedList].
4600 * 4629 *
4601 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 4630 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
4602 * error. 4631 * error.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
4746 "POST", 4775 "POST",
4747 body: _body, 4776 body: _body,
4748 queryParams: _queryParams, 4777 queryParams: _queryParams,
4749 uploadOptions: _uploadOptions, 4778 uploadOptions: _uploadOptions,
4750 uploadMedia: _uploadMedia, 4779 uploadMedia: _uploadMedia,
4751 downloadOptions: _downloadOptions); 4780 downloadOptions: _downloadOptions);
4752 return _response.then((data) => new Operation.fromJson(data)); 4781 return _response.then((data) => new Operation.fromJson(data));
4753 } 4782 }
4754 4783
4755 /** 4784 /**
4756 * Returns all of the details about the specified managed instance group. 4785 * Returns all of the details about the specified managed instance group. Get
4786 * a list of available managed instance groups by making a list() request.
4757 * 4787 *
4758 * Request parameters: 4788 * Request parameters:
4759 * 4789 *
4760 * [project] - Project ID for this request. 4790 * [project] - Project ID for this request.
4761 * Value must have pattern 4791 * Value must have pattern
4762 * "(?:(?:[-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])?))". 4792 * "(?:(?:[-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])?))".
4763 * 4793 *
4764 * [zone] - The name of the zone where the managed instance group is located. 4794 * [zone] - The name of the zone where the managed instance group is located.
4765 * 4795 *
4766 * [instanceGroupManager] - The name of the managed instance group. 4796 * [instanceGroupManager] - The name of the managed instance group.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
4877 * field_name comparison_string literal_string. 4907 * field_name comparison_string literal_string.
4878 * 4908 *
4879 * The field_name is the name of the field you want to compare. Only atomic 4909 * The field_name is the name of the field you want to compare. Only atomic
4880 * field types are supported (string, number, boolean). The comparison_string 4910 * field types are supported (string, number, boolean). The comparison_string
4881 * must be either eq (equals) or ne (not equals). The literal_string is the 4911 * must be either eq (equals) or ne (not equals). The literal_string is the
4882 * string value to filter to. The literal value must be valid for the type of 4912 * string value to filter to. The literal value must be valid for the type of
4883 * field you are filtering by (string, number, boolean). For string fields, 4913 * field you are filtering by (string, number, boolean). For string fields,
4884 * the literal value is interpreted as a regular expression using RE2 syntax. 4914 * the literal value is interpreted as a regular expression using RE2 syntax.
4885 * The literal value must match the entire field. 4915 * The literal value must match the entire field.
4886 * 4916 *
4887 * For example, filter=name ne example-instance. 4917 * For example, to filter for instances that do not have a name of
4918 * example-instance, you would use filter=name ne example-instance.
4888 * 4919 *
4889 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 4920 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
4890 * also filter on nested fields. For example, you could filter on instances 4921 * also filter on nested fields. For example, you could filter on instances
4891 * that have set the scheduling.automaticRestart field to true. In particular, 4922 * that have set the scheduling.automaticRestart field to true. In particular,
4892 * use filtering on nested fields to take advantage of instance labels to 4923 * use filtering on nested fields to take advantage of instance labels to
4893 * organize and filter results based on label values. 4924 * organize and filter results based on label values.
4894 * 4925 *
4895 * The Beta API also supports filtering on multiple expressions by providing 4926 * The Beta API also supports filtering on multiple expressions by providing
4896 * each separate expression within parentheses. For example, 4927 * each separate expression within parentheses. For example,
4897 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 4928 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
4898 * expressions are treated as AND expressions meaning that resources must 4929 * expressions are treated as AND expressions, meaning that resources must
4899 * match all expressions to pass the filters. 4930 * match all expressions to pass the filters.
4900 * 4931 *
4901 * [maxResults] - The maximum number of results per page that Compute Engine 4932 * [maxResults] - The maximum number of results per page that should be
4902 * should return. If the number of available results is larger than 4933 * returned. If the number of available results is larger than maxResults,
4903 * maxResults, Compute Engine returns a nextPageToken that can be used to get 4934 * Compute Engine returns a nextPageToken that can be used to get the next
4904 * the next page of results in subsequent list requests. 4935 * page of results in subsequent list requests.
4905 * Value must be between "0" and "500". 4936 * Value must be between "0" and "500".
4906 * 4937 *
4907 * [pageToken] - Specifies a page token to use. Set pageToken to the 4938 * [pageToken] - Specifies a page token to use. Set pageToken to the
4908 * nextPageToken returned by a previous list request to get the next page of 4939 * nextPageToken returned by a previous list request to get the next page of
4909 * results. 4940 * results.
4910 * 4941 *
4911 * Completes with a [InstanceGroupManagerList]. 4942 * Completes with a [InstanceGroupManagerList].
4912 * 4943 *
4913 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 4944 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
4914 * error. 4945 * error.
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
5254 } 5285 }
5255 5286
5256 5287
5257 class InstanceGroupsResourceApi { 5288 class InstanceGroupsResourceApi {
5258 final commons.ApiRequester _requester; 5289 final commons.ApiRequester _requester;
5259 5290
5260 InstanceGroupsResourceApi(commons.ApiRequester client) : 5291 InstanceGroupsResourceApi(commons.ApiRequester client) :
5261 _requester = client; 5292 _requester = client;
5262 5293
5263 /** 5294 /**
5264 * Adds a list of instances to the specified instance group. Read Adding 5295 * Adds a list of instances to the specified instance group. All of the
5265 * instances for more information. 5296 * instances in the instance group must be in the same network/subnetwork.
5297 * Read Adding instances for more information.
5266 * 5298 *
5267 * [request] - The metadata request object. 5299 * [request] - The metadata request object.
5268 * 5300 *
5269 * Request parameters: 5301 * Request parameters:
5270 * 5302 *
5271 * [project] - Project ID for this request. 5303 * [project] - Project ID for this request.
5272 * Value must have pattern 5304 * Value must have pattern
5273 * "(?:(?:[-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])?))". 5305 * "(?:(?:[-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])?))".
5274 * 5306 *
5275 * [zone] - The name of the zone where the instance group is located. 5307 * [zone] - The name of the zone where the instance group is located.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
5332 * field_name comparison_string literal_string. 5364 * field_name comparison_string literal_string.
5333 * 5365 *
5334 * The field_name is the name of the field you want to compare. Only atomic 5366 * The field_name is the name of the field you want to compare. Only atomic
5335 * field types are supported (string, number, boolean). The comparison_string 5367 * field types are supported (string, number, boolean). The comparison_string
5336 * must be either eq (equals) or ne (not equals). The literal_string is the 5368 * must be either eq (equals) or ne (not equals). The literal_string is the
5337 * string value to filter to. The literal value must be valid for the type of 5369 * string value to filter to. The literal value must be valid for the type of
5338 * field you are filtering by (string, number, boolean). For string fields, 5370 * field you are filtering by (string, number, boolean). For string fields,
5339 * the literal value is interpreted as a regular expression using RE2 syntax. 5371 * the literal value is interpreted as a regular expression using RE2 syntax.
5340 * The literal value must match the entire field. 5372 * The literal value must match the entire field.
5341 * 5373 *
5342 * For example, filter=name ne example-instance. 5374 * For example, to filter for instances that do not have a name of
5375 * example-instance, you would use filter=name ne example-instance.
5343 * 5376 *
5344 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 5377 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5345 * also filter on nested fields. For example, you could filter on instances 5378 * also filter on nested fields. For example, you could filter on instances
5346 * that have set the scheduling.automaticRestart field to true. In particular, 5379 * that have set the scheduling.automaticRestart field to true. In particular,
5347 * use filtering on nested fields to take advantage of instance labels to 5380 * use filtering on nested fields to take advantage of instance labels to
5348 * organize and filter results based on label values. 5381 * organize and filter results based on label values.
5349 * 5382 *
5350 * The Beta API also supports filtering on multiple expressions by providing 5383 * The Beta API also supports filtering on multiple expressions by providing
5351 * each separate expression within parentheses. For example, 5384 * each separate expression within parentheses. For example,
5352 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 5385 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5353 * expressions are treated as AND expressions meaning that resources must 5386 * expressions are treated as AND expressions, meaning that resources must
5354 * match all expressions to pass the filters. 5387 * match all expressions to pass the filters.
5355 * 5388 *
5356 * [maxResults] - The maximum number of results per page that Compute Engine 5389 * [maxResults] - The maximum number of results per page that should be
5357 * should return. If the number of available results is larger than 5390 * returned. If the number of available results is larger than maxResults,
5358 * maxResults, Compute Engine returns a nextPageToken that can be used to get 5391 * Compute Engine returns a nextPageToken that can be used to get the next
5359 * the next page of results in subsequent list requests. 5392 * page of results in subsequent list requests.
5360 * Value must be between "0" and "500". 5393 * Value must be between "0" and "500".
5361 * 5394 *
5362 * [pageToken] - Specifies a page token to use. Set pageToken to the 5395 * [pageToken] - Specifies a page token to use. Set pageToken to the
5363 * nextPageToken returned by a previous list request to get the next page of 5396 * nextPageToken returned by a previous list request to get the next page of
5364 * results. 5397 * results.
5365 * 5398 *
5366 * Completes with a [InstanceGroupAggregatedList]. 5399 * Completes with a [InstanceGroupAggregatedList].
5367 * 5400 *
5368 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 5401 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
5369 * error. 5402 * error.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
5451 "DELETE", 5484 "DELETE",
5452 body: _body, 5485 body: _body,
5453 queryParams: _queryParams, 5486 queryParams: _queryParams,
5454 uploadOptions: _uploadOptions, 5487 uploadOptions: _uploadOptions,
5455 uploadMedia: _uploadMedia, 5488 uploadMedia: _uploadMedia,
5456 downloadOptions: _downloadOptions); 5489 downloadOptions: _downloadOptions);
5457 return _response.then((data) => new Operation.fromJson(data)); 5490 return _response.then((data) => new Operation.fromJson(data));
5458 } 5491 }
5459 5492
5460 /** 5493 /**
5461 * Returns the specified instance group resource. 5494 * Returns the specified instance group. Get a list of available instance
5495 * groups by making a list() request.
5462 * 5496 *
5463 * Request parameters: 5497 * Request parameters:
5464 * 5498 *
5465 * [project] - Project ID for this request. 5499 * [project] - Project ID for this request.
5466 * Value must have pattern 5500 * Value must have pattern
5467 * "(?:(?:[-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])?))". 5501 * "(?:(?:[-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])?))".
5468 * 5502 *
5469 * [zone] - The name of the zone where the instance group is located. 5503 * [zone] - The name of the zone where the instance group is located.
5470 * 5504 *
5471 * [instanceGroup] - The name of the instance group. 5505 * [instanceGroup] - The name of the instance group.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
5577 * field_name comparison_string literal_string. 5611 * field_name comparison_string literal_string.
5578 * 5612 *
5579 * The field_name is the name of the field you want to compare. Only atomic 5613 * The field_name is the name of the field you want to compare. Only atomic
5580 * field types are supported (string, number, boolean). The comparison_string 5614 * field types are supported (string, number, boolean). The comparison_string
5581 * must be either eq (equals) or ne (not equals). The literal_string is the 5615 * must be either eq (equals) or ne (not equals). The literal_string is the
5582 * string value to filter to. The literal value must be valid for the type of 5616 * string value to filter to. The literal value must be valid for the type of
5583 * field you are filtering by (string, number, boolean). For string fields, 5617 * field you are filtering by (string, number, boolean). For string fields,
5584 * the literal value is interpreted as a regular expression using RE2 syntax. 5618 * the literal value is interpreted as a regular expression using RE2 syntax.
5585 * The literal value must match the entire field. 5619 * The literal value must match the entire field.
5586 * 5620 *
5587 * For example, filter=name ne example-instance. 5621 * For example, to filter for instances that do not have a name of
5622 * example-instance, you would use filter=name ne example-instance.
5588 * 5623 *
5589 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 5624 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5590 * also filter on nested fields. For example, you could filter on instances 5625 * also filter on nested fields. For example, you could filter on instances
5591 * that have set the scheduling.automaticRestart field to true. In particular, 5626 * that have set the scheduling.automaticRestart field to true. In particular,
5592 * use filtering on nested fields to take advantage of instance labels to 5627 * use filtering on nested fields to take advantage of instance labels to
5593 * organize and filter results based on label values. 5628 * organize and filter results based on label values.
5594 * 5629 *
5595 * The Beta API also supports filtering on multiple expressions by providing 5630 * The Beta API also supports filtering on multiple expressions by providing
5596 * each separate expression within parentheses. For example, 5631 * each separate expression within parentheses. For example,
5597 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 5632 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5598 * expressions are treated as AND expressions meaning that resources must 5633 * expressions are treated as AND expressions, meaning that resources must
5599 * match all expressions to pass the filters. 5634 * match all expressions to pass the filters.
5600 * 5635 *
5601 * [maxResults] - The maximum number of results per page that Compute Engine 5636 * [maxResults] - The maximum number of results per page that should be
5602 * should return. If the number of available results is larger than 5637 * returned. If the number of available results is larger than maxResults,
5603 * maxResults, Compute Engine returns a nextPageToken that can be used to get 5638 * Compute Engine returns a nextPageToken that can be used to get the next
5604 * the next page of results in subsequent list requests. 5639 * page of results in subsequent list requests.
5605 * Value must be between "0" and "500". 5640 * Value must be between "0" and "500".
5606 * 5641 *
5607 * [pageToken] - Specifies a page token to use. Set pageToken to the 5642 * [pageToken] - Specifies a page token to use. Set pageToken to the
5608 * nextPageToken returned by a previous list request to get the next page of 5643 * nextPageToken returned by a previous list request to get the next page of
5609 * results. 5644 * results.
5610 * 5645 *
5611 * Completes with a [InstanceGroupList]. 5646 * Completes with a [InstanceGroupList].
5612 * 5647 *
5613 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 5648 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
5614 * error. 5649 * error.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
5673 * field_name comparison_string literal_string. 5708 * field_name comparison_string literal_string.
5674 * 5709 *
5675 * The field_name is the name of the field you want to compare. Only atomic 5710 * The field_name is the name of the field you want to compare. Only atomic
5676 * field types are supported (string, number, boolean). The comparison_string 5711 * field types are supported (string, number, boolean). The comparison_string
5677 * must be either eq (equals) or ne (not equals). The literal_string is the 5712 * must be either eq (equals) or ne (not equals). The literal_string is the
5678 * string value to filter to. The literal value must be valid for the type of 5713 * string value to filter to. The literal value must be valid for the type of
5679 * field you are filtering by (string, number, boolean). For string fields, 5714 * field you are filtering by (string, number, boolean). For string fields,
5680 * the literal value is interpreted as a regular expression using RE2 syntax. 5715 * the literal value is interpreted as a regular expression using RE2 syntax.
5681 * The literal value must match the entire field. 5716 * The literal value must match the entire field.
5682 * 5717 *
5683 * For example, filter=name ne example-instance. 5718 * For example, to filter for instances that do not have a name of
5719 * example-instance, you would use filter=name ne example-instance.
5684 * 5720 *
5685 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 5721 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
5686 * also filter on nested fields. For example, you could filter on instances 5722 * also filter on nested fields. For example, you could filter on instances
5687 * that have set the scheduling.automaticRestart field to true. In particular, 5723 * that have set the scheduling.automaticRestart field to true. In particular,
5688 * use filtering on nested fields to take advantage of instance labels to 5724 * use filtering on nested fields to take advantage of instance labels to
5689 * organize and filter results based on label values. 5725 * organize and filter results based on label values.
5690 * 5726 *
5691 * The Beta API also supports filtering on multiple expressions by providing 5727 * The Beta API also supports filtering on multiple expressions by providing
5692 * each separate expression within parentheses. For example, 5728 * each separate expression within parentheses. For example,
5693 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 5729 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
5694 * expressions are treated as AND expressions meaning that resources must 5730 * expressions are treated as AND expressions, meaning that resources must
5695 * match all expressions to pass the filters. 5731 * match all expressions to pass the filters.
5696 * 5732 *
5697 * [maxResults] - The maximum number of results per page that Compute Engine 5733 * [maxResults] - The maximum number of results per page that should be
5698 * should return. If the number of available results is larger than 5734 * returned. If the number of available results is larger than maxResults,
5699 * maxResults, Compute Engine returns a nextPageToken that can be used to get 5735 * Compute Engine returns a nextPageToken that can be used to get the next
5700 * the next page of results in subsequent list requests. 5736 * page of results in subsequent list requests.
5701 * Value must be between "0" and "500". 5737 * Value must be between "0" and "500".
5702 * 5738 *
5703 * [pageToken] - Specifies a page token to use. Set pageToken to the 5739 * [pageToken] - Specifies a page token to use. Set pageToken to the
5704 * nextPageToken returned by a previous list request to get the next page of 5740 * nextPageToken returned by a previous list request to get the next page of
5705 * results. 5741 * results.
5706 * 5742 *
5707 * Completes with a [InstanceGroupsListInstances]. 5743 * Completes with a [InstanceGroupsListInstances].
5708 * 5744 *
5709 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 5745 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
5710 * error. 5746 * error.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
5872 } 5908 }
5873 5909
5874 5910
5875 class InstanceTemplatesResourceApi { 5911 class InstanceTemplatesResourceApi {
5876 final commons.ApiRequester _requester; 5912 final commons.ApiRequester _requester;
5877 5913
5878 InstanceTemplatesResourceApi(commons.ApiRequester client) : 5914 InstanceTemplatesResourceApi(commons.ApiRequester client) :
5879 _requester = client; 5915 _requester = client;
5880 5916
5881 /** 5917 /**
5882 * Deletes the specified instance template. 5918 * Deletes the specified instance template. If you delete an instance template
5919 * that is being referenced from another instance group, the instance group
5920 * will not be able to create or recreate virtual machine instances. Deleting
5921 * an instance template is permanent and cannot be undone.
5883 * 5922 *
5884 * Request parameters: 5923 * Request parameters:
5885 * 5924 *
5886 * [project] - Project ID for this request. 5925 * [project] - Project ID for this request.
5887 * Value must have pattern 5926 * Value must have pattern
5888 * "(?:(?:[-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])?))". 5927 * "(?:(?:[-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])?))".
5889 * 5928 *
5890 * [instanceTemplate] - The name of the instance template to delete. 5929 * [instanceTemplate] - The name of the instance template to delete.
5891 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 5930 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
5892 * 5931 *
(...skipping 26 matching lines...) Expand all
5919 "DELETE", 5958 "DELETE",
5920 body: _body, 5959 body: _body,
5921 queryParams: _queryParams, 5960 queryParams: _queryParams,
5922 uploadOptions: _uploadOptions, 5961 uploadOptions: _uploadOptions,
5923 uploadMedia: _uploadMedia, 5962 uploadMedia: _uploadMedia,
5924 downloadOptions: _downloadOptions); 5963 downloadOptions: _downloadOptions);
5925 return _response.then((data) => new Operation.fromJson(data)); 5964 return _response.then((data) => new Operation.fromJson(data));
5926 } 5965 }
5927 5966
5928 /** 5967 /**
5929 * Returns the specified instance template resource. 5968 * Returns the specified instance template. Get a list of available instance
5969 * templates by making a list() request.
5930 * 5970 *
5931 * Request parameters: 5971 * Request parameters:
5932 * 5972 *
5933 * [project] - Project ID for this request. 5973 * [project] - Project ID for this request.
5934 * Value must have pattern 5974 * Value must have pattern
5935 * "(?:(?:[-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])?))". 5975 * "(?:(?:[-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])?))".
5936 * 5976 *
5937 * [instanceTemplate] - The name of the instance template. 5977 * [instanceTemplate] - The name of the instance template.
5938 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 5978 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
5939 * 5979 *
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
6036 * field_name comparison_string literal_string. 6076 * field_name comparison_string literal_string.
6037 * 6077 *
6038 * The field_name is the name of the field you want to compare. Only atomic 6078 * The field_name is the name of the field you want to compare. Only atomic
6039 * field types are supported (string, number, boolean). The comparison_string 6079 * field types are supported (string, number, boolean). The comparison_string
6040 * must be either eq (equals) or ne (not equals). The literal_string is the 6080 * must be either eq (equals) or ne (not equals). The literal_string is the
6041 * string value to filter to. The literal value must be valid for the type of 6081 * string value to filter to. The literal value must be valid for the type of
6042 * field you are filtering by (string, number, boolean). For string fields, 6082 * field you are filtering by (string, number, boolean). For string fields,
6043 * the literal value is interpreted as a regular expression using RE2 syntax. 6083 * the literal value is interpreted as a regular expression using RE2 syntax.
6044 * The literal value must match the entire field. 6084 * The literal value must match the entire field.
6045 * 6085 *
6046 * For example, filter=name ne example-instance. 6086 * For example, to filter for instances that do not have a name of
6087 * example-instance, you would use filter=name ne example-instance.
6047 * 6088 *
6048 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 6089 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6049 * also filter on nested fields. For example, you could filter on instances 6090 * also filter on nested fields. For example, you could filter on instances
6050 * that have set the scheduling.automaticRestart field to true. In particular, 6091 * that have set the scheduling.automaticRestart field to true. In particular,
6051 * use filtering on nested fields to take advantage of instance labels to 6092 * use filtering on nested fields to take advantage of instance labels to
6052 * organize and filter results based on label values. 6093 * organize and filter results based on label values.
6053 * 6094 *
6054 * The Beta API also supports filtering on multiple expressions by providing 6095 * The Beta API also supports filtering on multiple expressions by providing
6055 * each separate expression within parentheses. For example, 6096 * each separate expression within parentheses. For example,
6056 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 6097 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6057 * expressions are treated as AND expressions meaning that resources must 6098 * expressions are treated as AND expressions, meaning that resources must
6058 * match all expressions to pass the filters. 6099 * match all expressions to pass the filters.
6059 * 6100 *
6060 * [maxResults] - The maximum number of results per page that Compute Engine 6101 * [maxResults] - The maximum number of results per page that should be
6061 * should return. If the number of available results is larger than 6102 * returned. If the number of available results is larger than maxResults,
6062 * maxResults, Compute Engine returns a nextPageToken that can be used to get 6103 * Compute Engine returns a nextPageToken that can be used to get the next
6063 * the next page of results in subsequent list requests. 6104 * page of results in subsequent list requests.
6064 * Value must be between "0" and "500". 6105 * Value must be between "0" and "500".
6065 * 6106 *
6066 * [pageToken] - Specifies a page token to use. Set pageToken to the 6107 * [pageToken] - Specifies a page token to use. Set pageToken to the
6067 * nextPageToken returned by a previous list request to get the next page of 6108 * nextPageToken returned by a previous list request to get the next page of
6068 * results. 6109 * results.
6069 * 6110 *
6070 * Completes with a [InstanceTemplateList]. 6111 * Completes with a [InstanceTemplateList].
6071 * 6112 *
6072 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 6113 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
6073 * error. 6114 * error.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
6176 "POST", 6217 "POST",
6177 body: _body, 6218 body: _body,
6178 queryParams: _queryParams, 6219 queryParams: _queryParams,
6179 uploadOptions: _uploadOptions, 6220 uploadOptions: _uploadOptions,
6180 uploadMedia: _uploadMedia, 6221 uploadMedia: _uploadMedia,
6181 downloadOptions: _downloadOptions); 6222 downloadOptions: _downloadOptions);
6182 return _response.then((data) => new Operation.fromJson(data)); 6223 return _response.then((data) => new Operation.fromJson(data));
6183 } 6224 }
6184 6225
6185 /** 6226 /**
6186 * Retrieves aggregated list of instance resources. 6227 * Retrieves aggregated list of instances.
6187 * 6228 *
6188 * Request parameters: 6229 * Request parameters:
6189 * 6230 *
6190 * [project] - Project ID for this request. 6231 * [project] - Project ID for this request.
6191 * Value must have pattern 6232 * Value must have pattern
6192 * "(?:(?:[-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])?))". 6233 * "(?:(?:[-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])?))".
6193 * 6234 *
6194 * [filter] - Sets a filter expression for filtering listed resources, in the 6235 * [filter] - Sets a filter expression for filtering listed resources, in the
6195 * form filter={expression}. Your {expression} must be in the format: 6236 * form filter={expression}. Your {expression} must be in the format:
6196 * field_name comparison_string literal_string. 6237 * field_name comparison_string literal_string.
6197 * 6238 *
6198 * The field_name is the name of the field you want to compare. Only atomic 6239 * The field_name is the name of the field you want to compare. Only atomic
6199 * field types are supported (string, number, boolean). The comparison_string 6240 * field types are supported (string, number, boolean). The comparison_string
6200 * must be either eq (equals) or ne (not equals). The literal_string is the 6241 * must be either eq (equals) or ne (not equals). The literal_string is the
6201 * string value to filter to. The literal value must be valid for the type of 6242 * string value to filter to. The literal value must be valid for the type of
6202 * field you are filtering by (string, number, boolean). For string fields, 6243 * field you are filtering by (string, number, boolean). For string fields,
6203 * the literal value is interpreted as a regular expression using RE2 syntax. 6244 * the literal value is interpreted as a regular expression using RE2 syntax.
6204 * The literal value must match the entire field. 6245 * The literal value must match the entire field.
6205 * 6246 *
6206 * For example, filter=name ne example-instance. 6247 * For example, to filter for instances that do not have a name of
6248 * example-instance, you would use filter=name ne example-instance.
6207 * 6249 *
6208 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 6250 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6209 * also filter on nested fields. For example, you could filter on instances 6251 * also filter on nested fields. For example, you could filter on instances
6210 * that have set the scheduling.automaticRestart field to true. In particular, 6252 * that have set the scheduling.automaticRestart field to true. In particular,
6211 * use filtering on nested fields to take advantage of instance labels to 6253 * use filtering on nested fields to take advantage of instance labels to
6212 * organize and filter results based on label values. 6254 * organize and filter results based on label values.
6213 * 6255 *
6214 * The Beta API also supports filtering on multiple expressions by providing 6256 * The Beta API also supports filtering on multiple expressions by providing
6215 * each separate expression within parentheses. For example, 6257 * each separate expression within parentheses. For example,
6216 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 6258 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6217 * expressions are treated as AND expressions meaning that resources must 6259 * expressions are treated as AND expressions, meaning that resources must
6218 * match all expressions to pass the filters. 6260 * match all expressions to pass the filters.
6219 * 6261 *
6220 * [maxResults] - The maximum number of results per page that Compute Engine 6262 * [maxResults] - The maximum number of results per page that should be
6221 * should return. If the number of available results is larger than 6263 * returned. If the number of available results is larger than maxResults,
6222 * maxResults, Compute Engine returns a nextPageToken that can be used to get 6264 * Compute Engine returns a nextPageToken that can be used to get the next
6223 * the next page of results in subsequent list requests. 6265 * page of results in subsequent list requests.
6224 * Value must be between "0" and "500". 6266 * Value must be between "0" and "500".
6225 * 6267 *
6226 * [pageToken] - Specifies a page token to use. Set pageToken to the 6268 * [pageToken] - Specifies a page token to use. Set pageToken to the
6227 * nextPageToken returned by a previous list request to get the next page of 6269 * nextPageToken returned by a previous list request to get the next page of
6228 * results. 6270 * results.
6229 * 6271 *
6230 * Completes with a [InstanceAggregatedList]. 6272 * Completes with a [InstanceAggregatedList].
6231 * 6273 *
6232 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 6274 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
6233 * error. 6275 * error.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
6275 * 6317 *
6276 * Request parameters: 6318 * Request parameters:
6277 * 6319 *
6278 * [project] - Project ID for this request. 6320 * [project] - Project ID for this request.
6279 * Value must have pattern 6321 * Value must have pattern
6280 * "(?:(?:[-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])?))". 6322 * "(?:(?:[-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])?))".
6281 * 6323 *
6282 * [zone] - The name of the zone for this request. 6324 * [zone] - The name of the zone for this request.
6283 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 6325 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
6284 * 6326 *
6285 * [instance] - Instance name. 6327 * [instance] - The instance name for this request.
6286 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 6328 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
6287 * 6329 *
6288 * Completes with a [Operation]. 6330 * Completes with a [Operation].
6289 * 6331 *
6290 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 6332 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
6291 * error. 6333 * error.
6292 * 6334 *
6293 * If the used [http.Client] completes with an error when making a REST call, 6335 * If the used [http.Client] completes with an error when making a REST call,
6294 * this method will complete with the same error. 6336 * this method will complete with the same error.
6295 */ 6337 */
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
6499 "POST", 6541 "POST",
6500 body: _body, 6542 body: _body,
6501 queryParams: _queryParams, 6543 queryParams: _queryParams,
6502 uploadOptions: _uploadOptions, 6544 uploadOptions: _uploadOptions,
6503 uploadMedia: _uploadMedia, 6545 uploadMedia: _uploadMedia,
6504 downloadOptions: _downloadOptions); 6546 downloadOptions: _downloadOptions);
6505 return _response.then((data) => new Operation.fromJson(data)); 6547 return _response.then((data) => new Operation.fromJson(data));
6506 } 6548 }
6507 6549
6508 /** 6550 /**
6509 * Returns the specified instance resource. 6551 * Returns the specified Instance resource. Get a list of available instances
6552 * by making a list() request.
6510 * 6553 *
6511 * Request parameters: 6554 * Request parameters:
6512 * 6555 *
6513 * [project] - Project ID for this request. 6556 * [project] - Project ID for this request.
6514 * Value must have pattern 6557 * Value must have pattern
6515 * "(?:(?:[-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])?))". 6558 * "(?:(?:[-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])?))".
6516 * 6559 *
6517 * [zone] - The name of the zone for this request. 6560 * [zone] - The name of the zone for this request.
6518 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 6561 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
6519 * 6562 *
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
6664 "POST", 6707 "POST",
6665 body: _body, 6708 body: _body,
6666 queryParams: _queryParams, 6709 queryParams: _queryParams,
6667 uploadOptions: _uploadOptions, 6710 uploadOptions: _uploadOptions,
6668 uploadMedia: _uploadMedia, 6711 uploadMedia: _uploadMedia,
6669 downloadOptions: _downloadOptions); 6712 downloadOptions: _downloadOptions);
6670 return _response.then((data) => new Operation.fromJson(data)); 6713 return _response.then((data) => new Operation.fromJson(data));
6671 } 6714 }
6672 6715
6673 /** 6716 /**
6674 * Retrieves the list of instance resources contained within the specified 6717 * Retrieves the list of instances contained within the specified zone.
6675 * zone.
6676 * 6718 *
6677 * Request parameters: 6719 * Request parameters:
6678 * 6720 *
6679 * [project] - Project ID for this request. 6721 * [project] - Project ID for this request.
6680 * Value must have pattern 6722 * Value must have pattern
6681 * "(?:(?:[-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])?))". 6723 * "(?:(?:[-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])?))".
6682 * 6724 *
6683 * [zone] - The name of the zone for this request. 6725 * [zone] - The name of the zone for this request.
6684 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 6726 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
6685 * 6727 *
6686 * [filter] - Sets a filter expression for filtering listed resources, in the 6728 * [filter] - Sets a filter expression for filtering listed resources, in the
6687 * form filter={expression}. Your {expression} must be in the format: 6729 * form filter={expression}. Your {expression} must be in the format:
6688 * field_name comparison_string literal_string. 6730 * field_name comparison_string literal_string.
6689 * 6731 *
6690 * The field_name is the name of the field you want to compare. Only atomic 6732 * The field_name is the name of the field you want to compare. Only atomic
6691 * field types are supported (string, number, boolean). The comparison_string 6733 * field types are supported (string, number, boolean). The comparison_string
6692 * must be either eq (equals) or ne (not equals). The literal_string is the 6734 * must be either eq (equals) or ne (not equals). The literal_string is the
6693 * string value to filter to. The literal value must be valid for the type of 6735 * string value to filter to. The literal value must be valid for the type of
6694 * field you are filtering by (string, number, boolean). For string fields, 6736 * field you are filtering by (string, number, boolean). For string fields,
6695 * the literal value is interpreted as a regular expression using RE2 syntax. 6737 * the literal value is interpreted as a regular expression using RE2 syntax.
6696 * The literal value must match the entire field. 6738 * The literal value must match the entire field.
6697 * 6739 *
6698 * For example, filter=name ne example-instance. 6740 * For example, to filter for instances that do not have a name of
6741 * example-instance, you would use filter=name ne example-instance.
6699 * 6742 *
6700 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 6743 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
6701 * also filter on nested fields. For example, you could filter on instances 6744 * also filter on nested fields. For example, you could filter on instances
6702 * that have set the scheduling.automaticRestart field to true. In particular, 6745 * that have set the scheduling.automaticRestart field to true. In particular,
6703 * use filtering on nested fields to take advantage of instance labels to 6746 * use filtering on nested fields to take advantage of instance labels to
6704 * organize and filter results based on label values. 6747 * organize and filter results based on label values.
6705 * 6748 *
6706 * The Beta API also supports filtering on multiple expressions by providing 6749 * The Beta API also supports filtering on multiple expressions by providing
6707 * each separate expression within parentheses. For example, 6750 * each separate expression within parentheses. For example,
6708 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 6751 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
6709 * expressions are treated as AND expressions meaning that resources must 6752 * expressions are treated as AND expressions, meaning that resources must
6710 * match all expressions to pass the filters. 6753 * match all expressions to pass the filters.
6711 * 6754 *
6712 * [maxResults] - The maximum number of results per page that Compute Engine 6755 * [maxResults] - The maximum number of results per page that should be
6713 * should return. If the number of available results is larger than 6756 * returned. If the number of available results is larger than maxResults,
6714 * maxResults, Compute Engine returns a nextPageToken that can be used to get 6757 * Compute Engine returns a nextPageToken that can be used to get the next
6715 * the next page of results in subsequent list requests. 6758 * page of results in subsequent list requests.
6716 * Value must be between "0" and "500". 6759 * Value must be between "0" and "500".
6717 * 6760 *
6718 * [pageToken] - Specifies a page token to use. Set pageToken to the 6761 * [pageToken] - Specifies a page token to use. Set pageToken to the
6719 * nextPageToken returned by a previous list request to get the next page of 6762 * nextPageToken returned by a previous list request to get the next page of
6720 * results. 6763 * results.
6721 * 6764 *
6722 * Completes with a [InstanceList]. 6765 * Completes with a [InstanceList].
6723 * 6766 *
6724 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 6767 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
6725 * error. 6768 * error.
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
7232 } 7275 }
7233 7276
7234 7277
7235 class LicensesResourceApi { 7278 class LicensesResourceApi {
7236 final commons.ApiRequester _requester; 7279 final commons.ApiRequester _requester;
7237 7280
7238 LicensesResourceApi(commons.ApiRequester client) : 7281 LicensesResourceApi(commons.ApiRequester client) :
7239 _requester = client; 7282 _requester = client;
7240 7283
7241 /** 7284 /**
7242 * Returns the specified license resource. 7285 * Returns the specified License resource. Get a list of available licenses by
7286 * making a list() request.
7243 * 7287 *
7244 * Request parameters: 7288 * Request parameters:
7245 * 7289 *
7246 * [project] - Project ID for this request. 7290 * [project] - Project ID for this request.
7247 * Value must have pattern 7291 * Value must have pattern
7248 * "(?:(?:[-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])?))". 7292 * "(?:(?:[-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])?))".
7249 * 7293 *
7250 * [license] - Name of the license resource to return. 7294 * [license] - Name of the License resource to return.
7251 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 7295 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
7252 * 7296 *
7253 * Completes with a [License]. 7297 * Completes with a [License].
7254 * 7298 *
7255 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7299 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7256 * error. 7300 * error.
7257 * 7301 *
7258 * If the used [http.Client] completes with an error when making a REST call, 7302 * If the used [http.Client] completes with an error when making a REST call,
7259 * this method will complete with the same error. 7303 * this method will complete with the same error.
7260 */ 7304 */
(...skipping 27 matching lines...) Expand all
7288 } 7332 }
7289 7333
7290 7334
7291 class MachineTypesResourceApi { 7335 class MachineTypesResourceApi {
7292 final commons.ApiRequester _requester; 7336 final commons.ApiRequester _requester;
7293 7337
7294 MachineTypesResourceApi(commons.ApiRequester client) : 7338 MachineTypesResourceApi(commons.ApiRequester client) :
7295 _requester = client; 7339 _requester = client;
7296 7340
7297 /** 7341 /**
7298 * Retrieves an aggregated list of machine type resources. 7342 * Retrieves an aggregated list of machine types.
7299 * 7343 *
7300 * Request parameters: 7344 * Request parameters:
7301 * 7345 *
7302 * [project] - Project ID for this request. 7346 * [project] - Project ID for this request.
7303 * Value must have pattern 7347 * Value must have pattern
7304 * "(?:(?:[-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])?))". 7348 * "(?:(?:[-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])?))".
7305 * 7349 *
7306 * [filter] - Sets a filter expression for filtering listed resources, in the 7350 * [filter] - Sets a filter expression for filtering listed resources, in the
7307 * form filter={expression}. Your {expression} must be in the format: 7351 * form filter={expression}. Your {expression} must be in the format:
7308 * field_name comparison_string literal_string. 7352 * field_name comparison_string literal_string.
7309 * 7353 *
7310 * The field_name is the name of the field you want to compare. Only atomic 7354 * The field_name is the name of the field you want to compare. Only atomic
7311 * field types are supported (string, number, boolean). The comparison_string 7355 * field types are supported (string, number, boolean). The comparison_string
7312 * must be either eq (equals) or ne (not equals). The literal_string is the 7356 * must be either eq (equals) or ne (not equals). The literal_string is the
7313 * string value to filter to. The literal value must be valid for the type of 7357 * string value to filter to. The literal value must be valid for the type of
7314 * field you are filtering by (string, number, boolean). For string fields, 7358 * field you are filtering by (string, number, boolean). For string fields,
7315 * the literal value is interpreted as a regular expression using RE2 syntax. 7359 * the literal value is interpreted as a regular expression using RE2 syntax.
7316 * The literal value must match the entire field. 7360 * The literal value must match the entire field.
7317 * 7361 *
7318 * For example, filter=name ne example-instance. 7362 * For example, to filter for instances that do not have a name of
7363 * example-instance, you would use filter=name ne example-instance.
7319 * 7364 *
7320 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 7365 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7321 * also filter on nested fields. For example, you could filter on instances 7366 * also filter on nested fields. For example, you could filter on instances
7322 * that have set the scheduling.automaticRestart field to true. In particular, 7367 * that have set the scheduling.automaticRestart field to true. In particular,
7323 * use filtering on nested fields to take advantage of instance labels to 7368 * use filtering on nested fields to take advantage of instance labels to
7324 * organize and filter results based on label values. 7369 * organize and filter results based on label values.
7325 * 7370 *
7326 * The Beta API also supports filtering on multiple expressions by providing 7371 * The Beta API also supports filtering on multiple expressions by providing
7327 * each separate expression within parentheses. For example, 7372 * each separate expression within parentheses. For example,
7328 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 7373 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7329 * expressions are treated as AND expressions meaning that resources must 7374 * expressions are treated as AND expressions, meaning that resources must
7330 * match all expressions to pass the filters. 7375 * match all expressions to pass the filters.
7331 * 7376 *
7332 * [maxResults] - The maximum number of results per page that Compute Engine 7377 * [maxResults] - The maximum number of results per page that should be
7333 * should return. If the number of available results is larger than 7378 * returned. If the number of available results is larger than maxResults,
7334 * maxResults, Compute Engine returns a nextPageToken that can be used to get 7379 * Compute Engine returns a nextPageToken that can be used to get the next
7335 * the next page of results in subsequent list requests. 7380 * page of results in subsequent list requests.
7336 * Value must be between "0" and "500". 7381 * Value must be between "0" and "500".
7337 * 7382 *
7338 * [pageToken] - Specifies a page token to use. Set pageToken to the 7383 * [pageToken] - Specifies a page token to use. Set pageToken to the
7339 * nextPageToken returned by a previous list request to get the next page of 7384 * nextPageToken returned by a previous list request to get the next page of
7340 * results. 7385 * results.
7341 * 7386 *
7342 * Completes with a [MachineTypeAggregatedList]. 7387 * Completes with a [MachineTypeAggregatedList].
7343 * 7388 *
7344 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7389 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7345 * error. 7390 * error.
(...skipping 28 matching lines...) Expand all
7374 "GET", 7419 "GET",
7375 body: _body, 7420 body: _body,
7376 queryParams: _queryParams, 7421 queryParams: _queryParams,
7377 uploadOptions: _uploadOptions, 7422 uploadOptions: _uploadOptions,
7378 uploadMedia: _uploadMedia, 7423 uploadMedia: _uploadMedia,
7379 downloadOptions: _downloadOptions); 7424 downloadOptions: _downloadOptions);
7380 return _response.then((data) => new MachineTypeAggregatedList.fromJson(data) ); 7425 return _response.then((data) => new MachineTypeAggregatedList.fromJson(data) );
7381 } 7426 }
7382 7427
7383 /** 7428 /**
7384 * Returns the specified machine type resource. 7429 * Returns the specified machine type. Get a list of available machine types
7430 * by making a list() request.
7385 * 7431 *
7386 * Request parameters: 7432 * Request parameters:
7387 * 7433 *
7388 * [project] - Project ID for this request. 7434 * [project] - Project ID for this request.
7389 * Value must have pattern 7435 * Value must have pattern
7390 * "(?:(?:[-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])?))". 7436 * "(?:(?:[-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])?))".
7391 * 7437 *
7392 * [zone] - The name of the zone for this request. 7438 * [zone] - The name of the zone for this request.
7393 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 7439 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
7394 * 7440 *
7395 * [machineType] - Name of the machine type resource to return. 7441 * [machineType] - Name of the machine type to return.
7396 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 7442 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
7397 * 7443 *
7398 * Completes with a [MachineType]. 7444 * Completes with a [MachineType].
7399 * 7445 *
7400 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7446 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7401 * error. 7447 * error.
7402 * 7448 *
7403 * If the used [http.Client] completes with an error when making a REST call, 7449 * If the used [http.Client] completes with an error when making a REST call,
7404 * this method will complete with the same error. 7450 * this method will complete with the same error.
7405 */ 7451 */
(...skipping 21 matching lines...) Expand all
7427 "GET", 7473 "GET",
7428 body: _body, 7474 body: _body,
7429 queryParams: _queryParams, 7475 queryParams: _queryParams,
7430 uploadOptions: _uploadOptions, 7476 uploadOptions: _uploadOptions,
7431 uploadMedia: _uploadMedia, 7477 uploadMedia: _uploadMedia,
7432 downloadOptions: _downloadOptions); 7478 downloadOptions: _downloadOptions);
7433 return _response.then((data) => new MachineType.fromJson(data)); 7479 return _response.then((data) => new MachineType.fromJson(data));
7434 } 7480 }
7435 7481
7436 /** 7482 /**
7437 * Retrieves a list of machine type resources available to the specified 7483 * Retrieves a list of machine types available to the specified project.
7438 * project.
7439 * 7484 *
7440 * Request parameters: 7485 * Request parameters:
7441 * 7486 *
7442 * [project] - Project ID for this request. 7487 * [project] - Project ID for this request.
7443 * Value must have pattern 7488 * Value must have pattern
7444 * "(?:(?:[-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])?))". 7489 * "(?:(?:[-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])?))".
7445 * 7490 *
7446 * [zone] - The name of the zone for this request. 7491 * [zone] - The name of the zone for this request.
7447 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 7492 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
7448 * 7493 *
7449 * [filter] - Sets a filter expression for filtering listed resources, in the 7494 * [filter] - Sets a filter expression for filtering listed resources, in the
7450 * form filter={expression}. Your {expression} must be in the format: 7495 * form filter={expression}. Your {expression} must be in the format:
7451 * field_name comparison_string literal_string. 7496 * field_name comparison_string literal_string.
7452 * 7497 *
7453 * The field_name is the name of the field you want to compare. Only atomic 7498 * The field_name is the name of the field you want to compare. Only atomic
7454 * field types are supported (string, number, boolean). The comparison_string 7499 * field types are supported (string, number, boolean). The comparison_string
7455 * must be either eq (equals) or ne (not equals). The literal_string is the 7500 * must be either eq (equals) or ne (not equals). The literal_string is the
7456 * string value to filter to. The literal value must be valid for the type of 7501 * string value to filter to. The literal value must be valid for the type of
7457 * field you are filtering by (string, number, boolean). For string fields, 7502 * field you are filtering by (string, number, boolean). For string fields,
7458 * the literal value is interpreted as a regular expression using RE2 syntax. 7503 * the literal value is interpreted as a regular expression using RE2 syntax.
7459 * The literal value must match the entire field. 7504 * The literal value must match the entire field.
7460 * 7505 *
7461 * For example, filter=name ne example-instance. 7506 * For example, to filter for instances that do not have a name of
7507 * example-instance, you would use filter=name ne example-instance.
7462 * 7508 *
7463 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 7509 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7464 * also filter on nested fields. For example, you could filter on instances 7510 * also filter on nested fields. For example, you could filter on instances
7465 * that have set the scheduling.automaticRestart field to true. In particular, 7511 * that have set the scheduling.automaticRestart field to true. In particular,
7466 * use filtering on nested fields to take advantage of instance labels to 7512 * use filtering on nested fields to take advantage of instance labels to
7467 * organize and filter results based on label values. 7513 * organize and filter results based on label values.
7468 * 7514 *
7469 * The Beta API also supports filtering on multiple expressions by providing 7515 * The Beta API also supports filtering on multiple expressions by providing
7470 * each separate expression within parentheses. For example, 7516 * each separate expression within parentheses. For example,
7471 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 7517 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7472 * expressions are treated as AND expressions meaning that resources must 7518 * expressions are treated as AND expressions, meaning that resources must
7473 * match all expressions to pass the filters. 7519 * match all expressions to pass the filters.
7474 * 7520 *
7475 * [maxResults] - The maximum number of results per page that Compute Engine 7521 * [maxResults] - The maximum number of results per page that should be
7476 * should return. If the number of available results is larger than 7522 * returned. If the number of available results is larger than maxResults,
7477 * maxResults, Compute Engine returns a nextPageToken that can be used to get 7523 * Compute Engine returns a nextPageToken that can be used to get the next
7478 * the next page of results in subsequent list requests. 7524 * page of results in subsequent list requests.
7479 * Value must be between "0" and "500". 7525 * Value must be between "0" and "500".
7480 * 7526 *
7481 * [pageToken] - Specifies a page token to use. Set pageToken to the 7527 * [pageToken] - Specifies a page token to use. Set pageToken to the
7482 * nextPageToken returned by a previous list request to get the next page of 7528 * nextPageToken returned by a previous list request to get the next page of
7483 * results. 7529 * results.
7484 * 7530 *
7485 * Completes with a [MachineTypeList]. 7531 * Completes with a [MachineTypeList].
7486 * 7532 *
7487 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7533 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7488 * error. 7534 * error.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
7529 } 7575 }
7530 7576
7531 7577
7532 class NetworksResourceApi { 7578 class NetworksResourceApi {
7533 final commons.ApiRequester _requester; 7579 final commons.ApiRequester _requester;
7534 7580
7535 NetworksResourceApi(commons.ApiRequester client) : 7581 NetworksResourceApi(commons.ApiRequester client) :
7536 _requester = client; 7582 _requester = client;
7537 7583
7538 /** 7584 /**
7539 * Deletes the specified network resource. 7585 * Deletes the specified network.
7540 * 7586 *
7541 * Request parameters: 7587 * Request parameters:
7542 * 7588 *
7543 * [project] - Project ID for this request. 7589 * [project] - Project ID for this request.
7544 * Value must have pattern 7590 * Value must have pattern
7545 * "(?:(?:[-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])?))". 7591 * "(?:(?:[-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])?))".
7546 * 7592 *
7547 * [network] - Name of the network resource to delete. 7593 * [network] - Name of the network to delete.
7548 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 7594 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
7549 * 7595 *
7550 * Completes with a [Operation]. 7596 * Completes with a [Operation].
7551 * 7597 *
7552 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7598 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7553 * error. 7599 * error.
7554 * 7600 *
7555 * If the used [http.Client] completes with an error when making a REST call, 7601 * If the used [http.Client] completes with an error when making a REST call,
7556 * this method will complete with the same error. 7602 * this method will complete with the same error.
7557 */ 7603 */
(...skipping 18 matching lines...) Expand all
7576 "DELETE", 7622 "DELETE",
7577 body: _body, 7623 body: _body,
7578 queryParams: _queryParams, 7624 queryParams: _queryParams,
7579 uploadOptions: _uploadOptions, 7625 uploadOptions: _uploadOptions,
7580 uploadMedia: _uploadMedia, 7626 uploadMedia: _uploadMedia,
7581 downloadOptions: _downloadOptions); 7627 downloadOptions: _downloadOptions);
7582 return _response.then((data) => new Operation.fromJson(data)); 7628 return _response.then((data) => new Operation.fromJson(data));
7583 } 7629 }
7584 7630
7585 /** 7631 /**
7586 * Returns the specified network resource. 7632 * Returns the specified network. Get a list of available networks by making a
7633 * list() request.
7587 * 7634 *
7588 * Request parameters: 7635 * Request parameters:
7589 * 7636 *
7590 * [project] - Project ID for this request. 7637 * [project] - Project ID for this request.
7591 * Value must have pattern 7638 * Value must have pattern
7592 * "(?:(?:[-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])?))". 7639 * "(?:(?:[-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])?))".
7593 * 7640 *
7594 * [network] - Name of the network resource to return. 7641 * [network] - Name of the network to return.
7595 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 7642 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
7596 * 7643 *
7597 * Completes with a [Network]. 7644 * Completes with a [Network].
7598 * 7645 *
7599 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7646 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7600 * error. 7647 * error.
7601 * 7648 *
7602 * If the used [http.Client] completes with an error when making a REST call, 7649 * If the used [http.Client] completes with an error when making a REST call,
7603 * this method will complete with the same error. 7650 * this method will complete with the same error.
7604 */ 7651 */
(...skipping 18 matching lines...) Expand all
7623 "GET", 7670 "GET",
7624 body: _body, 7671 body: _body,
7625 queryParams: _queryParams, 7672 queryParams: _queryParams,
7626 uploadOptions: _uploadOptions, 7673 uploadOptions: _uploadOptions,
7627 uploadMedia: _uploadMedia, 7674 uploadMedia: _uploadMedia,
7628 downloadOptions: _downloadOptions); 7675 downloadOptions: _downloadOptions);
7629 return _response.then((data) => new Network.fromJson(data)); 7676 return _response.then((data) => new Network.fromJson(data));
7630 } 7677 }
7631 7678
7632 /** 7679 /**
7633 * Creates a network resource in the specified project using the data included 7680 * Creates a network in the specified project using the data included in the
7634 * in the request. 7681 * request.
7635 * 7682 *
7636 * [request] - The metadata request object. 7683 * [request] - The metadata request object.
7637 * 7684 *
7638 * Request parameters: 7685 * Request parameters:
7639 * 7686 *
7640 * [project] - Project ID for this request. 7687 * [project] - Project ID for this request.
7641 * Value must have pattern 7688 * Value must have pattern
7642 * "(?:(?:[-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])?))". 7689 * "(?:(?:[-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])?))".
7643 * 7690 *
7644 * Completes with a [Operation]. 7691 * Completes with a [Operation].
(...skipping 25 matching lines...) Expand all
7670 "POST", 7717 "POST",
7671 body: _body, 7718 body: _body,
7672 queryParams: _queryParams, 7719 queryParams: _queryParams,
7673 uploadOptions: _uploadOptions, 7720 uploadOptions: _uploadOptions,
7674 uploadMedia: _uploadMedia, 7721 uploadMedia: _uploadMedia,
7675 downloadOptions: _downloadOptions); 7722 downloadOptions: _downloadOptions);
7676 return _response.then((data) => new Operation.fromJson(data)); 7723 return _response.then((data) => new Operation.fromJson(data));
7677 } 7724 }
7678 7725
7679 /** 7726 /**
7680 * Retrieves the list of network resources available to the specified project. 7727 * Retrieves the list of networks available to the specified project.
7681 * 7728 *
7682 * Request parameters: 7729 * Request parameters:
7683 * 7730 *
7684 * [project] - Project ID for this request. 7731 * [project] - Project ID for this request.
7685 * Value must have pattern 7732 * Value must have pattern
7686 * "(?:(?:[-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])?))". 7733 * "(?:(?:[-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])?))".
7687 * 7734 *
7688 * [filter] - Sets a filter expression for filtering listed resources, in the 7735 * [filter] - Sets a filter expression for filtering listed resources, in the
7689 * form filter={expression}. Your {expression} must be in the format: 7736 * form filter={expression}. Your {expression} must be in the format:
7690 * field_name comparison_string literal_string. 7737 * field_name comparison_string literal_string.
7691 * 7738 *
7692 * The field_name is the name of the field you want to compare. Only atomic 7739 * The field_name is the name of the field you want to compare. Only atomic
7693 * field types are supported (string, number, boolean). The comparison_string 7740 * field types are supported (string, number, boolean). The comparison_string
7694 * must be either eq (equals) or ne (not equals). The literal_string is the 7741 * must be either eq (equals) or ne (not equals). The literal_string is the
7695 * string value to filter to. The literal value must be valid for the type of 7742 * string value to filter to. The literal value must be valid for the type of
7696 * field you are filtering by (string, number, boolean). For string fields, 7743 * field you are filtering by (string, number, boolean). For string fields,
7697 * the literal value is interpreted as a regular expression using RE2 syntax. 7744 * the literal value is interpreted as a regular expression using RE2 syntax.
7698 * The literal value must match the entire field. 7745 * The literal value must match the entire field.
7699 * 7746 *
7700 * For example, filter=name ne example-instance. 7747 * For example, to filter for instances that do not have a name of
7748 * example-instance, you would use filter=name ne example-instance.
7701 * 7749 *
7702 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 7750 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
7703 * also filter on nested fields. For example, you could filter on instances 7751 * also filter on nested fields. For example, you could filter on instances
7704 * that have set the scheduling.automaticRestart field to true. In particular, 7752 * that have set the scheduling.automaticRestart field to true. In particular,
7705 * use filtering on nested fields to take advantage of instance labels to 7753 * use filtering on nested fields to take advantage of instance labels to
7706 * organize and filter results based on label values. 7754 * organize and filter results based on label values.
7707 * 7755 *
7708 * The Beta API also supports filtering on multiple expressions by providing 7756 * The Beta API also supports filtering on multiple expressions by providing
7709 * each separate expression within parentheses. For example, 7757 * each separate expression within parentheses. For example,
7710 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 7758 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
7711 * expressions are treated as AND expressions meaning that resources must 7759 * expressions are treated as AND expressions, meaning that resources must
7712 * match all expressions to pass the filters. 7760 * match all expressions to pass the filters.
7713 * 7761 *
7714 * [maxResults] - The maximum number of results per page that Compute Engine 7762 * [maxResults] - The maximum number of results per page that should be
7715 * should return. If the number of available results is larger than 7763 * returned. If the number of available results is larger than maxResults,
7716 * maxResults, Compute Engine returns a nextPageToken that can be used to get 7764 * Compute Engine returns a nextPageToken that can be used to get the next
7717 * the next page of results in subsequent list requests. 7765 * page of results in subsequent list requests.
7718 * Value must be between "0" and "500". 7766 * Value must be between "0" and "500".
7719 * 7767 *
7720 * [pageToken] - Specifies a page token to use. Set pageToken to the 7768 * [pageToken] - Specifies a page token to use. Set pageToken to the
7721 * nextPageToken returned by a previous list request to get the next page of 7769 * nextPageToken returned by a previous list request to get the next page of
7722 * results. 7770 * results.
7723 * 7771 *
7724 * Completes with a [NetworkList]. 7772 * Completes with a [NetworkList].
7725 * 7773 *
7726 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7774 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
7727 * error. 7775 * error.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
7765 } 7813 }
7766 7814
7767 7815
7768 class ProjectsResourceApi { 7816 class ProjectsResourceApi {
7769 final commons.ApiRequester _requester; 7817 final commons.ApiRequester _requester;
7770 7818
7771 ProjectsResourceApi(commons.ApiRequester client) : 7819 ProjectsResourceApi(commons.ApiRequester client) :
7772 _requester = client; 7820 _requester = client;
7773 7821
7774 /** 7822 /**
7775 * Returns the specified project resource. 7823 * Returns the specified Project resource.
7776 * 7824 *
7777 * Request parameters: 7825 * Request parameters:
7778 * 7826 *
7779 * [project] - Project ID for this request. 7827 * [project] - Project ID for this request.
7780 * Value must have pattern 7828 * Value must have pattern
7781 * "(?:(?:[-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])?))". 7829 * "(?:(?:[-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])?))".
7782 * 7830 *
7783 * Completes with a [Project]. 7831 * Completes with a [Project].
7784 * 7832 *
7785 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 7833 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
8011 8059
8012 /** 8060 /**
8013 * Deletes the specified region-specific Operations resource. 8061 * Deletes the specified region-specific Operations resource.
8014 * 8062 *
8015 * Request parameters: 8063 * Request parameters:
8016 * 8064 *
8017 * [project] - Project ID for this request. 8065 * [project] - Project ID for this request.
8018 * Value must have pattern 8066 * Value must have pattern
8019 * "(?:(?:[-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])?))". 8067 * "(?:(?:[-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])?))".
8020 * 8068 *
8021 * [region] - Name of the region scoping this request. 8069 * [region] - Name of the region for this request.
8022 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8070 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8023 * 8071 *
8024 * [operation] - Name of the Operations resource to delete. 8072 * [operation] - Name of the Operations resource to delete.
8025 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8073 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8026 * 8074 *
8027 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8075 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8028 * error. 8076 * error.
8029 * 8077 *
8030 * If the used [http.Client] completes with an error when making a REST call, 8078 * If the used [http.Client] completes with an error when making a REST call,
8031 * this method will complete with the same error. 8079 * this method will complete with the same error.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
8064 8112
8065 /** 8113 /**
8066 * Retrieves the specified region-specific Operations resource. 8114 * Retrieves the specified region-specific Operations resource.
8067 * 8115 *
8068 * Request parameters: 8116 * Request parameters:
8069 * 8117 *
8070 * [project] - Project ID for this request. 8118 * [project] - Project ID for this request.
8071 * Value must have pattern 8119 * Value must have pattern
8072 * "(?:(?:[-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])?))". 8120 * "(?:(?:[-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])?))".
8073 * 8121 *
8074 * [region] - Name of the region scoping this request. 8122 * [region] - Name of the region for this request.
8075 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8123 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8076 * 8124 *
8077 * [operation] - Name of the Operations resource to return. 8125 * [operation] - Name of the Operations resource to return.
8078 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8126 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8079 * 8127 *
8080 * Completes with a [Operation]. 8128 * Completes with a [Operation].
8081 * 8129 *
8082 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8130 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8083 * error. 8131 * error.
8084 * 8132 *
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
8118 /** 8166 /**
8119 * Retrieves a list of Operation resources contained within the specified 8167 * Retrieves a list of Operation resources contained within the specified
8120 * region. 8168 * region.
8121 * 8169 *
8122 * Request parameters: 8170 * Request parameters:
8123 * 8171 *
8124 * [project] - Project ID for this request. 8172 * [project] - Project ID for this request.
8125 * Value must have pattern 8173 * Value must have pattern
8126 * "(?:(?:[-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])?))". 8174 * "(?:(?:[-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])?))".
8127 * 8175 *
8128 * [region] - Name of the region scoping this request. 8176 * [region] - Name of the region for this request.
8129 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8177 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8130 * 8178 *
8131 * [filter] - Sets a filter expression for filtering listed resources, in the 8179 * [filter] - Sets a filter expression for filtering listed resources, in the
8132 * form filter={expression}. Your {expression} must be in the format: 8180 * form filter={expression}. Your {expression} must be in the format:
8133 * field_name comparison_string literal_string. 8181 * field_name comparison_string literal_string.
8134 * 8182 *
8135 * The field_name is the name of the field you want to compare. Only atomic 8183 * The field_name is the name of the field you want to compare. Only atomic
8136 * field types are supported (string, number, boolean). The comparison_string 8184 * field types are supported (string, number, boolean). The comparison_string
8137 * must be either eq (equals) or ne (not equals). The literal_string is the 8185 * must be either eq (equals) or ne (not equals). The literal_string is the
8138 * string value to filter to. The literal value must be valid for the type of 8186 * string value to filter to. The literal value must be valid for the type of
8139 * field you are filtering by (string, number, boolean). For string fields, 8187 * field you are filtering by (string, number, boolean). For string fields,
8140 * the literal value is interpreted as a regular expression using RE2 syntax. 8188 * the literal value is interpreted as a regular expression using RE2 syntax.
8141 * The literal value must match the entire field. 8189 * The literal value must match the entire field.
8142 * 8190 *
8143 * For example, filter=name ne example-instance. 8191 * For example, to filter for instances that do not have a name of
8192 * example-instance, you would use filter=name ne example-instance.
8144 * 8193 *
8145 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 8194 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8146 * also filter on nested fields. For example, you could filter on instances 8195 * also filter on nested fields. For example, you could filter on instances
8147 * that have set the scheduling.automaticRestart field to true. In particular, 8196 * that have set the scheduling.automaticRestart field to true. In particular,
8148 * use filtering on nested fields to take advantage of instance labels to 8197 * use filtering on nested fields to take advantage of instance labels to
8149 * organize and filter results based on label values. 8198 * organize and filter results based on label values.
8150 * 8199 *
8151 * The Beta API also supports filtering on multiple expressions by providing 8200 * The Beta API also supports filtering on multiple expressions by providing
8152 * each separate expression within parentheses. For example, 8201 * each separate expression within parentheses. For example,
8153 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 8202 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8154 * expressions are treated as AND expressions meaning that resources must 8203 * expressions are treated as AND expressions, meaning that resources must
8155 * match all expressions to pass the filters. 8204 * match all expressions to pass the filters.
8156 * 8205 *
8157 * [maxResults] - The maximum number of results per page that Compute Engine 8206 * [maxResults] - The maximum number of results per page that should be
8158 * should return. If the number of available results is larger than 8207 * returned. If the number of available results is larger than maxResults,
8159 * maxResults, Compute Engine returns a nextPageToken that can be used to get 8208 * Compute Engine returns a nextPageToken that can be used to get the next
8160 * the next page of results in subsequent list requests. 8209 * page of results in subsequent list requests.
8161 * Value must be between "0" and "500". 8210 * Value must be between "0" and "500".
8162 * 8211 *
8163 * [pageToken] - Specifies a page token to use. Set pageToken to the 8212 * [pageToken] - Specifies a page token to use. Set pageToken to the
8164 * nextPageToken returned by a previous list request to get the next page of 8213 * nextPageToken returned by a previous list request to get the next page of
8165 * results. 8214 * results.
8166 * 8215 *
8167 * Completes with a [OperationList]. 8216 * Completes with a [OperationList].
8168 * 8217 *
8169 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8218 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8170 * error. 8219 * error.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
8211 } 8260 }
8212 8261
8213 8262
8214 class RegionsResourceApi { 8263 class RegionsResourceApi {
8215 final commons.ApiRequester _requester; 8264 final commons.ApiRequester _requester;
8216 8265
8217 RegionsResourceApi(commons.ApiRequester client) : 8266 RegionsResourceApi(commons.ApiRequester client) :
8218 _requester = client; 8267 _requester = client;
8219 8268
8220 /** 8269 /**
8221 * Returns the specified region resource. 8270 * Returns the specified Region resource. Get a list of available regions by
8271 * making a list() request.
8222 * 8272 *
8223 * Request parameters: 8273 * Request parameters:
8224 * 8274 *
8225 * [project] - Project ID for this request. 8275 * [project] - Project ID for this request.
8226 * Value must have pattern 8276 * Value must have pattern
8227 * "(?:(?:[-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])?))". 8277 * "(?:(?:[-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])?))".
8228 * 8278 *
8229 * [region] - Name of the region resource to return. 8279 * [region] - Name of the region resource to return.
8230 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8280 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8231 * 8281 *
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
8278 * field_name comparison_string literal_string. 8328 * field_name comparison_string literal_string.
8279 * 8329 *
8280 * The field_name is the name of the field you want to compare. Only atomic 8330 * The field_name is the name of the field you want to compare. Only atomic
8281 * field types are supported (string, number, boolean). The comparison_string 8331 * field types are supported (string, number, boolean). The comparison_string
8282 * must be either eq (equals) or ne (not equals). The literal_string is the 8332 * must be either eq (equals) or ne (not equals). The literal_string is the
8283 * string value to filter to. The literal value must be valid for the type of 8333 * string value to filter to. The literal value must be valid for the type of
8284 * field you are filtering by (string, number, boolean). For string fields, 8334 * field you are filtering by (string, number, boolean). For string fields,
8285 * the literal value is interpreted as a regular expression using RE2 syntax. 8335 * the literal value is interpreted as a regular expression using RE2 syntax.
8286 * The literal value must match the entire field. 8336 * The literal value must match the entire field.
8287 * 8337 *
8288 * For example, filter=name ne example-instance. 8338 * For example, to filter for instances that do not have a name of
8339 * example-instance, you would use filter=name ne example-instance.
8289 * 8340 *
8290 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 8341 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8291 * also filter on nested fields. For example, you could filter on instances 8342 * also filter on nested fields. For example, you could filter on instances
8292 * that have set the scheduling.automaticRestart field to true. In particular, 8343 * that have set the scheduling.automaticRestart field to true. In particular,
8293 * use filtering on nested fields to take advantage of instance labels to 8344 * use filtering on nested fields to take advantage of instance labels to
8294 * organize and filter results based on label values. 8345 * organize and filter results based on label values.
8295 * 8346 *
8296 * The Beta API also supports filtering on multiple expressions by providing 8347 * The Beta API also supports filtering on multiple expressions by providing
8297 * each separate expression within parentheses. For example, 8348 * each separate expression within parentheses. For example,
8298 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 8349 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8299 * expressions are treated as AND expressions meaning that resources must 8350 * expressions are treated as AND expressions, meaning that resources must
8300 * match all expressions to pass the filters. 8351 * match all expressions to pass the filters.
8301 * 8352 *
8302 * [maxResults] - The maximum number of results per page that Compute Engine 8353 * [maxResults] - The maximum number of results per page that should be
8303 * should return. If the number of available results is larger than 8354 * returned. If the number of available results is larger than maxResults,
8304 * maxResults, Compute Engine returns a nextPageToken that can be used to get 8355 * Compute Engine returns a nextPageToken that can be used to get the next
8305 * the next page of results in subsequent list requests. 8356 * page of results in subsequent list requests.
8306 * Value must be between "0" and "500". 8357 * Value must be between "0" and "500".
8307 * 8358 *
8308 * [pageToken] - Specifies a page token to use. Set pageToken to the 8359 * [pageToken] - Specifies a page token to use. Set pageToken to the
8309 * nextPageToken returned by a previous list request to get the next page of 8360 * nextPageToken returned by a previous list request to get the next page of
8310 * results. 8361 * results.
8311 * 8362 *
8312 * Completes with a [RegionList]. 8363 * Completes with a [RegionList].
8313 * 8364 *
8314 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8365 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8315 * error. 8366 * error.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
8353 } 8404 }
8354 8405
8355 8406
8356 class RoutesResourceApi { 8407 class RoutesResourceApi {
8357 final commons.ApiRequester _requester; 8408 final commons.ApiRequester _requester;
8358 8409
8359 RoutesResourceApi(commons.ApiRequester client) : 8410 RoutesResourceApi(commons.ApiRequester client) :
8360 _requester = client; 8411 _requester = client;
8361 8412
8362 /** 8413 /**
8363 * Deletes the specified route resource. 8414 * Deletes the specified Route resource.
8364 * 8415 *
8365 * Request parameters: 8416 * Request parameters:
8366 * 8417 *
8367 * [project] - Project ID for this request. 8418 * [project] - Project ID for this request.
8368 * Value must have pattern 8419 * Value must have pattern
8369 * "(?:(?:[-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])?))". 8420 * "(?:(?:[-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])?))".
8370 * 8421 *
8371 * [route] - Name of the route resource to delete. 8422 * [route] - Name of the Route resource to delete.
8372 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8423 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8373 * 8424 *
8374 * Completes with a [Operation]. 8425 * Completes with a [Operation].
8375 * 8426 *
8376 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8427 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8377 * error. 8428 * error.
8378 * 8429 *
8379 * If the used [http.Client] completes with an error when making a REST call, 8430 * If the used [http.Client] completes with an error when making a REST call,
8380 * this method will complete with the same error. 8431 * this method will complete with the same error.
8381 */ 8432 */
(...skipping 18 matching lines...) Expand all
8400 "DELETE", 8451 "DELETE",
8401 body: _body, 8452 body: _body,
8402 queryParams: _queryParams, 8453 queryParams: _queryParams,
8403 uploadOptions: _uploadOptions, 8454 uploadOptions: _uploadOptions,
8404 uploadMedia: _uploadMedia, 8455 uploadMedia: _uploadMedia,
8405 downloadOptions: _downloadOptions); 8456 downloadOptions: _downloadOptions);
8406 return _response.then((data) => new Operation.fromJson(data)); 8457 return _response.then((data) => new Operation.fromJson(data));
8407 } 8458 }
8408 8459
8409 /** 8460 /**
8410 * Returns the specified route resource. 8461 * Returns the specified Route resource. Get a list of available routes by
8462 * making a list() request.
8411 * 8463 *
8412 * Request parameters: 8464 * Request parameters:
8413 * 8465 *
8414 * [project] - Project ID for this request. 8466 * [project] - Project ID for this request.
8415 * Value must have pattern 8467 * Value must have pattern
8416 * "(?:(?:[-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])?))". 8468 * "(?:(?:[-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])?))".
8417 * 8469 *
8418 * [route] - Name of the route resource to return. 8470 * [route] - Name of the Route resource to return.
8419 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8471 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8420 * 8472 *
8421 * Completes with a [Route]. 8473 * Completes with a [Route].
8422 * 8474 *
8423 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8475 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8424 * error. 8476 * error.
8425 * 8477 *
8426 * If the used [http.Client] completes with an error when making a REST call, 8478 * If the used [http.Client] completes with an error when making a REST call,
8427 * this method will complete with the same error. 8479 * this method will complete with the same error.
8428 */ 8480 */
(...skipping 18 matching lines...) Expand all
8447 "GET", 8499 "GET",
8448 body: _body, 8500 body: _body,
8449 queryParams: _queryParams, 8501 queryParams: _queryParams,
8450 uploadOptions: _uploadOptions, 8502 uploadOptions: _uploadOptions,
8451 uploadMedia: _uploadMedia, 8503 uploadMedia: _uploadMedia,
8452 downloadOptions: _downloadOptions); 8504 downloadOptions: _downloadOptions);
8453 return _response.then((data) => new Route.fromJson(data)); 8505 return _response.then((data) => new Route.fromJson(data));
8454 } 8506 }
8455 8507
8456 /** 8508 /**
8457 * Creates a route resource in the specified project using the data included 8509 * Creates a Route resource in the specified project using the data included
8458 * in the request. 8510 * in the request.
8459 * 8511 *
8460 * [request] - The metadata request object. 8512 * [request] - The metadata request object.
8461 * 8513 *
8462 * Request parameters: 8514 * Request parameters:
8463 * 8515 *
8464 * [project] - Project ID for this request. 8516 * [project] - Project ID for this request.
8465 * Value must have pattern 8517 * Value must have pattern
8466 * "(?:(?:[-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])?))". 8518 * "(?:(?:[-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])?))".
8467 * 8519 *
(...skipping 26 matching lines...) Expand all
8494 "POST", 8546 "POST",
8495 body: _body, 8547 body: _body,
8496 queryParams: _queryParams, 8548 queryParams: _queryParams,
8497 uploadOptions: _uploadOptions, 8549 uploadOptions: _uploadOptions,
8498 uploadMedia: _uploadMedia, 8550 uploadMedia: _uploadMedia,
8499 downloadOptions: _downloadOptions); 8551 downloadOptions: _downloadOptions);
8500 return _response.then((data) => new Operation.fromJson(data)); 8552 return _response.then((data) => new Operation.fromJson(data));
8501 } 8553 }
8502 8554
8503 /** 8555 /**
8504 * Retrieves the list of route resources available to the specified project. 8556 * Retrieves the list of Route resources available to the specified project.
8505 * 8557 *
8506 * Request parameters: 8558 * Request parameters:
8507 * 8559 *
8508 * [project] - Project ID for this request. 8560 * [project] - Project ID for this request.
8509 * Value must have pattern 8561 * Value must have pattern
8510 * "(?:(?:[-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])?))". 8562 * "(?:(?:[-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])?))".
8511 * 8563 *
8512 * [filter] - Sets a filter expression for filtering listed resources, in the 8564 * [filter] - Sets a filter expression for filtering listed resources, in the
8513 * form filter={expression}. Your {expression} must be in the format: 8565 * form filter={expression}. Your {expression} must be in the format:
8514 * field_name comparison_string literal_string. 8566 * field_name comparison_string literal_string.
8515 * 8567 *
8516 * The field_name is the name of the field you want to compare. Only atomic 8568 * The field_name is the name of the field you want to compare. Only atomic
8517 * field types are supported (string, number, boolean). The comparison_string 8569 * field types are supported (string, number, boolean). The comparison_string
8518 * must be either eq (equals) or ne (not equals). The literal_string is the 8570 * must be either eq (equals) or ne (not equals). The literal_string is the
8519 * string value to filter to. The literal value must be valid for the type of 8571 * string value to filter to. The literal value must be valid for the type of
8520 * field you are filtering by (string, number, boolean). For string fields, 8572 * field you are filtering by (string, number, boolean). For string fields,
8521 * the literal value is interpreted as a regular expression using RE2 syntax. 8573 * the literal value is interpreted as a regular expression using RE2 syntax.
8522 * The literal value must match the entire field. 8574 * The literal value must match the entire field.
8523 * 8575 *
8524 * For example, filter=name ne example-instance. 8576 * For example, to filter for instances that do not have a name of
8577 * example-instance, you would use filter=name ne example-instance.
8525 * 8578 *
8526 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 8579 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8527 * also filter on nested fields. For example, you could filter on instances 8580 * also filter on nested fields. For example, you could filter on instances
8528 * that have set the scheduling.automaticRestart field to true. In particular, 8581 * that have set the scheduling.automaticRestart field to true. In particular,
8529 * use filtering on nested fields to take advantage of instance labels to 8582 * use filtering on nested fields to take advantage of instance labels to
8530 * organize and filter results based on label values. 8583 * organize and filter results based on label values.
8531 * 8584 *
8532 * The Beta API also supports filtering on multiple expressions by providing 8585 * The Beta API also supports filtering on multiple expressions by providing
8533 * each separate expression within parentheses. For example, 8586 * each separate expression within parentheses. For example,
8534 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 8587 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8535 * expressions are treated as AND expressions meaning that resources must 8588 * expressions are treated as AND expressions, meaning that resources must
8536 * match all expressions to pass the filters. 8589 * match all expressions to pass the filters.
8537 * 8590 *
8538 * [maxResults] - The maximum number of results per page that Compute Engine 8591 * [maxResults] - The maximum number of results per page that should be
8539 * should return. If the number of available results is larger than 8592 * returned. If the number of available results is larger than maxResults,
8540 * maxResults, Compute Engine returns a nextPageToken that can be used to get 8593 * Compute Engine returns a nextPageToken that can be used to get the next
8541 * the next page of results in subsequent list requests. 8594 * page of results in subsequent list requests.
8542 * Value must be between "0" and "500". 8595 * Value must be between "0" and "500".
8543 * 8596 *
8544 * [pageToken] - Specifies a page token to use. Set pageToken to the 8597 * [pageToken] - Specifies a page token to use. Set pageToken to the
8545 * nextPageToken returned by a previous list request to get the next page of 8598 * nextPageToken returned by a previous list request to get the next page of
8546 * results. 8599 * results.
8547 * 8600 *
8548 * Completes with a [RouteList]. 8601 * Completes with a [RouteList].
8549 * 8602 *
8550 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8603 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8551 * error. 8604 * error.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
8642 "DELETE", 8695 "DELETE",
8643 body: _body, 8696 body: _body,
8644 queryParams: _queryParams, 8697 queryParams: _queryParams,
8645 uploadOptions: _uploadOptions, 8698 uploadOptions: _uploadOptions,
8646 uploadMedia: _uploadMedia, 8699 uploadMedia: _uploadMedia,
8647 downloadOptions: _downloadOptions); 8700 downloadOptions: _downloadOptions);
8648 return _response.then((data) => new Operation.fromJson(data)); 8701 return _response.then((data) => new Operation.fromJson(data));
8649 } 8702 }
8650 8703
8651 /** 8704 /**
8652 * Returns the specified Snapshot resource. 8705 * Returns the specified Snapshot resource. Get a list of available snapshots
8706 * by making a list() request.
8653 * 8707 *
8654 * Request parameters: 8708 * Request parameters:
8655 * 8709 *
8656 * [project] - Project ID for this request. 8710 * [project] - Project ID for this request.
8657 * Value must have pattern 8711 * Value must have pattern
8658 * "(?:(?:[-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])?))". 8712 * "(?:(?:[-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])?))".
8659 * 8713 *
8660 * [snapshot] - Name of the Snapshot resource to return. 8714 * [snapshot] - Name of the Snapshot resource to return.
8661 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8715 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8662 * 8716 *
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
8710 * field_name comparison_string literal_string. 8764 * field_name comparison_string literal_string.
8711 * 8765 *
8712 * The field_name is the name of the field you want to compare. Only atomic 8766 * The field_name is the name of the field you want to compare. Only atomic
8713 * field types are supported (string, number, boolean). The comparison_string 8767 * field types are supported (string, number, boolean). The comparison_string
8714 * must be either eq (equals) or ne (not equals). The literal_string is the 8768 * must be either eq (equals) or ne (not equals). The literal_string is the
8715 * string value to filter to. The literal value must be valid for the type of 8769 * string value to filter to. The literal value must be valid for the type of
8716 * field you are filtering by (string, number, boolean). For string fields, 8770 * field you are filtering by (string, number, boolean). For string fields,
8717 * the literal value is interpreted as a regular expression using RE2 syntax. 8771 * the literal value is interpreted as a regular expression using RE2 syntax.
8718 * The literal value must match the entire field. 8772 * The literal value must match the entire field.
8719 * 8773 *
8720 * For example, filter=name ne example-instance. 8774 * For example, to filter for instances that do not have a name of
8775 * example-instance, you would use filter=name ne example-instance.
8721 * 8776 *
8722 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 8777 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8723 * also filter on nested fields. For example, you could filter on instances 8778 * also filter on nested fields. For example, you could filter on instances
8724 * that have set the scheduling.automaticRestart field to true. In particular, 8779 * that have set the scheduling.automaticRestart field to true. In particular,
8725 * use filtering on nested fields to take advantage of instance labels to 8780 * use filtering on nested fields to take advantage of instance labels to
8726 * organize and filter results based on label values. 8781 * organize and filter results based on label values.
8727 * 8782 *
8728 * The Beta API also supports filtering on multiple expressions by providing 8783 * The Beta API also supports filtering on multiple expressions by providing
8729 * each separate expression within parentheses. For example, 8784 * each separate expression within parentheses. For example,
8730 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 8785 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8731 * expressions are treated as AND expressions meaning that resources must 8786 * expressions are treated as AND expressions, meaning that resources must
8732 * match all expressions to pass the filters. 8787 * match all expressions to pass the filters.
8733 * 8788 *
8734 * [maxResults] - The maximum number of results per page that Compute Engine 8789 * [maxResults] - The maximum number of results per page that should be
8735 * should return. If the number of available results is larger than 8790 * returned. If the number of available results is larger than maxResults,
8736 * maxResults, Compute Engine returns a nextPageToken that can be used to get 8791 * Compute Engine returns a nextPageToken that can be used to get the next
8737 * the next page of results in subsequent list requests. 8792 * page of results in subsequent list requests.
8738 * Value must be between "0" and "500". 8793 * Value must be between "0" and "500".
8739 * 8794 *
8740 * [pageToken] - Specifies a page token to use. Set pageToken to the 8795 * [pageToken] - Specifies a page token to use. Set pageToken to the
8741 * nextPageToken returned by a previous list request to get the next page of 8796 * nextPageToken returned by a previous list request to get the next page of
8742 * results. 8797 * results.
8743 * 8798 *
8744 * Completes with a [SnapshotList]. 8799 * Completes with a [SnapshotList].
8745 * 8800 *
8746 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 8801 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8747 * error. 8802 * error.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
8832 "DELETE", 8887 "DELETE",
8833 body: _body, 8888 body: _body,
8834 queryParams: _queryParams, 8889 queryParams: _queryParams,
8835 uploadOptions: _uploadOptions, 8890 uploadOptions: _uploadOptions,
8836 uploadMedia: _uploadMedia, 8891 uploadMedia: _uploadMedia,
8837 downloadOptions: _downloadOptions); 8892 downloadOptions: _downloadOptions);
8838 return _response.then((data) => new Operation.fromJson(data)); 8893 return _response.then((data) => new Operation.fromJson(data));
8839 } 8894 }
8840 8895
8841 /** 8896 /**
8842 * Returns the specified SslCertificate resource. 8897 * Returns the specified SslCertificate resource. Get a list of available SSL
8898 * certificates by making a list() request.
8843 * 8899 *
8844 * Request parameters: 8900 * Request parameters:
8845 * 8901 *
8846 * [project] - Project ID for this request. 8902 * [project] - Project ID for this request.
8847 * Value must have pattern 8903 * Value must have pattern
8848 * "(?:(?:[-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])?))". 8904 * "(?:(?:[-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])?))".
8849 * 8905 *
8850 * [sslCertificate] - Name of the SslCertificate resource to return. 8906 * [sslCertificate] - Name of the SslCertificate resource to return.
8851 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 8907 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
8852 * 8908 *
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
8947 * field_name comparison_string literal_string. 9003 * field_name comparison_string literal_string.
8948 * 9004 *
8949 * The field_name is the name of the field you want to compare. Only atomic 9005 * The field_name is the name of the field you want to compare. Only atomic
8950 * field types are supported (string, number, boolean). The comparison_string 9006 * field types are supported (string, number, boolean). The comparison_string
8951 * must be either eq (equals) or ne (not equals). The literal_string is the 9007 * must be either eq (equals) or ne (not equals). The literal_string is the
8952 * string value to filter to. The literal value must be valid for the type of 9008 * string value to filter to. The literal value must be valid for the type of
8953 * field you are filtering by (string, number, boolean). For string fields, 9009 * field you are filtering by (string, number, boolean). For string fields,
8954 * the literal value is interpreted as a regular expression using RE2 syntax. 9010 * the literal value is interpreted as a regular expression using RE2 syntax.
8955 * The literal value must match the entire field. 9011 * The literal value must match the entire field.
8956 * 9012 *
8957 * For example, filter=name ne example-instance. 9013 * For example, to filter for instances that do not have a name of
9014 * example-instance, you would use filter=name ne example-instance.
8958 * 9015 *
8959 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 9016 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
8960 * also filter on nested fields. For example, you could filter on instances 9017 * also filter on nested fields. For example, you could filter on instances
8961 * that have set the scheduling.automaticRestart field to true. In particular, 9018 * that have set the scheduling.automaticRestart field to true. In particular,
8962 * use filtering on nested fields to take advantage of instance labels to 9019 * use filtering on nested fields to take advantage of instance labels to
8963 * organize and filter results based on label values. 9020 * organize and filter results based on label values.
8964 * 9021 *
8965 * The Beta API also supports filtering on multiple expressions by providing 9022 * The Beta API also supports filtering on multiple expressions by providing
8966 * each separate expression within parentheses. For example, 9023 * each separate expression within parentheses. For example,
8967 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 9024 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
8968 * expressions are treated as AND expressions meaning that resources must 9025 * expressions are treated as AND expressions, meaning that resources must
8969 * match all expressions to pass the filters. 9026 * match all expressions to pass the filters.
8970 * 9027 *
8971 * [maxResults] - The maximum number of results per page that Compute Engine 9028 * [maxResults] - The maximum number of results per page that should be
8972 * should return. If the number of available results is larger than 9029 * returned. If the number of available results is larger than maxResults,
8973 * maxResults, Compute Engine returns a nextPageToken that can be used to get 9030 * Compute Engine returns a nextPageToken that can be used to get the next
8974 * the next page of results in subsequent list requests. 9031 * page of results in subsequent list requests.
8975 * Value must be between "0" and "500". 9032 * Value must be between "0" and "500".
8976 * 9033 *
8977 * [pageToken] - Specifies a page token to use. Set pageToken to the 9034 * [pageToken] - Specifies a page token to use. Set pageToken to the
8978 * nextPageToken returned by a previous list request to get the next page of 9035 * nextPageToken returned by a previous list request to get the next page of
8979 * results. 9036 * results.
8980 * 9037 *
8981 * Completes with a [SslCertificateList]. 9038 * Completes with a [SslCertificateList].
8982 * 9039 *
8983 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9040 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
8984 * error. 9041 * error.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
9042 * field_name comparison_string literal_string. 9099 * field_name comparison_string literal_string.
9043 * 9100 *
9044 * The field_name is the name of the field you want to compare. Only atomic 9101 * The field_name is the name of the field you want to compare. Only atomic
9045 * field types are supported (string, number, boolean). The comparison_string 9102 * field types are supported (string, number, boolean). The comparison_string
9046 * must be either eq (equals) or ne (not equals). The literal_string is the 9103 * must be either eq (equals) or ne (not equals). The literal_string is the
9047 * string value to filter to. The literal value must be valid for the type of 9104 * string value to filter to. The literal value must be valid for the type of
9048 * field you are filtering by (string, number, boolean). For string fields, 9105 * field you are filtering by (string, number, boolean). For string fields,
9049 * the literal value is interpreted as a regular expression using RE2 syntax. 9106 * the literal value is interpreted as a regular expression using RE2 syntax.
9050 * The literal value must match the entire field. 9107 * The literal value must match the entire field.
9051 * 9108 *
9052 * For example, filter=name ne example-instance. 9109 * For example, to filter for instances that do not have a name of
9110 * example-instance, you would use filter=name ne example-instance.
9053 * 9111 *
9054 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 9112 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9055 * also filter on nested fields. For example, you could filter on instances 9113 * also filter on nested fields. For example, you could filter on instances
9056 * that have set the scheduling.automaticRestart field to true. In particular, 9114 * that have set the scheduling.automaticRestart field to true. In particular,
9057 * use filtering on nested fields to take advantage of instance labels to 9115 * use filtering on nested fields to take advantage of instance labels to
9058 * organize and filter results based on label values. 9116 * organize and filter results based on label values.
9059 * 9117 *
9060 * The Beta API also supports filtering on multiple expressions by providing 9118 * The Beta API also supports filtering on multiple expressions by providing
9061 * each separate expression within parentheses. For example, 9119 * each separate expression within parentheses. For example,
9062 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 9120 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9063 * expressions are treated as AND expressions meaning that resources must 9121 * expressions are treated as AND expressions, meaning that resources must
9064 * match all expressions to pass the filters. 9122 * match all expressions to pass the filters.
9065 * 9123 *
9066 * [maxResults] - The maximum number of results per page that Compute Engine 9124 * [maxResults] - The maximum number of results per page that should be
9067 * should return. If the number of available results is larger than 9125 * returned. If the number of available results is larger than maxResults,
9068 * maxResults, Compute Engine returns a nextPageToken that can be used to get 9126 * Compute Engine returns a nextPageToken that can be used to get the next
9069 * the next page of results in subsequent list requests. 9127 * page of results in subsequent list requests.
9070 * Value must be between "0" and "500". 9128 * Value must be between "0" and "500".
9071 * 9129 *
9072 * [pageToken] - Specifies a page token to use. Set pageToken to the 9130 * [pageToken] - Specifies a page token to use. Set pageToken to the
9073 * nextPageToken returned by a previous list request to get the next page of 9131 * nextPageToken returned by a previous list request to get the next page of
9074 * results. 9132 * results.
9075 * 9133 *
9076 * Completes with a [SubnetworkAggregatedList]. 9134 * Completes with a [SubnetworkAggregatedList].
9077 * 9135 *
9078 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9136 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
9079 * error. 9137 * error.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
9161 "DELETE", 9219 "DELETE",
9162 body: _body, 9220 body: _body,
9163 queryParams: _queryParams, 9221 queryParams: _queryParams,
9164 uploadOptions: _uploadOptions, 9222 uploadOptions: _uploadOptions,
9165 uploadMedia: _uploadMedia, 9223 uploadMedia: _uploadMedia,
9166 downloadOptions: _downloadOptions); 9224 downloadOptions: _downloadOptions);
9167 return _response.then((data) => new Operation.fromJson(data)); 9225 return _response.then((data) => new Operation.fromJson(data));
9168 } 9226 }
9169 9227
9170 /** 9228 /**
9171 * Returns the specified subnetwork. 9229 * Returns the specified subnetwork. Get a list of available subnetworks by
9230 * making a list() request.
9172 * 9231 *
9173 * Request parameters: 9232 * Request parameters:
9174 * 9233 *
9175 * [project] - Project ID for this request. 9234 * [project] - Project ID for this request.
9176 * Value must have pattern 9235 * Value must have pattern
9177 * "(?:(?:[-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])?))". 9236 * "(?:(?:[-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])?))".
9178 * 9237 *
9179 * [region] - Name of the region scoping this request. 9238 * [region] - Name of the region scoping this request.
9180 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 9239 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
9181 * 9240 *
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
9290 * field_name comparison_string literal_string. 9349 * field_name comparison_string literal_string.
9291 * 9350 *
9292 * The field_name is the name of the field you want to compare. Only atomic 9351 * The field_name is the name of the field you want to compare. Only atomic
9293 * field types are supported (string, number, boolean). The comparison_string 9352 * field types are supported (string, number, boolean). The comparison_string
9294 * must be either eq (equals) or ne (not equals). The literal_string is the 9353 * must be either eq (equals) or ne (not equals). The literal_string is the
9295 * string value to filter to. The literal value must be valid for the type of 9354 * string value to filter to. The literal value must be valid for the type of
9296 * field you are filtering by (string, number, boolean). For string fields, 9355 * field you are filtering by (string, number, boolean). For string fields,
9297 * the literal value is interpreted as a regular expression using RE2 syntax. 9356 * the literal value is interpreted as a regular expression using RE2 syntax.
9298 * The literal value must match the entire field. 9357 * The literal value must match the entire field.
9299 * 9358 *
9300 * For example, filter=name ne example-instance. 9359 * For example, to filter for instances that do not have a name of
9360 * example-instance, you would use filter=name ne example-instance.
9301 * 9361 *
9302 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 9362 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9303 * also filter on nested fields. For example, you could filter on instances 9363 * also filter on nested fields. For example, you could filter on instances
9304 * that have set the scheduling.automaticRestart field to true. In particular, 9364 * that have set the scheduling.automaticRestart field to true. In particular,
9305 * use filtering on nested fields to take advantage of instance labels to 9365 * use filtering on nested fields to take advantage of instance labels to
9306 * organize and filter results based on label values. 9366 * organize and filter results based on label values.
9307 * 9367 *
9308 * The Beta API also supports filtering on multiple expressions by providing 9368 * The Beta API also supports filtering on multiple expressions by providing
9309 * each separate expression within parentheses. For example, 9369 * each separate expression within parentheses. For example,
9310 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 9370 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9311 * expressions are treated as AND expressions meaning that resources must 9371 * expressions are treated as AND expressions, meaning that resources must
9312 * match all expressions to pass the filters. 9372 * match all expressions to pass the filters.
9313 * 9373 *
9314 * [maxResults] - The maximum number of results per page that Compute Engine 9374 * [maxResults] - The maximum number of results per page that should be
9315 * should return. If the number of available results is larger than 9375 * returned. If the number of available results is larger than maxResults,
9316 * maxResults, Compute Engine returns a nextPageToken that can be used to get 9376 * Compute Engine returns a nextPageToken that can be used to get the next
9317 * the next page of results in subsequent list requests. 9377 * page of results in subsequent list requests.
9318 * Value must be between "0" and "500". 9378 * Value must be between "0" and "500".
9319 * 9379 *
9320 * [pageToken] - Specifies a page token to use. Set pageToken to the 9380 * [pageToken] - Specifies a page token to use. Set pageToken to the
9321 * nextPageToken returned by a previous list request to get the next page of 9381 * nextPageToken returned by a previous list request to get the next page of
9322 * results. 9382 * results.
9323 * 9383 *
9324 * Completes with a [SubnetworkList]. 9384 * Completes with a [SubnetworkList].
9325 * 9385 *
9326 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9386 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
9327 * error. 9387 * error.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
9415 "DELETE", 9475 "DELETE",
9416 body: _body, 9476 body: _body,
9417 queryParams: _queryParams, 9477 queryParams: _queryParams,
9418 uploadOptions: _uploadOptions, 9478 uploadOptions: _uploadOptions,
9419 uploadMedia: _uploadMedia, 9479 uploadMedia: _uploadMedia,
9420 downloadOptions: _downloadOptions); 9480 downloadOptions: _downloadOptions);
9421 return _response.then((data) => new Operation.fromJson(data)); 9481 return _response.then((data) => new Operation.fromJson(data));
9422 } 9482 }
9423 9483
9424 /** 9484 /**
9425 * Returns the specified TargetHttpProxy resource. 9485 * Returns the specified TargetHttpProxy resource. Get a list of available
9486 * target HTTP proxies by making a list() request.
9426 * 9487 *
9427 * Request parameters: 9488 * Request parameters:
9428 * 9489 *
9429 * [project] - Project ID for this request. 9490 * [project] - Project ID for this request.
9430 * Value must have pattern 9491 * Value must have pattern
9431 * "(?:(?:[-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])?))". 9492 * "(?:(?:[-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])?))".
9432 * 9493 *
9433 * [targetHttpProxy] - Name of the TargetHttpProxy resource to return. 9494 * [targetHttpProxy] - Name of the TargetHttpProxy resource to return.
9434 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 9495 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
9435 * 9496 *
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
9530 * field_name comparison_string literal_string. 9591 * field_name comparison_string literal_string.
9531 * 9592 *
9532 * The field_name is the name of the field you want to compare. Only atomic 9593 * The field_name is the name of the field you want to compare. Only atomic
9533 * field types are supported (string, number, boolean). The comparison_string 9594 * field types are supported (string, number, boolean). The comparison_string
9534 * must be either eq (equals) or ne (not equals). The literal_string is the 9595 * must be either eq (equals) or ne (not equals). The literal_string is the
9535 * string value to filter to. The literal value must be valid for the type of 9596 * string value to filter to. The literal value must be valid for the type of
9536 * field you are filtering by (string, number, boolean). For string fields, 9597 * field you are filtering by (string, number, boolean). For string fields,
9537 * the literal value is interpreted as a regular expression using RE2 syntax. 9598 * the literal value is interpreted as a regular expression using RE2 syntax.
9538 * The literal value must match the entire field. 9599 * The literal value must match the entire field.
9539 * 9600 *
9540 * For example, filter=name ne example-instance. 9601 * For example, to filter for instances that do not have a name of
9602 * example-instance, you would use filter=name ne example-instance.
9541 * 9603 *
9542 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 9604 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9543 * also filter on nested fields. For example, you could filter on instances 9605 * also filter on nested fields. For example, you could filter on instances
9544 * that have set the scheduling.automaticRestart field to true. In particular, 9606 * that have set the scheduling.automaticRestart field to true. In particular,
9545 * use filtering on nested fields to take advantage of instance labels to 9607 * use filtering on nested fields to take advantage of instance labels to
9546 * organize and filter results based on label values. 9608 * organize and filter results based on label values.
9547 * 9609 *
9548 * The Beta API also supports filtering on multiple expressions by providing 9610 * The Beta API also supports filtering on multiple expressions by providing
9549 * each separate expression within parentheses. For example, 9611 * each separate expression within parentheses. For example,
9550 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 9612 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9551 * expressions are treated as AND expressions meaning that resources must 9613 * expressions are treated as AND expressions, meaning that resources must
9552 * match all expressions to pass the filters. 9614 * match all expressions to pass the filters.
9553 * 9615 *
9554 * [maxResults] - The maximum number of results per page that Compute Engine 9616 * [maxResults] - The maximum number of results per page that should be
9555 * should return. If the number of available results is larger than 9617 * returned. If the number of available results is larger than maxResults,
9556 * maxResults, Compute Engine returns a nextPageToken that can be used to get 9618 * Compute Engine returns a nextPageToken that can be used to get the next
9557 * the next page of results in subsequent list requests. 9619 * page of results in subsequent list requests.
9558 * Value must be between "0" and "500". 9620 * Value must be between "0" and "500".
9559 * 9621 *
9560 * [pageToken] - Specifies a page token to use. Set pageToken to the 9622 * [pageToken] - Specifies a page token to use. Set pageToken to the
9561 * nextPageToken returned by a previous list request to get the next page of 9623 * nextPageToken returned by a previous list request to get the next page of
9562 * results. 9624 * results.
9563 * 9625 *
9564 * Completes with a [TargetHttpProxyList]. 9626 * Completes with a [TargetHttpProxyList].
9565 * 9627 *
9566 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9628 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
9567 * error. 9629 * error.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
9606 * Changes the URL map for TargetHttpProxy. 9668 * Changes the URL map for TargetHttpProxy.
9607 * 9669 *
9608 * [request] - The metadata request object. 9670 * [request] - The metadata request object.
9609 * 9671 *
9610 * Request parameters: 9672 * Request parameters:
9611 * 9673 *
9612 * [project] - Project ID for this request. 9674 * [project] - Project ID for this request.
9613 * Value must have pattern 9675 * Value must have pattern
9614 * "(?:(?:[-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])?))". 9676 * "(?:(?:[-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])?))".
9615 * 9677 *
9616 * [targetHttpProxy] - Name of the TargetHttpProxy resource whose URL map is 9678 * [targetHttpProxy] - Name of the TargetHttpProxy to set a URL map for.
9617 * to be set.
9618 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 9679 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
9619 * 9680 *
9620 * Completes with a [Operation]. 9681 * Completes with a [Operation].
9621 * 9682 *
9622 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9683 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
9623 * error. 9684 * error.
9624 * 9685 *
9625 * If the used [http.Client] completes with an error when making a REST call, 9686 * If the used [http.Client] completes with an error when making a REST call,
9626 * this method will complete with the same error. 9687 * this method will complete with the same error.
9627 */ 9688 */
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
9705 "DELETE", 9766 "DELETE",
9706 body: _body, 9767 body: _body,
9707 queryParams: _queryParams, 9768 queryParams: _queryParams,
9708 uploadOptions: _uploadOptions, 9769 uploadOptions: _uploadOptions,
9709 uploadMedia: _uploadMedia, 9770 uploadMedia: _uploadMedia,
9710 downloadOptions: _downloadOptions); 9771 downloadOptions: _downloadOptions);
9711 return _response.then((data) => new Operation.fromJson(data)); 9772 return _response.then((data) => new Operation.fromJson(data));
9712 } 9773 }
9713 9774
9714 /** 9775 /**
9715 * Returns the specified TargetHttpsProxy resource. 9776 * Returns the specified TargetHttpsProxy resource. Get a list of available
9777 * target HTTPS proxies by making a list() request.
9716 * 9778 *
9717 * Request parameters: 9779 * Request parameters:
9718 * 9780 *
9719 * [project] - Project ID for this request. 9781 * [project] - Project ID for this request.
9720 * Value must have pattern 9782 * Value must have pattern
9721 * "(?:(?:[-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])?))". 9783 * "(?:(?:[-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])?))".
9722 * 9784 *
9723 * [targetHttpsProxy] - Name of the TargetHttpsProxy resource to return. 9785 * [targetHttpsProxy] - Name of the TargetHttpsProxy resource to return.
9724 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 9786 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
9725 * 9787 *
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
9820 * field_name comparison_string literal_string. 9882 * field_name comparison_string literal_string.
9821 * 9883 *
9822 * The field_name is the name of the field you want to compare. Only atomic 9884 * The field_name is the name of the field you want to compare. Only atomic
9823 * field types are supported (string, number, boolean). The comparison_string 9885 * field types are supported (string, number, boolean). The comparison_string
9824 * must be either eq (equals) or ne (not equals). The literal_string is the 9886 * must be either eq (equals) or ne (not equals). The literal_string is the
9825 * string value to filter to. The literal value must be valid for the type of 9887 * string value to filter to. The literal value must be valid for the type of
9826 * field you are filtering by (string, number, boolean). For string fields, 9888 * field you are filtering by (string, number, boolean). For string fields,
9827 * the literal value is interpreted as a regular expression using RE2 syntax. 9889 * the literal value is interpreted as a regular expression using RE2 syntax.
9828 * The literal value must match the entire field. 9890 * The literal value must match the entire field.
9829 * 9891 *
9830 * For example, filter=name ne example-instance. 9892 * For example, to filter for instances that do not have a name of
9893 * example-instance, you would use filter=name ne example-instance.
9831 * 9894 *
9832 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 9895 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
9833 * also filter on nested fields. For example, you could filter on instances 9896 * also filter on nested fields. For example, you could filter on instances
9834 * that have set the scheduling.automaticRestart field to true. In particular, 9897 * that have set the scheduling.automaticRestart field to true. In particular,
9835 * use filtering on nested fields to take advantage of instance labels to 9898 * use filtering on nested fields to take advantage of instance labels to
9836 * organize and filter results based on label values. 9899 * organize and filter results based on label values.
9837 * 9900 *
9838 * The Beta API also supports filtering on multiple expressions by providing 9901 * The Beta API also supports filtering on multiple expressions by providing
9839 * each separate expression within parentheses. For example, 9902 * each separate expression within parentheses. For example,
9840 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 9903 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
9841 * expressions are treated as AND expressions meaning that resources must 9904 * expressions are treated as AND expressions, meaning that resources must
9842 * match all expressions to pass the filters. 9905 * match all expressions to pass the filters.
9843 * 9906 *
9844 * [maxResults] - The maximum number of results per page that Compute Engine 9907 * [maxResults] - The maximum number of results per page that should be
9845 * should return. If the number of available results is larger than 9908 * returned. If the number of available results is larger than maxResults,
9846 * maxResults, Compute Engine returns a nextPageToken that can be used to get 9909 * Compute Engine returns a nextPageToken that can be used to get the next
9847 * the next page of results in subsequent list requests. 9910 * page of results in subsequent list requests.
9848 * Value must be between "0" and "500". 9911 * Value must be between "0" and "500".
9849 * 9912 *
9850 * [pageToken] - Specifies a page token to use. Set pageToken to the 9913 * [pageToken] - Specifies a page token to use. Set pageToken to the
9851 * nextPageToken returned by a previous list request to get the next page of 9914 * nextPageToken returned by a previous list request to get the next page of
9852 * results. 9915 * results.
9853 * 9916 *
9854 * Completes with a [TargetHttpsProxyList]. 9917 * Completes with a [TargetHttpsProxyList].
9855 * 9918 *
9856 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9919 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
9857 * error. 9920 * error.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
9896 * Replaces SslCertificates for TargetHttpsProxy. 9959 * Replaces SslCertificates for TargetHttpsProxy.
9897 * 9960 *
9898 * [request] - The metadata request object. 9961 * [request] - The metadata request object.
9899 * 9962 *
9900 * Request parameters: 9963 * Request parameters:
9901 * 9964 *
9902 * [project] - Project ID for this request. 9965 * [project] - Project ID for this request.
9903 * Value must have pattern 9966 * Value must have pattern
9904 * "(?:(?:[-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])?))". 9967 * "(?:(?:[-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])?))".
9905 * 9968 *
9906 * [targetHttpsProxy] - Name of the TargetHttpsProxy resource whose 9969 * [targetHttpsProxy] - Name of the TargetHttpsProxy resource to set an
9907 * SSLCertificate is to be set. 9970 * SslCertificates resource for.
9908 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 9971 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
9909 * 9972 *
9910 * Completes with a [Operation]. 9973 * Completes with a [Operation].
9911 * 9974 *
9912 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 9975 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
9913 * error. 9976 * error.
9914 * 9977 *
9915 * If the used [http.Client] completes with an error when making a REST call, 9978 * If the used [http.Client] completes with an error when making a REST call,
9916 * this method will complete with the same error. 9979 * this method will complete with the same error.
9917 */ 9980 */
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
10021 * field_name comparison_string literal_string. 10084 * field_name comparison_string literal_string.
10022 * 10085 *
10023 * The field_name is the name of the field you want to compare. Only atomic 10086 * The field_name is the name of the field you want to compare. Only atomic
10024 * field types are supported (string, number, boolean). The comparison_string 10087 * field types are supported (string, number, boolean). The comparison_string
10025 * must be either eq (equals) or ne (not equals). The literal_string is the 10088 * must be either eq (equals) or ne (not equals). The literal_string is the
10026 * string value to filter to. The literal value must be valid for the type of 10089 * string value to filter to. The literal value must be valid for the type of
10027 * field you are filtering by (string, number, boolean). For string fields, 10090 * field you are filtering by (string, number, boolean). For string fields,
10028 * the literal value is interpreted as a regular expression using RE2 syntax. 10091 * the literal value is interpreted as a regular expression using RE2 syntax.
10029 * The literal value must match the entire field. 10092 * The literal value must match the entire field.
10030 * 10093 *
10031 * For example, filter=name ne example-instance. 10094 * For example, to filter for instances that do not have a name of
10095 * example-instance, you would use filter=name ne example-instance.
10032 * 10096 *
10033 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 10097 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
10034 * also filter on nested fields. For example, you could filter on instances 10098 * also filter on nested fields. For example, you could filter on instances
10035 * that have set the scheduling.automaticRestart field to true. In particular, 10099 * that have set the scheduling.automaticRestart field to true. In particular,
10036 * use filtering on nested fields to take advantage of instance labels to 10100 * use filtering on nested fields to take advantage of instance labels to
10037 * organize and filter results based on label values. 10101 * organize and filter results based on label values.
10038 * 10102 *
10039 * The Beta API also supports filtering on multiple expressions by providing 10103 * The Beta API also supports filtering on multiple expressions by providing
10040 * each separate expression within parentheses. For example, 10104 * each separate expression within parentheses. For example,
10041 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 10105 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
10042 * expressions are treated as AND expressions meaning that resources must 10106 * expressions are treated as AND expressions, meaning that resources must
10043 * match all expressions to pass the filters. 10107 * match all expressions to pass the filters.
10044 * 10108 *
10045 * [maxResults] - The maximum number of results per page that Compute Engine 10109 * [maxResults] - The maximum number of results per page that should be
10046 * should return. If the number of available results is larger than 10110 * returned. If the number of available results is larger than maxResults,
10047 * maxResults, Compute Engine returns a nextPageToken that can be used to get 10111 * Compute Engine returns a nextPageToken that can be used to get the next
10048 * the next page of results in subsequent list requests. 10112 * page of results in subsequent list requests.
10049 * Value must be between "0" and "500". 10113 * Value must be between "0" and "500".
10050 * 10114 *
10051 * [pageToken] - Specifies a page token to use. Set pageToken to the 10115 * [pageToken] - Specifies a page token to use. Set pageToken to the
10052 * nextPageToken returned by a previous list request to get the next page of 10116 * nextPageToken returned by a previous list request to get the next page of
10053 * results. 10117 * results.
10054 * 10118 *
10055 * Completes with a [TargetInstanceAggregatedList]. 10119 * Completes with a [TargetInstanceAggregatedList].
10056 * 10120 *
10057 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10121 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10058 * error. 10122 * error.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
10140 "DELETE", 10204 "DELETE",
10141 body: _body, 10205 body: _body,
10142 queryParams: _queryParams, 10206 queryParams: _queryParams,
10143 uploadOptions: _uploadOptions, 10207 uploadOptions: _uploadOptions,
10144 uploadMedia: _uploadMedia, 10208 uploadMedia: _uploadMedia,
10145 downloadOptions: _downloadOptions); 10209 downloadOptions: _downloadOptions);
10146 return _response.then((data) => new Operation.fromJson(data)); 10210 return _response.then((data) => new Operation.fromJson(data));
10147 } 10211 }
10148 10212
10149 /** 10213 /**
10150 * Returns the specified TargetInstance resource. 10214 * Returns the specified TargetInstance resource. Get a list of available
10215 * target instances by making a list() request.
10151 * 10216 *
10152 * Request parameters: 10217 * Request parameters:
10153 * 10218 *
10154 * [project] - Project ID for this request. 10219 * [project] - Project ID for this request.
10155 * Value must have pattern 10220 * Value must have pattern
10156 * "(?:(?:[-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])?))". 10221 * "(?:(?:[-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])?))".
10157 * 10222 *
10158 * [zone] - Name of the zone scoping this request. 10223 * [zone] - Name of the zone scoping this request.
10159 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10224 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10160 * 10225 *
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
10270 * field_name comparison_string literal_string. 10335 * field_name comparison_string literal_string.
10271 * 10336 *
10272 * The field_name is the name of the field you want to compare. Only atomic 10337 * The field_name is the name of the field you want to compare. Only atomic
10273 * field types are supported (string, number, boolean). The comparison_string 10338 * field types are supported (string, number, boolean). The comparison_string
10274 * must be either eq (equals) or ne (not equals). The literal_string is the 10339 * must be either eq (equals) or ne (not equals). The literal_string is the
10275 * string value to filter to. The literal value must be valid for the type of 10340 * string value to filter to. The literal value must be valid for the type of
10276 * field you are filtering by (string, number, boolean). For string fields, 10341 * field you are filtering by (string, number, boolean). For string fields,
10277 * the literal value is interpreted as a regular expression using RE2 syntax. 10342 * the literal value is interpreted as a regular expression using RE2 syntax.
10278 * The literal value must match the entire field. 10343 * The literal value must match the entire field.
10279 * 10344 *
10280 * For example, filter=name ne example-instance. 10345 * For example, to filter for instances that do not have a name of
10346 * example-instance, you would use filter=name ne example-instance.
10281 * 10347 *
10282 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 10348 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
10283 * also filter on nested fields. For example, you could filter on instances 10349 * also filter on nested fields. For example, you could filter on instances
10284 * that have set the scheduling.automaticRestart field to true. In particular, 10350 * that have set the scheduling.automaticRestart field to true. In particular,
10285 * use filtering on nested fields to take advantage of instance labels to 10351 * use filtering on nested fields to take advantage of instance labels to
10286 * organize and filter results based on label values. 10352 * organize and filter results based on label values.
10287 * 10353 *
10288 * The Beta API also supports filtering on multiple expressions by providing 10354 * The Beta API also supports filtering on multiple expressions by providing
10289 * each separate expression within parentheses. For example, 10355 * each separate expression within parentheses. For example,
10290 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 10356 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
10291 * expressions are treated as AND expressions meaning that resources must 10357 * expressions are treated as AND expressions, meaning that resources must
10292 * match all expressions to pass the filters. 10358 * match all expressions to pass the filters.
10293 * 10359 *
10294 * [maxResults] - The maximum number of results per page that Compute Engine 10360 * [maxResults] - The maximum number of results per page that should be
10295 * should return. If the number of available results is larger than 10361 * returned. If the number of available results is larger than maxResults,
10296 * maxResults, Compute Engine returns a nextPageToken that can be used to get 10362 * Compute Engine returns a nextPageToken that can be used to get the next
10297 * the next page of results in subsequent list requests. 10363 * page of results in subsequent list requests.
10298 * Value must be between "0" and "500". 10364 * Value must be between "0" and "500".
10299 * 10365 *
10300 * [pageToken] - Specifies a page token to use. Set pageToken to the 10366 * [pageToken] - Specifies a page token to use. Set pageToken to the
10301 * nextPageToken returned by a previous list request to get the next page of 10367 * nextPageToken returned by a previous list request to get the next page of
10302 * results. 10368 * results.
10303 * 10369 *
10304 * Completes with a [TargetInstanceList]. 10370 * Completes with a [TargetInstanceList].
10305 * 10371 *
10306 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10372 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10307 * error. 10373 * error.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
10348 } 10414 }
10349 10415
10350 10416
10351 class TargetPoolsResourceApi { 10417 class TargetPoolsResourceApi {
10352 final commons.ApiRequester _requester; 10418 final commons.ApiRequester _requester;
10353 10419
10354 TargetPoolsResourceApi(commons.ApiRequester client) : 10420 TargetPoolsResourceApi(commons.ApiRequester client) :
10355 _requester = client; 10421 _requester = client;
10356 10422
10357 /** 10423 /**
10358 * Adds health check URL to targetPool. 10424 * Adds health check URLs to a target pool.
10359 * 10425 *
10360 * [request] - The metadata request object. 10426 * [request] - The metadata request object.
10361 * 10427 *
10362 * Request parameters: 10428 * Request parameters:
10363 * 10429 *
10364 * [project] - null 10430 * [project] - Project ID for this request.
10365 * Value must have pattern 10431 * Value must have pattern
10366 * "(?:(?:[-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])?))". 10432 * "(?:(?:[-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])?))".
10367 * 10433 *
10368 * [region] - Name of the region scoping this request. 10434 * [region] - Name of the region scoping this request.
10369 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10435 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10370 * 10436 *
10371 * [targetPool] - Name of the TargetPool resource to which health_check_url is 10437 * [targetPool] - Name of the target pool to add a health check to.
10372 * to be added.
10373 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10438 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10374 * 10439 *
10375 * Completes with a [Operation]. 10440 * Completes with a [Operation].
10376 * 10441 *
10377 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10442 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10378 * error. 10443 * error.
10379 * 10444 *
10380 * If the used [http.Client] completes with an error when making a REST call, 10445 * If the used [http.Client] completes with an error when making a REST call,
10381 * this method will complete with the same error. 10446 * this method will complete with the same error.
10382 */ 10447 */
(...skipping 24 matching lines...) Expand all
10407 "POST", 10472 "POST",
10408 body: _body, 10473 body: _body,
10409 queryParams: _queryParams, 10474 queryParams: _queryParams,
10410 uploadOptions: _uploadOptions, 10475 uploadOptions: _uploadOptions,
10411 uploadMedia: _uploadMedia, 10476 uploadMedia: _uploadMedia,
10412 downloadOptions: _downloadOptions); 10477 downloadOptions: _downloadOptions);
10413 return _response.then((data) => new Operation.fromJson(data)); 10478 return _response.then((data) => new Operation.fromJson(data));
10414 } 10479 }
10415 10480
10416 /** 10481 /**
10417 * Adds instance URL to targetPool. 10482 * Adds an instance to a target pool.
10418 * 10483 *
10419 * [request] - The metadata request object. 10484 * [request] - The metadata request object.
10420 * 10485 *
10421 * Request parameters: 10486 * Request parameters:
10422 * 10487 *
10423 * [project] - null 10488 * [project] - Project ID for this request.
10424 * Value must have pattern 10489 * Value must have pattern
10425 * "(?:(?:[-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])?))". 10490 * "(?:(?:[-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])?))".
10426 * 10491 *
10427 * [region] - Name of the region scoping this request. 10492 * [region] - Name of the region scoping this request.
10428 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10493 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10429 * 10494 *
10430 * [targetPool] - Name of the TargetPool resource to which instance_url is to 10495 * [targetPool] - Name of the TargetPool resource to add instances to.
10431 * be added.
10432 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10496 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10433 * 10497 *
10434 * Completes with a [Operation]. 10498 * Completes with a [Operation].
10435 * 10499 *
10436 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10500 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10437 * error. 10501 * error.
10438 * 10502 *
10439 * If the used [http.Client] completes with an error when making a REST call, 10503 * If the used [http.Client] completes with an error when making a REST call,
10440 * this method will complete with the same error. 10504 * this method will complete with the same error.
10441 */ 10505 */
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
10486 * field_name comparison_string literal_string. 10550 * field_name comparison_string literal_string.
10487 * 10551 *
10488 * The field_name is the name of the field you want to compare. Only atomic 10552 * The field_name is the name of the field you want to compare. Only atomic
10489 * field types are supported (string, number, boolean). The comparison_string 10553 * field types are supported (string, number, boolean). The comparison_string
10490 * must be either eq (equals) or ne (not equals). The literal_string is the 10554 * must be either eq (equals) or ne (not equals). The literal_string is the
10491 * string value to filter to. The literal value must be valid for the type of 10555 * string value to filter to. The literal value must be valid for the type of
10492 * field you are filtering by (string, number, boolean). For string fields, 10556 * field you are filtering by (string, number, boolean). For string fields,
10493 * the literal value is interpreted as a regular expression using RE2 syntax. 10557 * the literal value is interpreted as a regular expression using RE2 syntax.
10494 * The literal value must match the entire field. 10558 * The literal value must match the entire field.
10495 * 10559 *
10496 * For example, filter=name ne example-instance. 10560 * For example, to filter for instances that do not have a name of
10561 * example-instance, you would use filter=name ne example-instance.
10497 * 10562 *
10498 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 10563 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
10499 * also filter on nested fields. For example, you could filter on instances 10564 * also filter on nested fields. For example, you could filter on instances
10500 * that have set the scheduling.automaticRestart field to true. In particular, 10565 * that have set the scheduling.automaticRestart field to true. In particular,
10501 * use filtering on nested fields to take advantage of instance labels to 10566 * use filtering on nested fields to take advantage of instance labels to
10502 * organize and filter results based on label values. 10567 * organize and filter results based on label values.
10503 * 10568 *
10504 * The Beta API also supports filtering on multiple expressions by providing 10569 * The Beta API also supports filtering on multiple expressions by providing
10505 * each separate expression within parentheses. For example, 10570 * each separate expression within parentheses. For example,
10506 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 10571 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
10507 * expressions are treated as AND expressions meaning that resources must 10572 * expressions are treated as AND expressions, meaning that resources must
10508 * match all expressions to pass the filters. 10573 * match all expressions to pass the filters.
10509 * 10574 *
10510 * [maxResults] - The maximum number of results per page that Compute Engine 10575 * [maxResults] - The maximum number of results per page that should be
10511 * should return. If the number of available results is larger than 10576 * returned. If the number of available results is larger than maxResults,
10512 * maxResults, Compute Engine returns a nextPageToken that can be used to get 10577 * Compute Engine returns a nextPageToken that can be used to get the next
10513 * the next page of results in subsequent list requests. 10578 * page of results in subsequent list requests.
10514 * Value must be between "0" and "500". 10579 * Value must be between "0" and "500".
10515 * 10580 *
10516 * [pageToken] - Specifies a page token to use. Set pageToken to the 10581 * [pageToken] - Specifies a page token to use. Set pageToken to the
10517 * nextPageToken returned by a previous list request to get the next page of 10582 * nextPageToken returned by a previous list request to get the next page of
10518 * results. 10583 * results.
10519 * 10584 *
10520 * Completes with a [TargetPoolAggregatedList]. 10585 * Completes with a [TargetPoolAggregatedList].
10521 * 10586 *
10522 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10587 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10523 * error. 10588 * error.
(...skipping 28 matching lines...) Expand all
10552 "GET", 10617 "GET",
10553 body: _body, 10618 body: _body,
10554 queryParams: _queryParams, 10619 queryParams: _queryParams,
10555 uploadOptions: _uploadOptions, 10620 uploadOptions: _uploadOptions,
10556 uploadMedia: _uploadMedia, 10621 uploadMedia: _uploadMedia,
10557 downloadOptions: _downloadOptions); 10622 downloadOptions: _downloadOptions);
10558 return _response.then((data) => new TargetPoolAggregatedList.fromJson(data)) ; 10623 return _response.then((data) => new TargetPoolAggregatedList.fromJson(data)) ;
10559 } 10624 }
10560 10625
10561 /** 10626 /**
10562 * Deletes the specified TargetPool resource. 10627 * Deletes the specified target pool.
10563 * 10628 *
10564 * Request parameters: 10629 * Request parameters:
10565 * 10630 *
10566 * [project] - Project ID for this request. 10631 * [project] - Project ID for this request.
10567 * Value must have pattern 10632 * Value must have pattern
10568 * "(?:(?:[-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])?))". 10633 * "(?:(?:[-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])?))".
10569 * 10634 *
10570 * [region] - Name of the region scoping this request. 10635 * [region] - Name of the region scoping this request.
10571 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10636 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10572 * 10637 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
10605 "DELETE", 10670 "DELETE",
10606 body: _body, 10671 body: _body,
10607 queryParams: _queryParams, 10672 queryParams: _queryParams,
10608 uploadOptions: _uploadOptions, 10673 uploadOptions: _uploadOptions,
10609 uploadMedia: _uploadMedia, 10674 uploadMedia: _uploadMedia,
10610 downloadOptions: _downloadOptions); 10675 downloadOptions: _downloadOptions);
10611 return _response.then((data) => new Operation.fromJson(data)); 10676 return _response.then((data) => new Operation.fromJson(data));
10612 } 10677 }
10613 10678
10614 /** 10679 /**
10615 * Returns the specified TargetPool resource. 10680 * Returns the specified target pool. Get a list of available target pools by
10681 * making a list() request.
10616 * 10682 *
10617 * Request parameters: 10683 * Request parameters:
10618 * 10684 *
10619 * [project] - Project ID for this request. 10685 * [project] - Project ID for this request.
10620 * Value must have pattern 10686 * Value must have pattern
10621 * "(?:(?:[-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])?))". 10687 * "(?:(?:[-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])?))".
10622 * 10688 *
10623 * [region] - Name of the region scoping this request. 10689 * [region] - Name of the region scoping this request.
10624 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10690 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10625 * 10691 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
10658 "GET", 10724 "GET",
10659 body: _body, 10725 body: _body,
10660 queryParams: _queryParams, 10726 queryParams: _queryParams,
10661 uploadOptions: _uploadOptions, 10727 uploadOptions: _uploadOptions,
10662 uploadMedia: _uploadMedia, 10728 uploadMedia: _uploadMedia,
10663 downloadOptions: _downloadOptions); 10729 downloadOptions: _downloadOptions);
10664 return _response.then((data) => new TargetPool.fromJson(data)); 10730 return _response.then((data) => new TargetPool.fromJson(data));
10665 } 10731 }
10666 10732
10667 /** 10733 /**
10668 * Gets the most recent health check results for each IP for the given 10734 * Gets the most recent health check results for each IP for the instance that
10669 * instance that is referenced by the given TargetPool. 10735 * is referenced by the given target pool.
10670 * 10736 *
10671 * [request] - The metadata request object. 10737 * [request] - The metadata request object.
10672 * 10738 *
10673 * Request parameters: 10739 * Request parameters:
10674 * 10740 *
10675 * [project] - null 10741 * [project] - Project ID for this request.
10676 * Value must have pattern 10742 * Value must have pattern
10677 * "(?:(?:[-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])?))". 10743 * "(?:(?:[-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])?))".
10678 * 10744 *
10679 * [region] - Name of the region scoping this request. 10745 * [region] - Name of the region scoping this request.
10680 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10746 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10681 * 10747 *
10682 * [targetPool] - Name of the TargetPool resource to which the queried 10748 * [targetPool] - Name of the TargetPool resource to which the queried
10683 * instance belongs. 10749 * instance belongs.
10684 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10750 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10685 * 10751 *
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
10718 "POST", 10784 "POST",
10719 body: _body, 10785 body: _body,
10720 queryParams: _queryParams, 10786 queryParams: _queryParams,
10721 uploadOptions: _uploadOptions, 10787 uploadOptions: _uploadOptions,
10722 uploadMedia: _uploadMedia, 10788 uploadMedia: _uploadMedia,
10723 downloadOptions: _downloadOptions); 10789 downloadOptions: _downloadOptions);
10724 return _response.then((data) => new TargetPoolInstanceHealth.fromJson(data)) ; 10790 return _response.then((data) => new TargetPoolInstanceHealth.fromJson(data)) ;
10725 } 10791 }
10726 10792
10727 /** 10793 /**
10728 * Creates a TargetPool resource in the specified project and region using the 10794 * Creates a target pool in the specified project and region using the data
10729 * data included in the request. 10795 * included in the request.
10730 * 10796 *
10731 * [request] - The metadata request object. 10797 * [request] - The metadata request object.
10732 * 10798 *
10733 * Request parameters: 10799 * Request parameters:
10734 * 10800 *
10735 * [project] - Project ID for this request. 10801 * [project] - Project ID for this request.
10736 * Value must have pattern 10802 * Value must have pattern
10737 * "(?:(?:[-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])?))". 10803 * "(?:(?:[-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])?))".
10738 * 10804 *
10739 * [region] - Name of the region scoping this request. 10805 * [region] - Name of the region scoping this request.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
10771 "POST", 10837 "POST",
10772 body: _body, 10838 body: _body,
10773 queryParams: _queryParams, 10839 queryParams: _queryParams,
10774 uploadOptions: _uploadOptions, 10840 uploadOptions: _uploadOptions,
10775 uploadMedia: _uploadMedia, 10841 uploadMedia: _uploadMedia,
10776 downloadOptions: _downloadOptions); 10842 downloadOptions: _downloadOptions);
10777 return _response.then((data) => new Operation.fromJson(data)); 10843 return _response.then((data) => new Operation.fromJson(data));
10778 } 10844 }
10779 10845
10780 /** 10846 /**
10781 * Retrieves a list of TargetPool resources available to the specified project 10847 * Retrieves a list of target pools available to the specified project and
10782 * and region. 10848 * region.
10783 * 10849 *
10784 * Request parameters: 10850 * Request parameters:
10785 * 10851 *
10786 * [project] - Project ID for this request. 10852 * [project] - Project ID for this request.
10787 * Value must have pattern 10853 * Value must have pattern
10788 * "(?:(?:[-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])?))". 10854 * "(?:(?:[-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])?))".
10789 * 10855 *
10790 * [region] - Name of the region scoping this request. 10856 * [region] - Name of the region scoping this request.
10791 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10857 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10792 * 10858 *
10793 * [filter] - Sets a filter expression for filtering listed resources, in the 10859 * [filter] - Sets a filter expression for filtering listed resources, in the
10794 * form filter={expression}. Your {expression} must be in the format: 10860 * form filter={expression}. Your {expression} must be in the format:
10795 * field_name comparison_string literal_string. 10861 * field_name comparison_string literal_string.
10796 * 10862 *
10797 * The field_name is the name of the field you want to compare. Only atomic 10863 * The field_name is the name of the field you want to compare. Only atomic
10798 * field types are supported (string, number, boolean). The comparison_string 10864 * field types are supported (string, number, boolean). The comparison_string
10799 * must be either eq (equals) or ne (not equals). The literal_string is the 10865 * must be either eq (equals) or ne (not equals). The literal_string is the
10800 * string value to filter to. The literal value must be valid for the type of 10866 * string value to filter to. The literal value must be valid for the type of
10801 * field you are filtering by (string, number, boolean). For string fields, 10867 * field you are filtering by (string, number, boolean). For string fields,
10802 * the literal value is interpreted as a regular expression using RE2 syntax. 10868 * the literal value is interpreted as a regular expression using RE2 syntax.
10803 * The literal value must match the entire field. 10869 * The literal value must match the entire field.
10804 * 10870 *
10805 * For example, filter=name ne example-instance. 10871 * For example, to filter for instances that do not have a name of
10872 * example-instance, you would use filter=name ne example-instance.
10806 * 10873 *
10807 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 10874 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
10808 * also filter on nested fields. For example, you could filter on instances 10875 * also filter on nested fields. For example, you could filter on instances
10809 * that have set the scheduling.automaticRestart field to true. In particular, 10876 * that have set the scheduling.automaticRestart field to true. In particular,
10810 * use filtering on nested fields to take advantage of instance labels to 10877 * use filtering on nested fields to take advantage of instance labels to
10811 * organize and filter results based on label values. 10878 * organize and filter results based on label values.
10812 * 10879 *
10813 * The Beta API also supports filtering on multiple expressions by providing 10880 * The Beta API also supports filtering on multiple expressions by providing
10814 * each separate expression within parentheses. For example, 10881 * each separate expression within parentheses. For example,
10815 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 10882 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
10816 * expressions are treated as AND expressions meaning that resources must 10883 * expressions are treated as AND expressions, meaning that resources must
10817 * match all expressions to pass the filters. 10884 * match all expressions to pass the filters.
10818 * 10885 *
10819 * [maxResults] - The maximum number of results per page that Compute Engine 10886 * [maxResults] - The maximum number of results per page that should be
10820 * should return. If the number of available results is larger than 10887 * returned. If the number of available results is larger than maxResults,
10821 * maxResults, Compute Engine returns a nextPageToken that can be used to get 10888 * Compute Engine returns a nextPageToken that can be used to get the next
10822 * the next page of results in subsequent list requests. 10889 * page of results in subsequent list requests.
10823 * Value must be between "0" and "500". 10890 * Value must be between "0" and "500".
10824 * 10891 *
10825 * [pageToken] - Specifies a page token to use. Set pageToken to the 10892 * [pageToken] - Specifies a page token to use. Set pageToken to the
10826 * nextPageToken returned by a previous list request to get the next page of 10893 * nextPageToken returned by a previous list request to get the next page of
10827 * results. 10894 * results.
10828 * 10895 *
10829 * Completes with a [TargetPoolList]. 10896 * Completes with a [TargetPoolList].
10830 * 10897 *
10831 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10898 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10832 * error. 10899 * error.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
10864 "GET", 10931 "GET",
10865 body: _body, 10932 body: _body,
10866 queryParams: _queryParams, 10933 queryParams: _queryParams,
10867 uploadOptions: _uploadOptions, 10934 uploadOptions: _uploadOptions,
10868 uploadMedia: _uploadMedia, 10935 uploadMedia: _uploadMedia,
10869 downloadOptions: _downloadOptions); 10936 downloadOptions: _downloadOptions);
10870 return _response.then((data) => new TargetPoolList.fromJson(data)); 10937 return _response.then((data) => new TargetPoolList.fromJson(data));
10871 } 10938 }
10872 10939
10873 /** 10940 /**
10874 * Removes health check URL from targetPool. 10941 * Removes health check URL from a target pool.
10875 * 10942 *
10876 * [request] - The metadata request object. 10943 * [request] - The metadata request object.
10877 * 10944 *
10878 * Request parameters: 10945 * Request parameters:
10879 * 10946 *
10880 * [project] - null 10947 * [project] - Project ID for this request.
10881 * Value must have pattern 10948 * Value must have pattern
10882 * "(?:(?:[-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])?))". 10949 * "(?:(?:[-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])?))".
10883 * 10950 *
10884 * [region] - Name of the region scoping this request. 10951 * [region] - Name of the region for this request.
10885 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10952 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10886 * 10953 *
10887 * [targetPool] - Name of the TargetPool resource to which health_check_url is 10954 * [targetPool] - Name of the target pool to remove health checks from.
10888 * to be removed.
10889 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 10955 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10890 * 10956 *
10891 * Completes with a [Operation]. 10957 * Completes with a [Operation].
10892 * 10958 *
10893 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 10959 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10894 * error. 10960 * error.
10895 * 10961 *
10896 * If the used [http.Client] completes with an error when making a REST call, 10962 * If the used [http.Client] completes with an error when making a REST call,
10897 * this method will complete with the same error. 10963 * this method will complete with the same error.
10898 */ 10964 */
(...skipping 24 matching lines...) Expand all
10923 "POST", 10989 "POST",
10924 body: _body, 10990 body: _body,
10925 queryParams: _queryParams, 10991 queryParams: _queryParams,
10926 uploadOptions: _uploadOptions, 10992 uploadOptions: _uploadOptions,
10927 uploadMedia: _uploadMedia, 10993 uploadMedia: _uploadMedia,
10928 downloadOptions: _downloadOptions); 10994 downloadOptions: _downloadOptions);
10929 return _response.then((data) => new Operation.fromJson(data)); 10995 return _response.then((data) => new Operation.fromJson(data));
10930 } 10996 }
10931 10997
10932 /** 10998 /**
10933 * Removes instance URL from targetPool. 10999 * Removes instance URL from a target pool.
10934 * 11000 *
10935 * [request] - The metadata request object. 11001 * [request] - The metadata request object.
10936 * 11002 *
10937 * Request parameters: 11003 * Request parameters:
10938 * 11004 *
10939 * [project] - null 11005 * [project] - Project ID for this request.
10940 * Value must have pattern 11006 * Value must have pattern
10941 * "(?:(?:[-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])?))". 11007 * "(?:(?:[-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])?))".
10942 * 11008 *
10943 * [region] - Name of the region scoping this request. 11009 * [region] - Name of the region scoping this request.
10944 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11010 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10945 * 11011 *
10946 * [targetPool] - Name of the TargetPool resource to which instance_url is to 11012 * [targetPool] - Name of the TargetPool resource to remove instances from.
10947 * be removed.
10948 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11013 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
10949 * 11014 *
10950 * Completes with a [Operation]. 11015 * Completes with a [Operation].
10951 * 11016 *
10952 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11017 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
10953 * error. 11018 * error.
10954 * 11019 *
10955 * If the used [http.Client] completes with an error when making a REST call, 11020 * If the used [http.Client] completes with an error when making a REST call,
10956 * this method will complete with the same error. 11021 * this method will complete with the same error.
10957 */ 11022 */
(...skipping 24 matching lines...) Expand all
10982 "POST", 11047 "POST",
10983 body: _body, 11048 body: _body,
10984 queryParams: _queryParams, 11049 queryParams: _queryParams,
10985 uploadOptions: _uploadOptions, 11050 uploadOptions: _uploadOptions,
10986 uploadMedia: _uploadMedia, 11051 uploadMedia: _uploadMedia,
10987 downloadOptions: _downloadOptions); 11052 downloadOptions: _downloadOptions);
10988 return _response.then((data) => new Operation.fromJson(data)); 11053 return _response.then((data) => new Operation.fromJson(data));
10989 } 11054 }
10990 11055
10991 /** 11056 /**
10992 * Changes backup pool configurations. 11057 * Changes a backup target pool's configurations.
10993 * 11058 *
10994 * [request] - The metadata request object. 11059 * [request] - The metadata request object.
10995 * 11060 *
10996 * Request parameters: 11061 * Request parameters:
10997 * 11062 *
10998 * [project] - Project ID for this request. 11063 * [project] - Project ID for this request.
10999 * Value must have pattern 11064 * Value must have pattern
11000 * "(?:(?:[-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])?))". 11065 * "(?:(?:[-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])?))".
11001 * 11066 *
11002 * [region] - Name of the region scoping this request. 11067 * [region] - Name of the region scoping this request.
11003 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11068 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11004 * 11069 *
11005 * [targetPool] - Name of the TargetPool resource for which the backup is to 11070 * [targetPool] - Name of the TargetPool resource to set a backup pool for.
11006 * be set.
11007 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11071 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11008 * 11072 *
11009 * [failoverRatio] - New failoverRatio value for the containing target pool. 11073 * [failoverRatio] - New failoverRatio value for the target pool.
11010 * 11074 *
11011 * Completes with a [Operation]. 11075 * Completes with a [Operation].
11012 * 11076 *
11013 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11077 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11014 * error. 11078 * error.
11015 * 11079 *
11016 * If the used [http.Client] completes with an error when making a REST call, 11080 * If the used [http.Client] completes with an error when making a REST call,
11017 * this method will complete with the same error. 11081 * this method will complete with the same error.
11018 */ 11082 */
11019 async.Future<Operation> setBackup(TargetReference request, core.String project , core.String region, core.String targetPool, {core.double failoverRatio}) { 11083 async.Future<Operation> setBackup(TargetReference request, core.String project , core.String region, core.String targetPool, {core.double failoverRatio}) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
11055 } 11119 }
11056 11120
11057 11121
11058 class TargetVpnGatewaysResourceApi { 11122 class TargetVpnGatewaysResourceApi {
11059 final commons.ApiRequester _requester; 11123 final commons.ApiRequester _requester;
11060 11124
11061 TargetVpnGatewaysResourceApi(commons.ApiRequester client) : 11125 TargetVpnGatewaysResourceApi(commons.ApiRequester client) :
11062 _requester = client; 11126 _requester = client;
11063 11127
11064 /** 11128 /**
11065 * Retrieves an aggregated list of target VPN gateways . 11129 * Retrieves an aggregated list of target VPN gateways.
11066 * 11130 *
11067 * Request parameters: 11131 * Request parameters:
11068 * 11132 *
11069 * [project] - Project ID for this request. 11133 * [project] - Project ID for this request.
11070 * Value must have pattern 11134 * Value must have pattern
11071 * "(?:(?:[-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])?))". 11135 * "(?:(?:[-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])?))".
11072 * 11136 *
11073 * [filter] - Sets a filter expression for filtering listed resources, in the 11137 * [filter] - Sets a filter expression for filtering listed resources, in the
11074 * form filter={expression}. Your {expression} must be in the format: 11138 * form filter={expression}. Your {expression} must be in the format:
11075 * field_name comparison_string literal_string. 11139 * field_name comparison_string literal_string.
11076 * 11140 *
11077 * The field_name is the name of the field you want to compare. Only atomic 11141 * The field_name is the name of the field you want to compare. Only atomic
11078 * field types are supported (string, number, boolean). The comparison_string 11142 * field types are supported (string, number, boolean). The comparison_string
11079 * must be either eq (equals) or ne (not equals). The literal_string is the 11143 * must be either eq (equals) or ne (not equals). The literal_string is the
11080 * string value to filter to. The literal value must be valid for the type of 11144 * string value to filter to. The literal value must be valid for the type of
11081 * field you are filtering by (string, number, boolean). For string fields, 11145 * field you are filtering by (string, number, boolean). For string fields,
11082 * the literal value is interpreted as a regular expression using RE2 syntax. 11146 * the literal value is interpreted as a regular expression using RE2 syntax.
11083 * The literal value must match the entire field. 11147 * The literal value must match the entire field.
11084 * 11148 *
11085 * For example, filter=name ne example-instance. 11149 * For example, to filter for instances that do not have a name of
11150 * example-instance, you would use filter=name ne example-instance.
11086 * 11151 *
11087 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 11152 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
11088 * also filter on nested fields. For example, you could filter on instances 11153 * also filter on nested fields. For example, you could filter on instances
11089 * that have set the scheduling.automaticRestart field to true. In particular, 11154 * that have set the scheduling.automaticRestart field to true. In particular,
11090 * use filtering on nested fields to take advantage of instance labels to 11155 * use filtering on nested fields to take advantage of instance labels to
11091 * organize and filter results based on label values. 11156 * organize and filter results based on label values.
11092 * 11157 *
11093 * The Beta API also supports filtering on multiple expressions by providing 11158 * The Beta API also supports filtering on multiple expressions by providing
11094 * each separate expression within parentheses. For example, 11159 * each separate expression within parentheses. For example,
11095 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 11160 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
11096 * expressions are treated as AND expressions meaning that resources must 11161 * expressions are treated as AND expressions, meaning that resources must
11097 * match all expressions to pass the filters. 11162 * match all expressions to pass the filters.
11098 * 11163 *
11099 * [maxResults] - The maximum number of results per page that Compute Engine 11164 * [maxResults] - The maximum number of results per page that should be
11100 * should return. If the number of available results is larger than 11165 * returned. If the number of available results is larger than maxResults,
11101 * maxResults, Compute Engine returns a nextPageToken that can be used to get 11166 * Compute Engine returns a nextPageToken that can be used to get the next
11102 * the next page of results in subsequent list requests. 11167 * page of results in subsequent list requests.
11103 * Value must be between "0" and "500". 11168 * Value must be between "0" and "500".
11104 * 11169 *
11105 * [pageToken] - Specifies a page token to use. Set pageToken to the 11170 * [pageToken] - Specifies a page token to use. Set pageToken to the
11106 * nextPageToken returned by a previous list request to get the next page of 11171 * nextPageToken returned by a previous list request to get the next page of
11107 * results. 11172 * results.
11108 * 11173 *
11109 * Completes with a [TargetVpnGatewayAggregatedList]. 11174 * Completes with a [TargetVpnGatewayAggregatedList].
11110 * 11175 *
11111 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11176 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11112 * error. 11177 * error.
(...skipping 28 matching lines...) Expand all
11141 "GET", 11206 "GET",
11142 body: _body, 11207 body: _body,
11143 queryParams: _queryParams, 11208 queryParams: _queryParams,
11144 uploadOptions: _uploadOptions, 11209 uploadOptions: _uploadOptions,
11145 uploadMedia: _uploadMedia, 11210 uploadMedia: _uploadMedia,
11146 downloadOptions: _downloadOptions); 11211 downloadOptions: _downloadOptions);
11147 return _response.then((data) => new TargetVpnGatewayAggregatedList.fromJson( data)); 11212 return _response.then((data) => new TargetVpnGatewayAggregatedList.fromJson( data));
11148 } 11213 }
11149 11214
11150 /** 11215 /**
11151 * Deletes the specified TargetVpnGateway resource. 11216 * Deletes the specified target VPN gateway.
11152 * 11217 *
11153 * Request parameters: 11218 * Request parameters:
11154 * 11219 *
11155 * [project] - Project ID for this request. 11220 * [project] - Project ID for this request.
11156 * Value must have pattern 11221 * Value must have pattern
11157 * "(?:(?:[-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])?))". 11222 * "(?:(?:[-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])?))".
11158 * 11223 *
11159 * [region] - The name of the region for this request. 11224 * [region] - Name of the region for this request.
11160 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11225 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11161 * 11226 *
11162 * [targetVpnGateway] - Name of the TargetVpnGateway resource to delete. 11227 * [targetVpnGateway] - Name of the target VPN gateway to delete.
11163 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11228 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11164 * 11229 *
11165 * Completes with a [Operation]. 11230 * Completes with a [Operation].
11166 * 11231 *
11167 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11232 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11168 * error. 11233 * error.
11169 * 11234 *
11170 * If the used [http.Client] completes with an error when making a REST call, 11235 * If the used [http.Client] completes with an error when making a REST call,
11171 * this method will complete with the same error. 11236 * this method will complete with the same error.
11172 */ 11237 */
(...skipping 21 matching lines...) Expand all
11194 "DELETE", 11259 "DELETE",
11195 body: _body, 11260 body: _body,
11196 queryParams: _queryParams, 11261 queryParams: _queryParams,
11197 uploadOptions: _uploadOptions, 11262 uploadOptions: _uploadOptions,
11198 uploadMedia: _uploadMedia, 11263 uploadMedia: _uploadMedia,
11199 downloadOptions: _downloadOptions); 11264 downloadOptions: _downloadOptions);
11200 return _response.then((data) => new Operation.fromJson(data)); 11265 return _response.then((data) => new Operation.fromJson(data));
11201 } 11266 }
11202 11267
11203 /** 11268 /**
11204 * Returns the specified TargetVpnGateway resource. 11269 * Returns the specified target VPN gateway. Get a list of available target
11270 * VPN gateways by making a list() request.
11205 * 11271 *
11206 * Request parameters: 11272 * Request parameters:
11207 * 11273 *
11208 * [project] - Project ID for this request. 11274 * [project] - Project ID for this request.
11209 * Value must have pattern 11275 * Value must have pattern
11210 * "(?:(?:[-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])?))". 11276 * "(?:(?:[-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])?))".
11211 * 11277 *
11212 * [region] - The name of the region for this request. 11278 * [region] - Name of the region for this request.
11213 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11279 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11214 * 11280 *
11215 * [targetVpnGateway] - Name of the TargetVpnGateway resource to return. 11281 * [targetVpnGateway] - Name of the target VPN gateway to return.
11216 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11282 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11217 * 11283 *
11218 * Completes with a [TargetVpnGateway]. 11284 * Completes with a [TargetVpnGateway].
11219 * 11285 *
11220 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11286 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11221 * error. 11287 * error.
11222 * 11288 *
11223 * If the used [http.Client] completes with an error when making a REST call, 11289 * If the used [http.Client] completes with an error when making a REST call,
11224 * this method will complete with the same error. 11290 * this method will complete with the same error.
11225 */ 11291 */
(...skipping 21 matching lines...) Expand all
11247 "GET", 11313 "GET",
11248 body: _body, 11314 body: _body,
11249 queryParams: _queryParams, 11315 queryParams: _queryParams,
11250 uploadOptions: _uploadOptions, 11316 uploadOptions: _uploadOptions,
11251 uploadMedia: _uploadMedia, 11317 uploadMedia: _uploadMedia,
11252 downloadOptions: _downloadOptions); 11318 downloadOptions: _downloadOptions);
11253 return _response.then((data) => new TargetVpnGateway.fromJson(data)); 11319 return _response.then((data) => new TargetVpnGateway.fromJson(data));
11254 } 11320 }
11255 11321
11256 /** 11322 /**
11257 * Creates a TargetVpnGateway resource in the specified project and region 11323 * Creates a target VPN gateway in the specified project and region using the
11258 * using the data included in the request. 11324 * data included in the request.
11259 * 11325 *
11260 * [request] - The metadata request object. 11326 * [request] - The metadata request object.
11261 * 11327 *
11262 * Request parameters: 11328 * Request parameters:
11263 * 11329 *
11264 * [project] - Project ID for this request. 11330 * [project] - Project ID for this request.
11265 * Value must have pattern 11331 * Value must have pattern
11266 * "(?:(?:[-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])?))". 11332 * "(?:(?:[-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])?))".
11267 * 11333 *
11268 * [region] - The name of the region for this request. 11334 * [region] - Name of the region for this request.
11269 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11335 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11270 * 11336 *
11271 * Completes with a [Operation]. 11337 * Completes with a [Operation].
11272 * 11338 *
11273 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11339 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11274 * error. 11340 * error.
11275 * 11341 *
11276 * If the used [http.Client] completes with an error when making a REST call, 11342 * If the used [http.Client] completes with an error when making a REST call,
11277 * this method will complete with the same error. 11343 * this method will complete with the same error.
11278 */ 11344 */
(...skipping 21 matching lines...) Expand all
11300 "POST", 11366 "POST",
11301 body: _body, 11367 body: _body,
11302 queryParams: _queryParams, 11368 queryParams: _queryParams,
11303 uploadOptions: _uploadOptions, 11369 uploadOptions: _uploadOptions,
11304 uploadMedia: _uploadMedia, 11370 uploadMedia: _uploadMedia,
11305 downloadOptions: _downloadOptions); 11371 downloadOptions: _downloadOptions);
11306 return _response.then((data) => new Operation.fromJson(data)); 11372 return _response.then((data) => new Operation.fromJson(data));
11307 } 11373 }
11308 11374
11309 /** 11375 /**
11310 * Retrieves a list of TargetVpnGateway resources available to the specified 11376 * Retrieves a list of target VPN gateways available to the specified project
11311 * project and region. 11377 * and region.
11312 * 11378 *
11313 * Request parameters: 11379 * Request parameters:
11314 * 11380 *
11315 * [project] - Project ID for this request. 11381 * [project] - Project ID for this request.
11316 * Value must have pattern 11382 * Value must have pattern
11317 * "(?:(?:[-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])?))". 11383 * "(?:(?:[-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])?))".
11318 * 11384 *
11319 * [region] - The name of the region for this request. 11385 * [region] - Name of the region for this request.
11320 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11386 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11321 * 11387 *
11322 * [filter] - Sets a filter expression for filtering listed resources, in the 11388 * [filter] - Sets a filter expression for filtering listed resources, in the
11323 * form filter={expression}. Your {expression} must be in the format: 11389 * form filter={expression}. Your {expression} must be in the format:
11324 * field_name comparison_string literal_string. 11390 * field_name comparison_string literal_string.
11325 * 11391 *
11326 * The field_name is the name of the field you want to compare. Only atomic 11392 * The field_name is the name of the field you want to compare. Only atomic
11327 * field types are supported (string, number, boolean). The comparison_string 11393 * field types are supported (string, number, boolean). The comparison_string
11328 * must be either eq (equals) or ne (not equals). The literal_string is the 11394 * must be either eq (equals) or ne (not equals). The literal_string is the
11329 * string value to filter to. The literal value must be valid for the type of 11395 * string value to filter to. The literal value must be valid for the type of
11330 * field you are filtering by (string, number, boolean). For string fields, 11396 * field you are filtering by (string, number, boolean). For string fields,
11331 * the literal value is interpreted as a regular expression using RE2 syntax. 11397 * the literal value is interpreted as a regular expression using RE2 syntax.
11332 * The literal value must match the entire field. 11398 * The literal value must match the entire field.
11333 * 11399 *
11334 * For example, filter=name ne example-instance. 11400 * For example, to filter for instances that do not have a name of
11401 * example-instance, you would use filter=name ne example-instance.
11335 * 11402 *
11336 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 11403 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
11337 * also filter on nested fields. For example, you could filter on instances 11404 * also filter on nested fields. For example, you could filter on instances
11338 * that have set the scheduling.automaticRestart field to true. In particular, 11405 * that have set the scheduling.automaticRestart field to true. In particular,
11339 * use filtering on nested fields to take advantage of instance labels to 11406 * use filtering on nested fields to take advantage of instance labels to
11340 * organize and filter results based on label values. 11407 * organize and filter results based on label values.
11341 * 11408 *
11342 * The Beta API also supports filtering on multiple expressions by providing 11409 * The Beta API also supports filtering on multiple expressions by providing
11343 * each separate expression within parentheses. For example, 11410 * each separate expression within parentheses. For example,
11344 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 11411 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
11345 * expressions are treated as AND expressions meaning that resources must 11412 * expressions are treated as AND expressions, meaning that resources must
11346 * match all expressions to pass the filters. 11413 * match all expressions to pass the filters.
11347 * 11414 *
11348 * [maxResults] - The maximum number of results per page that Compute Engine 11415 * [maxResults] - The maximum number of results per page that should be
11349 * should return. If the number of available results is larger than 11416 * returned. If the number of available results is larger than maxResults,
11350 * maxResults, Compute Engine returns a nextPageToken that can be used to get 11417 * Compute Engine returns a nextPageToken that can be used to get the next
11351 * the next page of results in subsequent list requests. 11418 * page of results in subsequent list requests.
11352 * Value must be between "0" and "500". 11419 * Value must be between "0" and "500".
11353 * 11420 *
11354 * [pageToken] - Specifies a page token to use. Set pageToken to the 11421 * [pageToken] - Specifies a page token to use. Set pageToken to the
11355 * nextPageToken returned by a previous list request to get the next page of 11422 * nextPageToken returned by a previous list request to get the next page of
11356 * results. 11423 * results.
11357 * 11424 *
11358 * Completes with a [TargetVpnGatewayList]. 11425 * Completes with a [TargetVpnGatewayList].
11359 * 11426 *
11360 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11427 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11361 * error. 11428 * error.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
11449 "DELETE", 11516 "DELETE",
11450 body: _body, 11517 body: _body,
11451 queryParams: _queryParams, 11518 queryParams: _queryParams,
11452 uploadOptions: _uploadOptions, 11519 uploadOptions: _uploadOptions,
11453 uploadMedia: _uploadMedia, 11520 uploadMedia: _uploadMedia,
11454 downloadOptions: _downloadOptions); 11521 downloadOptions: _downloadOptions);
11455 return _response.then((data) => new Operation.fromJson(data)); 11522 return _response.then((data) => new Operation.fromJson(data));
11456 } 11523 }
11457 11524
11458 /** 11525 /**
11459 * Returns the specified UrlMap resource. 11526 * Returns the specified UrlMap resource. Get a list of available URL maps by
11527 * making a list() request.
11460 * 11528 *
11461 * Request parameters: 11529 * Request parameters:
11462 * 11530 *
11463 * [project] - Project ID for this request. 11531 * [project] - Project ID for this request.
11464 * Value must have pattern 11532 * Value must have pattern
11465 * "(?:(?:[-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])?))". 11533 * "(?:(?:[-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])?))".
11466 * 11534 *
11467 * [urlMap] - Name of the UrlMap resource to return. 11535 * [urlMap] - Name of the UrlMap resource to return.
11468 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11536 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11469 * 11537 *
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
11563 * field_name comparison_string literal_string. 11631 * field_name comparison_string literal_string.
11564 * 11632 *
11565 * The field_name is the name of the field you want to compare. Only atomic 11633 * The field_name is the name of the field you want to compare. Only atomic
11566 * field types are supported (string, number, boolean). The comparison_string 11634 * field types are supported (string, number, boolean). The comparison_string
11567 * must be either eq (equals) or ne (not equals). The literal_string is the 11635 * must be either eq (equals) or ne (not equals). The literal_string is the
11568 * string value to filter to. The literal value must be valid for the type of 11636 * string value to filter to. The literal value must be valid for the type of
11569 * field you are filtering by (string, number, boolean). For string fields, 11637 * field you are filtering by (string, number, boolean). For string fields,
11570 * the literal value is interpreted as a regular expression using RE2 syntax. 11638 * the literal value is interpreted as a regular expression using RE2 syntax.
11571 * The literal value must match the entire field. 11639 * The literal value must match the entire field.
11572 * 11640 *
11573 * For example, filter=name ne example-instance. 11641 * For example, to filter for instances that do not have a name of
11642 * example-instance, you would use filter=name ne example-instance.
11574 * 11643 *
11575 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 11644 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
11576 * also filter on nested fields. For example, you could filter on instances 11645 * also filter on nested fields. For example, you could filter on instances
11577 * that have set the scheduling.automaticRestart field to true. In particular, 11646 * that have set the scheduling.automaticRestart field to true. In particular,
11578 * use filtering on nested fields to take advantage of instance labels to 11647 * use filtering on nested fields to take advantage of instance labels to
11579 * organize and filter results based on label values. 11648 * organize and filter results based on label values.
11580 * 11649 *
11581 * The Beta API also supports filtering on multiple expressions by providing 11650 * The Beta API also supports filtering on multiple expressions by providing
11582 * each separate expression within parentheses. For example, 11651 * each separate expression within parentheses. For example,
11583 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 11652 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
11584 * expressions are treated as AND expressions meaning that resources must 11653 * expressions are treated as AND expressions, meaning that resources must
11585 * match all expressions to pass the filters. 11654 * match all expressions to pass the filters.
11586 * 11655 *
11587 * [maxResults] - The maximum number of results per page that Compute Engine 11656 * [maxResults] - The maximum number of results per page that should be
11588 * should return. If the number of available results is larger than 11657 * returned. If the number of available results is larger than maxResults,
11589 * maxResults, Compute Engine returns a nextPageToken that can be used to get 11658 * Compute Engine returns a nextPageToken that can be used to get the next
11590 * the next page of results in subsequent list requests. 11659 * page of results in subsequent list requests.
11591 * Value must be between "0" and "500". 11660 * Value must be between "0" and "500".
11592 * 11661 *
11593 * [pageToken] - Specifies a page token to use. Set pageToken to the 11662 * [pageToken] - Specifies a page token to use. Set pageToken to the
11594 * nextPageToken returned by a previous list request to get the next page of 11663 * nextPageToken returned by a previous list request to get the next page of
11595 * results. 11664 * results.
11596 * 11665 *
11597 * Completes with a [UrlMapList]. 11666 * Completes with a [UrlMapList].
11598 * 11667 *
11599 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11668 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11600 * error. 11669 * error.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
11817 * field_name comparison_string literal_string. 11886 * field_name comparison_string literal_string.
11818 * 11887 *
11819 * The field_name is the name of the field you want to compare. Only atomic 11888 * The field_name is the name of the field you want to compare. Only atomic
11820 * field types are supported (string, number, boolean). The comparison_string 11889 * field types are supported (string, number, boolean). The comparison_string
11821 * must be either eq (equals) or ne (not equals). The literal_string is the 11890 * must be either eq (equals) or ne (not equals). The literal_string is the
11822 * string value to filter to. The literal value must be valid for the type of 11891 * string value to filter to. The literal value must be valid for the type of
11823 * field you are filtering by (string, number, boolean). For string fields, 11892 * field you are filtering by (string, number, boolean). For string fields,
11824 * the literal value is interpreted as a regular expression using RE2 syntax. 11893 * the literal value is interpreted as a regular expression using RE2 syntax.
11825 * The literal value must match the entire field. 11894 * The literal value must match the entire field.
11826 * 11895 *
11827 * For example, filter=name ne example-instance. 11896 * For example, to filter for instances that do not have a name of
11897 * example-instance, you would use filter=name ne example-instance.
11828 * 11898 *
11829 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 11899 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
11830 * also filter on nested fields. For example, you could filter on instances 11900 * also filter on nested fields. For example, you could filter on instances
11831 * that have set the scheduling.automaticRestart field to true. In particular, 11901 * that have set the scheduling.automaticRestart field to true. In particular,
11832 * use filtering on nested fields to take advantage of instance labels to 11902 * use filtering on nested fields to take advantage of instance labels to
11833 * organize and filter results based on label values. 11903 * organize and filter results based on label values.
11834 * 11904 *
11835 * The Beta API also supports filtering on multiple expressions by providing 11905 * The Beta API also supports filtering on multiple expressions by providing
11836 * each separate expression within parentheses. For example, 11906 * each separate expression within parentheses. For example,
11837 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 11907 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
11838 * expressions are treated as AND expressions meaning that resources must 11908 * expressions are treated as AND expressions, meaning that resources must
11839 * match all expressions to pass the filters. 11909 * match all expressions to pass the filters.
11840 * 11910 *
11841 * [maxResults] - The maximum number of results per page that Compute Engine 11911 * [maxResults] - The maximum number of results per page that should be
11842 * should return. If the number of available results is larger than 11912 * returned. If the number of available results is larger than maxResults,
11843 * maxResults, Compute Engine returns a nextPageToken that can be used to get 11913 * Compute Engine returns a nextPageToken that can be used to get the next
11844 * the next page of results in subsequent list requests. 11914 * page of results in subsequent list requests.
11845 * Value must be between "0" and "500". 11915 * Value must be between "0" and "500".
11846 * 11916 *
11847 * [pageToken] - Specifies a page token to use. Set pageToken to the 11917 * [pageToken] - Specifies a page token to use. Set pageToken to the
11848 * nextPageToken returned by a previous list request to get the next page of 11918 * nextPageToken returned by a previous list request to get the next page of
11849 * results. 11919 * results.
11850 * 11920 *
11851 * Completes with a [VpnTunnelAggregatedList]. 11921 * Completes with a [VpnTunnelAggregatedList].
11852 * 11922 *
11853 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11923 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11854 * error. 11924 * error.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
11891 11961
11892 /** 11962 /**
11893 * Deletes the specified VpnTunnel resource. 11963 * Deletes the specified VpnTunnel resource.
11894 * 11964 *
11895 * Request parameters: 11965 * Request parameters:
11896 * 11966 *
11897 * [project] - Project ID for this request. 11967 * [project] - Project ID for this request.
11898 * Value must have pattern 11968 * Value must have pattern
11899 * "(?:(?:[-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])?))". 11969 * "(?:(?:[-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])?))".
11900 * 11970 *
11901 * [region] - The name of the region for this request. 11971 * [region] - Name of the region for this request.
11902 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11972 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11903 * 11973 *
11904 * [vpnTunnel] - Name of the VpnTunnel resource to delete. 11974 * [vpnTunnel] - Name of the VpnTunnel resource to delete.
11905 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 11975 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11906 * 11976 *
11907 * Completes with a [Operation]. 11977 * Completes with a [Operation].
11908 * 11978 *
11909 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 11979 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11910 * error. 11980 * error.
11911 * 11981 *
(...skipping 24 matching lines...) Expand all
11936 "DELETE", 12006 "DELETE",
11937 body: _body, 12007 body: _body,
11938 queryParams: _queryParams, 12008 queryParams: _queryParams,
11939 uploadOptions: _uploadOptions, 12009 uploadOptions: _uploadOptions,
11940 uploadMedia: _uploadMedia, 12010 uploadMedia: _uploadMedia,
11941 downloadOptions: _downloadOptions); 12011 downloadOptions: _downloadOptions);
11942 return _response.then((data) => new Operation.fromJson(data)); 12012 return _response.then((data) => new Operation.fromJson(data));
11943 } 12013 }
11944 12014
11945 /** 12015 /**
11946 * Returns the specified VpnTunnel resource. 12016 * Returns the specified VpnTunnel resource. Get a list of available VPN
12017 * tunnels by making a list() request.
11947 * 12018 *
11948 * Request parameters: 12019 * Request parameters:
11949 * 12020 *
11950 * [project] - Project ID for this request. 12021 * [project] - Project ID for this request.
11951 * Value must have pattern 12022 * Value must have pattern
11952 * "(?:(?:[-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])?))". 12023 * "(?:(?:[-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])?))".
11953 * 12024 *
11954 * [region] - The name of the region for this request. 12025 * [region] - Name of the region for this request.
11955 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12026 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11956 * 12027 *
11957 * [vpnTunnel] - Name of the VpnTunnel resource to return. 12028 * [vpnTunnel] - Name of the VpnTunnel resource to return.
11958 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12029 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
11959 * 12030 *
11960 * Completes with a [VpnTunnel]. 12031 * Completes with a [VpnTunnel].
11961 * 12032 *
11962 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12033 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
11963 * error. 12034 * error.
11964 * 12035 *
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
12000 * data included in the request. 12071 * data included in the request.
12001 * 12072 *
12002 * [request] - The metadata request object. 12073 * [request] - The metadata request object.
12003 * 12074 *
12004 * Request parameters: 12075 * Request parameters:
12005 * 12076 *
12006 * [project] - Project ID for this request. 12077 * [project] - Project ID for this request.
12007 * Value must have pattern 12078 * Value must have pattern
12008 * "(?:(?:[-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])?))". 12079 * "(?:(?:[-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])?))".
12009 * 12080 *
12010 * [region] - The name of the region for this request. 12081 * [region] - Name of the region for this request.
12011 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12082 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12012 * 12083 *
12013 * Completes with a [Operation]. 12084 * Completes with a [Operation].
12014 * 12085 *
12015 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12086 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
12016 * error. 12087 * error.
12017 * 12088 *
12018 * If the used [http.Client] completes with an error when making a REST call, 12089 * If the used [http.Client] completes with an error when making a REST call,
12019 * this method will complete with the same error. 12090 * this method will complete with the same error.
12020 */ 12091 */
(...skipping 30 matching lines...) Expand all
12051 /** 12122 /**
12052 * Retrieves a list of VpnTunnel resources contained in the specified project 12123 * Retrieves a list of VpnTunnel resources contained in the specified project
12053 * and region. 12124 * and region.
12054 * 12125 *
12055 * Request parameters: 12126 * Request parameters:
12056 * 12127 *
12057 * [project] - Project ID for this request. 12128 * [project] - Project ID for this request.
12058 * Value must have pattern 12129 * Value must have pattern
12059 * "(?:(?:[-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])?))". 12130 * "(?:(?:[-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])?))".
12060 * 12131 *
12061 * [region] - The name of the region for this request. 12132 * [region] - Name of the region for this request.
12062 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12133 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12063 * 12134 *
12064 * [filter] - Sets a filter expression for filtering listed resources, in the 12135 * [filter] - Sets a filter expression for filtering listed resources, in the
12065 * form filter={expression}. Your {expression} must be in the format: 12136 * form filter={expression}. Your {expression} must be in the format:
12066 * field_name comparison_string literal_string. 12137 * field_name comparison_string literal_string.
12067 * 12138 *
12068 * The field_name is the name of the field you want to compare. Only atomic 12139 * The field_name is the name of the field you want to compare. Only atomic
12069 * field types are supported (string, number, boolean). The comparison_string 12140 * field types are supported (string, number, boolean). The comparison_string
12070 * must be either eq (equals) or ne (not equals). The literal_string is the 12141 * must be either eq (equals) or ne (not equals). The literal_string is the
12071 * string value to filter to. The literal value must be valid for the type of 12142 * string value to filter to. The literal value must be valid for the type of
12072 * field you are filtering by (string, number, boolean). For string fields, 12143 * field you are filtering by (string, number, boolean). For string fields,
12073 * the literal value is interpreted as a regular expression using RE2 syntax. 12144 * the literal value is interpreted as a regular expression using RE2 syntax.
12074 * The literal value must match the entire field. 12145 * The literal value must match the entire field.
12075 * 12146 *
12076 * For example, filter=name ne example-instance. 12147 * For example, to filter for instances that do not have a name of
12148 * example-instance, you would use filter=name ne example-instance.
12077 * 12149 *
12078 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 12150 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
12079 * also filter on nested fields. For example, you could filter on instances 12151 * also filter on nested fields. For example, you could filter on instances
12080 * that have set the scheduling.automaticRestart field to true. In particular, 12152 * that have set the scheduling.automaticRestart field to true. In particular,
12081 * use filtering on nested fields to take advantage of instance labels to 12153 * use filtering on nested fields to take advantage of instance labels to
12082 * organize and filter results based on label values. 12154 * organize and filter results based on label values.
12083 * 12155 *
12084 * The Beta API also supports filtering on multiple expressions by providing 12156 * The Beta API also supports filtering on multiple expressions by providing
12085 * each separate expression within parentheses. For example, 12157 * each separate expression within parentheses. For example,
12086 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 12158 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
12087 * expressions are treated as AND expressions meaning that resources must 12159 * expressions are treated as AND expressions, meaning that resources must
12088 * match all expressions to pass the filters. 12160 * match all expressions to pass the filters.
12089 * 12161 *
12090 * [maxResults] - The maximum number of results per page that Compute Engine 12162 * [maxResults] - The maximum number of results per page that should be
12091 * should return. If the number of available results is larger than 12163 * returned. If the number of available results is larger than maxResults,
12092 * maxResults, Compute Engine returns a nextPageToken that can be used to get 12164 * Compute Engine returns a nextPageToken that can be used to get the next
12093 * the next page of results in subsequent list requests. 12165 * page of results in subsequent list requests.
12094 * Value must be between "0" and "500". 12166 * Value must be between "0" and "500".
12095 * 12167 *
12096 * [pageToken] - Specifies a page token to use. Set pageToken to the 12168 * [pageToken] - Specifies a page token to use. Set pageToken to the
12097 * nextPageToken returned by a previous list request to get the next page of 12169 * nextPageToken returned by a previous list request to get the next page of
12098 * results. 12170 * results.
12099 * 12171 *
12100 * Completes with a [VpnTunnelList]. 12172 * Completes with a [VpnTunnelList].
12101 * 12173 *
12102 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12174 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
12103 * error. 12175 * error.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
12152 12224
12153 /** 12225 /**
12154 * Deletes the specified zone-specific Operations resource. 12226 * Deletes the specified zone-specific Operations resource.
12155 * 12227 *
12156 * Request parameters: 12228 * Request parameters:
12157 * 12229 *
12158 * [project] - Project ID for this request. 12230 * [project] - Project ID for this request.
12159 * Value must have pattern 12231 * Value must have pattern
12160 * "(?:(?:[-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])?))". 12232 * "(?:(?:[-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])?))".
12161 * 12233 *
12162 * [zone] - Name of the zone scoping this request. 12234 * [zone] - Name of the zone for this request.
12163 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12235 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12164 * 12236 *
12165 * [operation] - Name of the Operations resource to delete. 12237 * [operation] - Name of the Operations resource to delete.
12166 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12238 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12167 * 12239 *
12168 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12240 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
12169 * error. 12241 * error.
12170 * 12242 *
12171 * If the used [http.Client] completes with an error when making a REST call, 12243 * If the used [http.Client] completes with an error when making a REST call,
12172 * this method will complete with the same error. 12244 * this method will complete with the same error.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
12205 12277
12206 /** 12278 /**
12207 * Retrieves the specified zone-specific Operations resource. 12279 * Retrieves the specified zone-specific Operations resource.
12208 * 12280 *
12209 * Request parameters: 12281 * Request parameters:
12210 * 12282 *
12211 * [project] - Project ID for this request. 12283 * [project] - Project ID for this request.
12212 * Value must have pattern 12284 * Value must have pattern
12213 * "(?:(?:[-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])?))". 12285 * "(?:(?:[-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])?))".
12214 * 12286 *
12215 * [zone] - Name of the zone scoping this request. 12287 * [zone] - Name of the zone for this request.
12216 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12288 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12217 * 12289 *
12218 * [operation] - Name of the Operations resource to return. 12290 * [operation] - Name of the Operations resource to return.
12219 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12291 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12220 * 12292 *
12221 * Completes with a [Operation]. 12293 * Completes with a [Operation].
12222 * 12294 *
12223 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12295 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
12224 * error. 12296 * error.
12225 * 12297 *
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
12259 /** 12331 /**
12260 * Retrieves a list of Operation resources contained within the specified 12332 * Retrieves a list of Operation resources contained within the specified
12261 * zone. 12333 * zone.
12262 * 12334 *
12263 * Request parameters: 12335 * Request parameters:
12264 * 12336 *
12265 * [project] - Project ID for this request. 12337 * [project] - Project ID for this request.
12266 * Value must have pattern 12338 * Value must have pattern
12267 * "(?:(?:[-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])?))". 12339 * "(?:(?:[-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])?))".
12268 * 12340 *
12269 * [zone] - Name of the zone scoping this request. 12341 * [zone] - Name of the zone for request.
12270 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12342 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12271 * 12343 *
12272 * [filter] - Sets a filter expression for filtering listed resources, in the 12344 * [filter] - Sets a filter expression for filtering listed resources, in the
12273 * form filter={expression}. Your {expression} must be in the format: 12345 * form filter={expression}. Your {expression} must be in the format:
12274 * field_name comparison_string literal_string. 12346 * field_name comparison_string literal_string.
12275 * 12347 *
12276 * The field_name is the name of the field you want to compare. Only atomic 12348 * The field_name is the name of the field you want to compare. Only atomic
12277 * field types are supported (string, number, boolean). The comparison_string 12349 * field types are supported (string, number, boolean). The comparison_string
12278 * must be either eq (equals) or ne (not equals). The literal_string is the 12350 * must be either eq (equals) or ne (not equals). The literal_string is the
12279 * string value to filter to. The literal value must be valid for the type of 12351 * string value to filter to. The literal value must be valid for the type of
12280 * field you are filtering by (string, number, boolean). For string fields, 12352 * field you are filtering by (string, number, boolean). For string fields,
12281 * the literal value is interpreted as a regular expression using RE2 syntax. 12353 * the literal value is interpreted as a regular expression using RE2 syntax.
12282 * The literal value must match the entire field. 12354 * The literal value must match the entire field.
12283 * 12355 *
12284 * For example, filter=name ne example-instance. 12356 * For example, to filter for instances that do not have a name of
12357 * example-instance, you would use filter=name ne example-instance.
12285 * 12358 *
12286 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 12359 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
12287 * also filter on nested fields. For example, you could filter on instances 12360 * also filter on nested fields. For example, you could filter on instances
12288 * that have set the scheduling.automaticRestart field to true. In particular, 12361 * that have set the scheduling.automaticRestart field to true. In particular,
12289 * use filtering on nested fields to take advantage of instance labels to 12362 * use filtering on nested fields to take advantage of instance labels to
12290 * organize and filter results based on label values. 12363 * organize and filter results based on label values.
12291 * 12364 *
12292 * The Beta API also supports filtering on multiple expressions by providing 12365 * The Beta API also supports filtering on multiple expressions by providing
12293 * each separate expression within parentheses. For example, 12366 * each separate expression within parentheses. For example,
12294 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 12367 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
12295 * expressions are treated as AND expressions meaning that resources must 12368 * expressions are treated as AND expressions, meaning that resources must
12296 * match all expressions to pass the filters. 12369 * match all expressions to pass the filters.
12297 * 12370 *
12298 * [maxResults] - The maximum number of results per page that Compute Engine 12371 * [maxResults] - The maximum number of results per page that should be
12299 * should return. If the number of available results is larger than 12372 * returned. If the number of available results is larger than maxResults,
12300 * maxResults, Compute Engine returns a nextPageToken that can be used to get 12373 * Compute Engine returns a nextPageToken that can be used to get the next
12301 * the next page of results in subsequent list requests. 12374 * page of results in subsequent list requests.
12302 * Value must be between "0" and "500". 12375 * Value must be between "0" and "500".
12303 * 12376 *
12304 * [pageToken] - Specifies a page token to use. Set pageToken to the 12377 * [pageToken] - Specifies a page token to use. Set pageToken to the
12305 * nextPageToken returned by a previous list request to get the next page of 12378 * nextPageToken returned by a previous list request to get the next page of
12306 * results. 12379 * results.
12307 * 12380 *
12308 * Completes with a [OperationList]. 12381 * Completes with a [OperationList].
12309 * 12382 *
12310 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12383 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
12311 * error. 12384 * error.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
12352 } 12425 }
12353 12426
12354 12427
12355 class ZonesResourceApi { 12428 class ZonesResourceApi {
12356 final commons.ApiRequester _requester; 12429 final commons.ApiRequester _requester;
12357 12430
12358 ZonesResourceApi(commons.ApiRequester client) : 12431 ZonesResourceApi(commons.ApiRequester client) :
12359 _requester = client; 12432 _requester = client;
12360 12433
12361 /** 12434 /**
12362 * Returns the specified zone resource. 12435 * Returns the specified Zone resource. Get a list of available zones by
12436 * making a list() request.
12363 * 12437 *
12364 * Request parameters: 12438 * Request parameters:
12365 * 12439 *
12366 * [project] - Project ID for this request. 12440 * [project] - Project ID for this request.
12367 * Value must have pattern 12441 * Value must have pattern
12368 * "(?:(?:[-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])?))". 12442 * "(?:(?:[-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])?))".
12369 * 12443 *
12370 * [zone] - Name of the zone resource to return. 12444 * [zone] - Name of the zone resource to return.
12371 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?". 12445 * Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
12372 * 12446 *
(...skipping 26 matching lines...) Expand all
12399 "GET", 12473 "GET",
12400 body: _body, 12474 body: _body,
12401 queryParams: _queryParams, 12475 queryParams: _queryParams,
12402 uploadOptions: _uploadOptions, 12476 uploadOptions: _uploadOptions,
12403 uploadMedia: _uploadMedia, 12477 uploadMedia: _uploadMedia,
12404 downloadOptions: _downloadOptions); 12478 downloadOptions: _downloadOptions);
12405 return _response.then((data) => new Zone.fromJson(data)); 12479 return _response.then((data) => new Zone.fromJson(data));
12406 } 12480 }
12407 12481
12408 /** 12482 /**
12409 * Retrieves the list of zone resources available to the specified project. 12483 * Retrieves the list of Zone resources available to the specified project.
12410 * 12484 *
12411 * Request parameters: 12485 * Request parameters:
12412 * 12486 *
12413 * [project] - Project ID for this request. 12487 * [project] - Project ID for this request.
12414 * Value must have pattern 12488 * Value must have pattern
12415 * "(?:(?:[-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])?))". 12489 * "(?:(?:[-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])?))".
12416 * 12490 *
12417 * [filter] - Sets a filter expression for filtering listed resources, in the 12491 * [filter] - Sets a filter expression for filtering listed resources, in the
12418 * form filter={expression}. Your {expression} must be in the format: 12492 * form filter={expression}. Your {expression} must be in the format:
12419 * field_name comparison_string literal_string. 12493 * field_name comparison_string literal_string.
12420 * 12494 *
12421 * The field_name is the name of the field you want to compare. Only atomic 12495 * The field_name is the name of the field you want to compare. Only atomic
12422 * field types are supported (string, number, boolean). The comparison_string 12496 * field types are supported (string, number, boolean). The comparison_string
12423 * must be either eq (equals) or ne (not equals). The literal_string is the 12497 * must be either eq (equals) or ne (not equals). The literal_string is the
12424 * string value to filter to. The literal value must be valid for the type of 12498 * string value to filter to. The literal value must be valid for the type of
12425 * field you are filtering by (string, number, boolean). For string fields, 12499 * field you are filtering by (string, number, boolean). For string fields,
12426 * the literal value is interpreted as a regular expression using RE2 syntax. 12500 * the literal value is interpreted as a regular expression using RE2 syntax.
12427 * The literal value must match the entire field. 12501 * The literal value must match the entire field.
12428 * 12502 *
12429 * For example, filter=name ne example-instance. 12503 * For example, to filter for instances that do not have a name of
12504 * example-instance, you would use filter=name ne example-instance.
12430 * 12505 *
12431 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can 12506 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
12432 * also filter on nested fields. For example, you could filter on instances 12507 * also filter on nested fields. For example, you could filter on instances
12433 * that have set the scheduling.automaticRestart field to true. In particular, 12508 * that have set the scheduling.automaticRestart field to true. In particular,
12434 * use filtering on nested fields to take advantage of instance labels to 12509 * use filtering on nested fields to take advantage of instance labels to
12435 * organize and filter results based on label values. 12510 * organize and filter results based on label values.
12436 * 12511 *
12437 * The Beta API also supports filtering on multiple expressions by providing 12512 * The Beta API also supports filtering on multiple expressions by providing
12438 * each separate expression within parentheses. For example, 12513 * each separate expression within parentheses. For example,
12439 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple 12514 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
12440 * expressions are treated as AND expressions meaning that resources must 12515 * expressions are treated as AND expressions, meaning that resources must
12441 * match all expressions to pass the filters. 12516 * match all expressions to pass the filters.
12442 * 12517 *
12443 * [maxResults] - The maximum number of results per page that Compute Engine 12518 * [maxResults] - The maximum number of results per page that should be
12444 * should return. If the number of available results is larger than 12519 * returned. If the number of available results is larger than maxResults,
12445 * maxResults, Compute Engine returns a nextPageToken that can be used to get 12520 * Compute Engine returns a nextPageToken that can be used to get the next
12446 * the next page of results in subsequent list requests. 12521 * page of results in subsequent list requests.
12447 * Value must be between "0" and "500". 12522 * Value must be between "0" and "500".
12448 * 12523 *
12449 * [pageToken] - Specifies a page token to use. Set pageToken to the 12524 * [pageToken] - Specifies a page token to use. Set pageToken to the
12450 * nextPageToken returned by a previous list request to get the next page of 12525 * nextPageToken returned by a previous list request to get the next page of
12451 * results. 12526 * results.
12452 * 12527 *
12453 * Completes with a [ZoneList]. 12528 * Completes with a [ZoneList].
12454 * 12529 *
12455 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 12530 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
12456 * error. 12531 * error.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
12568 /** 12643 /**
12569 * [Output Only] The unique identifier for the resource. This identifier is 12644 * [Output Only] The unique identifier for the resource. This identifier is
12570 * defined by the server. 12645 * defined by the server.
12571 */ 12646 */
12572 core.String id; 12647 core.String id;
12573 /** 12648 /**
12574 * [Output Only] Type of the resource. Always compute#address for addresses. 12649 * [Output Only] Type of the resource. Always compute#address for addresses.
12575 */ 12650 */
12576 core.String kind; 12651 core.String kind;
12577 /** 12652 /**
12578 * Name of the resource; provided by the client when the resource is created. 12653 * Name of the resource. Provided by the client when the resource is created.
12579 * The name must be 1-63 characters long, and comply with RFC1035. 12654 * The name must be 1-63 characters long, and comply with RFC1035.
12580 * Specifically, the name must be 1-63 characters long and match the regular 12655 * Specifically, the name must be 1-63 characters long and match the regular
12581 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 12656 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
12582 * be a lowercase letter, and all following characters must be a dash, 12657 * be a lowercase letter, and all following characters must be a dash,
12583 * lowercase letter, or digit, except the last character, which cannot be a 12658 * lowercase letter, or digit, except the last character, which cannot be a
12584 * dash. 12659 * dash.
12585 */ 12660 */
12586 core.String name; 12661 core.String name;
12587 /** 12662 /**
12588 * [Output Only] URL of the region where the regional address resides. This 12663 * [Output Only] URL of the region where the regional address resides. This
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
12732 if (nextPageToken != null) { 12807 if (nextPageToken != null) {
12733 _json["nextPageToken"] = nextPageToken; 12808 _json["nextPageToken"] = nextPageToken;
12734 } 12809 }
12735 if (selfLink != null) { 12810 if (selfLink != null) {
12736 _json["selfLink"] = selfLink; 12811 _json["selfLink"] = selfLink;
12737 } 12812 }
12738 return _json; 12813 return _json;
12739 } 12814 }
12740 } 12815 }
12741 12816
12742 /** Contains a list of address resources. */ 12817 /** Contains a list of addresses. */
12743 class AddressList { 12818 class AddressList {
12744 /** 12819 /**
12745 * [Output Only] The unique identifier for the resource. This identifier is 12820 * [Output Only] The unique identifier for the resource. This identifier is
12746 * defined by the server. 12821 * defined by the server.
12747 */ 12822 */
12748 core.String id; 12823 core.String id;
12749 /** [Output Only] A list of Address resources. */ 12824 /** [Output Only] A list of addresses. */
12750 core.List<Address> items; 12825 core.List<Address> items;
12751 /** 12826 /**
12752 * [Output Only] Type of resource. Always compute#addressList for lists of 12827 * [Output Only] Type of resource. Always compute#addressList for lists of
12753 * addresses. 12828 * addresses.
12754 */ 12829 */
12755 core.String kind; 12830 core.String kind;
12756 /** 12831 /**
12757 * [Output Only] This token allows you to get the next page of results for 12832 * [Output Only] This token allows you to get the next page of results for
12758 * list requests. If the number of results is larger than maxResults, use the 12833 * list requests. If the number of results is larger than maxResults, use the
12759 * nextPageToken as a value for the query parameter pageToken in the next list 12834 * nextPageToken as a value for the query parameter pageToken in the next list
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
12804 return _json; 12879 return _json;
12805 } 12880 }
12806 } 12881 }
12807 12882
12808 class AddressesScopedListWarningData { 12883 class AddressesScopedListWarningData {
12809 /** 12884 /**
12810 * [Output Only] A key that provides more detail on the warning being 12885 * [Output Only] A key that provides more detail on the warning being
12811 * returned. For example, for warnings where there are no results in a list 12886 * returned. For example, for warnings where there are no results in a list
12812 * request for a particular zone, this key might be scope and the key value 12887 * request for a particular zone, this key might be scope and the key value
12813 * might be the zone name. Other examples might be a key indicating a 12888 * might be the zone name. Other examples might be a key indicating a
12814 * deprecated resource, and a suggested replacement, or a warning about 12889 * deprecated resource and a suggested replacement, or a warning about invalid
12815 * invalid network settings (for example, if an instance attempts to perform 12890 * network settings (for example, if an instance attempts to perform IP
12816 * IP forwarding but is not enabled for IP forwarding). 12891 * forwarding but is not enabled for IP forwarding).
12817 */ 12892 */
12818 core.String key; 12893 core.String key;
12819 /** [Output Only] A warning data value corresponding to the key. */ 12894 /** [Output Only] A warning data value corresponding to the key. */
12820 core.String value; 12895 core.String value;
12821 12896
12822 AddressesScopedListWarningData(); 12897 AddressesScopedListWarningData();
12823 12898
12824 AddressesScopedListWarningData.fromJson(core.Map _json) { 12899 AddressesScopedListWarningData.fromJson(core.Map _json) {
12825 if (_json.containsKey("key")) { 12900 if (_json.containsKey("key")) {
12826 key = _json["key"]; 12901 key = _json["key"];
(...skipping 17 matching lines...) Expand all
12844 12919
12845 /** 12920 /**
12846 * [Output Only] Informational warning which replaces the list of addresses when 12921 * [Output Only] Informational warning which replaces the list of addresses when
12847 * the list is empty. 12922 * the list is empty.
12848 */ 12923 */
12849 class AddressesScopedListWarning { 12924 class AddressesScopedListWarning {
12850 /** 12925 /**
12851 * [Output Only] A warning code, if applicable. For example, Compute Engine 12926 * [Output Only] A warning code, if applicable. For example, Compute Engine
12852 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 12927 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
12853 * Possible string values are: 12928 * Possible string values are:
12929 * - "CLEANUP_FAILED"
12854 * - "DEPRECATED_RESOURCE_USED" 12930 * - "DEPRECATED_RESOURCE_USED"
12855 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 12931 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
12856 * - "INJECTED_KERNELS_DEPRECATED" 12932 * - "INJECTED_KERNELS_DEPRECATED"
12857 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 12933 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
12858 * - "NEXT_HOP_CANNOT_IP_FORWARD" 12934 * - "NEXT_HOP_CANNOT_IP_FORWARD"
12859 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 12935 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
12860 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 12936 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
12861 * - "NEXT_HOP_NOT_RUNNING" 12937 * - "NEXT_HOP_NOT_RUNNING"
12862 * - "NOT_CRITICAL_ERROR" 12938 * - "NOT_CRITICAL_ERROR"
12863 * - "NO_RESULTS_ON_PAGE" 12939 * - "NO_RESULTS_ON_PAGE"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
12970 /** 13046 /**
12971 * [Input Only] Specifies the parameters for a new disk that will be created 13047 * [Input Only] Specifies the parameters for a new disk that will be created
12972 * alongside the new instance. Use initialization parameters to create boot 13048 * alongside the new instance. Use initialization parameters to create boot
12973 * disks or local SSDs attached to the new instance. 13049 * disks or local SSDs attached to the new instance.
12974 * 13050 *
12975 * This property is mutually exclusive with the source property; you can only 13051 * This property is mutually exclusive with the source property; you can only
12976 * define one or the other, but not both. 13052 * define one or the other, but not both.
12977 */ 13053 */
12978 AttachedDiskInitializeParams initializeParams; 13054 AttachedDiskInitializeParams initializeParams;
12979 /** 13055 /**
12980 * Specifies the disk interface to use for attaching this disk, either SCSI or 13056 * Specifies the disk interface to use for attaching this disk, which is
12981 * NVME. The default is SCSI. For performance characteristics of SCSI over 13057 * either SCSI or NVME. The default is SCSI. Persistent disks must always use
12982 * NVMe, see Local SSD performance. 13058 * SCSI and the request will fail if you attempt to attach a persistent disk
13059 * in any other format than SCSI. Local SSDs can use either NVME or SCSI. For
13060 * performance characteristics of SCSI over NVMe, see Local SSD performance.
12983 * Possible string values are: 13061 * Possible string values are:
12984 * - "NVME" 13062 * - "NVME"
12985 * - "SCSI" 13063 * - "SCSI"
12986 */ 13064 */
12987 core.String interface; 13065 core.String interface;
12988 /** 13066 /**
12989 * [Output Only] Type of the resource. Always compute#attachedDisk for 13067 * [Output Only] Type of the resource. Always compute#attachedDisk for
12990 * attached disks. 13068 * attached disks.
12991 */ 13069 */
12992 core.String kind; 13070 core.String kind;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
13168 if (diskType != null) { 13246 if (diskType != null) {
13169 _json["diskType"] = diskType; 13247 _json["diskType"] = diskType;
13170 } 13248 }
13171 if (sourceImage != null) { 13249 if (sourceImage != null) {
13172 _json["sourceImage"] = sourceImage; 13250 _json["sourceImage"] = sourceImage;
13173 } 13251 }
13174 return _json; 13252 return _json;
13175 } 13253 }
13176 } 13254 }
13177 13255
13256 /**
13257 * Represents an Autoscaler resource. Autoscalers allow you to automatically
13258 * scale virtual machine instances in managed instance groups according to an
13259 * autoscaling policy that you define. For more information, read Autoscaling
13260 * Groups of Instances.
13261 */
13178 class Autoscaler { 13262 class Autoscaler {
13179 /** Autoscaling configuration. */ 13263 /**
13264 * The configuration parameters for the autoscaling algorithm. You can define
13265 * one or more of the policies for an autoscaler: cpuUtilization,
13266 * customMetricUtilizations, and loadBalancingUtilization.
13267 *
13268 * If none of these are specified, the default will be to autoscale based on
13269 * cpuUtilization to 0.8 or 80%.
13270 */
13180 AutoscalingPolicy autoscalingPolicy; 13271 AutoscalingPolicy autoscalingPolicy;
13181 /** [Output Only] Creation timestamp in RFC3339 text format. */ 13272 /** [Output Only] Creation timestamp in RFC3339 text format. */
13182 core.String creationTimestamp; 13273 core.String creationTimestamp;
13183 /** 13274 /**
13184 * An optional description of this resource. Provide this property when you 13275 * An optional description of this resource. Provide this property when you
13185 * create the resource. 13276 * create the resource.
13186 */ 13277 */
13187 core.String description; 13278 core.String description;
13188 /** 13279 /**
13189 * [Output Only] The unique identifier for the resource. This identifier is 13280 * [Output Only] The unique identifier for the resource. This identifier is
13190 * defined by the server. 13281 * defined by the server.
13191 */ 13282 */
13192 core.String id; 13283 core.String id;
13193 /** Type of the resource. */ 13284 /**
13285 * [Output Only] Type of the resource. Always compute#autoscaler for
13286 * autoscalers.
13287 */
13194 core.String kind; 13288 core.String kind;
13195 /** 13289 /**
13196 * Name of the resource. Provided by the client when the resource is created. 13290 * Name of the resource. Provided by the client when the resource is created.
13197 * The name must be 1-63 characters long, and comply with RFC1035. 13291 * The name must be 1-63 characters long, and comply with RFC1035.
13198 * Specifically, the name must be 1-63 characters long and match the regular 13292 * Specifically, the name must be 1-63 characters long and match the regular
13199 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 13293 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
13200 * be a lowercase letter, and all following characters must be a dash, 13294 * be a lowercase letter, and all following characters must be a dash,
13201 * lowercase letter, or digit, except the last character, which cannot be a 13295 * lowercase letter, or digit, except the last character, which cannot be a
13202 * dash. 13296 * dash.
13203 */ 13297 */
13204 core.String name; 13298 core.String name;
13205 /** [Output Only] Server-defined URL for the resource. */ 13299 /** [Output Only] Server-defined URL for the resource. */
13206 core.String selfLink; 13300 core.String selfLink;
13207 /** 13301 /** URL of the managed instance group that this autoscaler will scale. */
13208 * URL of Instance Group Manager or Replica Pool which will be controlled by
13209 * Autoscaler.
13210 */
13211 core.String target; 13302 core.String target;
13212 /** [Output Only] URL of the zone where the instance group resides. */ 13303 /** [Output Only] URL of the zone where the instance group resides. */
13213 core.String zone; 13304 core.String zone;
13214 13305
13215 Autoscaler(); 13306 Autoscaler();
13216 13307
13217 Autoscaler.fromJson(core.Map _json) { 13308 Autoscaler.fromJson(core.Map _json) {
13218 if (_json.containsKey("autoscalingPolicy")) { 13309 if (_json.containsKey("autoscalingPolicy")) {
13219 autoscalingPolicy = new AutoscalingPolicy.fromJson(_json["autoscalingPolic y"]); 13310 autoscalingPolicy = new AutoscalingPolicy.fromJson(_json["autoscalingPolic y"]);
13220 } 13311 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
13278 } 13369 }
13279 13370
13280 class AutoscalerAggregatedList { 13371 class AutoscalerAggregatedList {
13281 /** 13372 /**
13282 * [Output Only] The unique identifier for the resource. This identifier is 13373 * [Output Only] The unique identifier for the resource. This identifier is
13283 * defined by the server. 13374 * defined by the server.
13284 */ 13375 */
13285 core.String id; 13376 core.String id;
13286 /** A map of scoped autoscaler lists. */ 13377 /** A map of scoped autoscaler lists. */
13287 core.Map<core.String, AutoscalersScopedList> items; 13378 core.Map<core.String, AutoscalersScopedList> items;
13288 /** Type of resource. */ 13379 /**
13380 * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for
13381 * aggregated lists of autoscalers.
13382 */
13289 core.String kind; 13383 core.String kind;
13290 /** 13384 /**
13291 * [Output Only] This token allows you to get the next page of results for 13385 * [Output Only] This token allows you to get the next page of results for
13292 * list requests. If the number of results is larger than maxResults, use the 13386 * list requests. If the number of results is larger than maxResults, use the
13293 * nextPageToken as a value for the query parameter pageToken in the next list 13387 * nextPageToken as a value for the query parameter pageToken in the next list
13294 * request. Subsequent list requests will have their own nextPageToken to 13388 * request. Subsequent list requests will have their own nextPageToken to
13295 * continue paging through the results. 13389 * continue paging through the results.
13296 */ 13390 */
13297 core.String nextPageToken; 13391 core.String nextPageToken;
13298 /** [Output Only] Server-defined URL for this resource. */ 13392 /** [Output Only] Server-defined URL for this resource. */
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
13332 if (nextPageToken != null) { 13426 if (nextPageToken != null) {
13333 _json["nextPageToken"] = nextPageToken; 13427 _json["nextPageToken"] = nextPageToken;
13334 } 13428 }
13335 if (selfLink != null) { 13429 if (selfLink != null) {
13336 _json["selfLink"] = selfLink; 13430 _json["selfLink"] = selfLink;
13337 } 13431 }
13338 return _json; 13432 return _json;
13339 } 13433 }
13340 } 13434 }
13341 13435
13342 /** Contains a list of persistent autoscaler resources. */ 13436 /** Contains a list of Autoscaler resources. */
13343 class AutoscalerList { 13437 class AutoscalerList {
13344 /** 13438 /**
13345 * [Output Only] The unique identifier for the resource. This identifier is 13439 * [Output Only] The unique identifier for the resource. This identifier is
13346 * defined by the server. 13440 * defined by the server.
13347 */ 13441 */
13348 core.String id; 13442 core.String id;
13349 /** A list of Autoscaler resources. */ 13443 /** A list of Autoscaler resources. */
13350 core.List<Autoscaler> items; 13444 core.List<Autoscaler> items;
13351 /** Type of resource. */ 13445 /**
13446 * [Output Only] Type of resource. Always compute#autoscalerList for lists of
13447 * autoscalers.
13448 */
13352 core.String kind; 13449 core.String kind;
13353 /** 13450 /**
13354 * [Output Only] This token allows you to get the next page of results for 13451 * [Output Only] This token allows you to get the next page of results for
13355 * list requests. If the number of results is larger than maxResults, use the 13452 * list requests. If the number of results is larger than maxResults, use the
13356 * nextPageToken as a value for the query parameter pageToken in the next list 13453 * nextPageToken as a value for the query parameter pageToken in the next list
13357 * request. Subsequent list requests will have their own nextPageToken to 13454 * request. Subsequent list requests will have their own nextPageToken to
13358 * continue paging through the results. 13455 * continue paging through the results.
13359 */ 13456 */
13360 core.String nextPageToken; 13457 core.String nextPageToken;
13361 /** [Output Only] Server-defined URL for this resource. */ 13458 /** [Output Only] Server-defined URL for this resource. */
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
13401 return _json; 13498 return _json;
13402 } 13499 }
13403 } 13500 }
13404 13501
13405 class AutoscalersScopedListWarningData { 13502 class AutoscalersScopedListWarningData {
13406 /** 13503 /**
13407 * [Output Only] A key that provides more detail on the warning being 13504 * [Output Only] A key that provides more detail on the warning being
13408 * returned. For example, for warnings where there are no results in a list 13505 * returned. For example, for warnings where there are no results in a list
13409 * request for a particular zone, this key might be scope and the key value 13506 * request for a particular zone, this key might be scope and the key value
13410 * might be the zone name. Other examples might be a key indicating a 13507 * might be the zone name. Other examples might be a key indicating a
13411 * deprecated resource, and a suggested replacement, or a warning about 13508 * deprecated resource and a suggested replacement, or a warning about invalid
13412 * invalid network settings (for example, if an instance attempts to perform 13509 * network settings (for example, if an instance attempts to perform IP
13413 * IP forwarding but is not enabled for IP forwarding). 13510 * forwarding but is not enabled for IP forwarding).
13414 */ 13511 */
13415 core.String key; 13512 core.String key;
13416 /** [Output Only] A warning data value corresponding to the key. */ 13513 /** [Output Only] A warning data value corresponding to the key. */
13417 core.String value; 13514 core.String value;
13418 13515
13419 AutoscalersScopedListWarningData(); 13516 AutoscalersScopedListWarningData();
13420 13517
13421 AutoscalersScopedListWarningData.fromJson(core.Map _json) { 13518 AutoscalersScopedListWarningData.fromJson(core.Map _json) {
13422 if (_json.containsKey("key")) { 13519 if (_json.containsKey("key")) {
13423 key = _json["key"]; 13520 key = _json["key"];
13424 } 13521 }
13425 if (_json.containsKey("value")) { 13522 if (_json.containsKey("value")) {
13426 value = _json["value"]; 13523 value = _json["value"];
13427 } 13524 }
13428 } 13525 }
13429 13526
13430 core.Map toJson() { 13527 core.Map toJson() {
13431 var _json = new core.Map(); 13528 var _json = new core.Map();
13432 if (key != null) { 13529 if (key != null) {
13433 _json["key"] = key; 13530 _json["key"] = key;
13434 } 13531 }
13435 if (value != null) { 13532 if (value != null) {
13436 _json["value"] = value; 13533 _json["value"] = value;
13437 } 13534 }
13438 return _json; 13535 return _json;
13439 } 13536 }
13440 } 13537 }
13441 13538
13442 /** 13539 /**
13443 * Informational warning which replaces the list of autoscalers when the list is 13540 * [Output Only] Informational warning which replaces the list of autoscalers
13444 * empty. 13541 * when the list is empty.
13445 */ 13542 */
13446 class AutoscalersScopedListWarning { 13543 class AutoscalersScopedListWarning {
13447 /** 13544 /**
13448 * [Output Only] A warning code, if applicable. For example, Compute Engine 13545 * [Output Only] A warning code, if applicable. For example, Compute Engine
13449 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 13546 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
13450 * Possible string values are: 13547 * Possible string values are:
13548 * - "CLEANUP_FAILED"
13451 * - "DEPRECATED_RESOURCE_USED" 13549 * - "DEPRECATED_RESOURCE_USED"
13452 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 13550 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
13453 * - "INJECTED_KERNELS_DEPRECATED" 13551 * - "INJECTED_KERNELS_DEPRECATED"
13454 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 13552 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
13455 * - "NEXT_HOP_CANNOT_IP_FORWARD" 13553 * - "NEXT_HOP_CANNOT_IP_FORWARD"
13456 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 13554 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
13457 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 13555 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
13458 * - "NEXT_HOP_NOT_RUNNING" 13556 * - "NEXT_HOP_NOT_RUNNING"
13459 * - "NOT_CRITICAL_ERROR" 13557 * - "NOT_CRITICAL_ERROR"
13460 * - "NO_RESULTS_ON_PAGE" 13558 * - "NO_RESULTS_ON_PAGE"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
13496 _json["data"] = data.map((value) => (value).toJson()).toList(); 13594 _json["data"] = data.map((value) => (value).toJson()).toList();
13497 } 13595 }
13498 if (message != null) { 13596 if (message != null) {
13499 _json["message"] = message; 13597 _json["message"] = message;
13500 } 13598 }
13501 return _json; 13599 return _json;
13502 } 13600 }
13503 } 13601 }
13504 13602
13505 class AutoscalersScopedList { 13603 class AutoscalersScopedList {
13506 /** List of autoscalers contained in this scope. */ 13604 /** [Output Only] List of autoscalers contained in this scope. */
13507 core.List<Autoscaler> autoscalers; 13605 core.List<Autoscaler> autoscalers;
13508 /** 13606 /**
13509 * Informational warning which replaces the list of autoscalers when the list 13607 * [Output Only] Informational warning which replaces the list of autoscalers
13510 * is empty. 13608 * when the list is empty.
13511 */ 13609 */
13512 AutoscalersScopedListWarning warning; 13610 AutoscalersScopedListWarning warning;
13513 13611
13514 AutoscalersScopedList(); 13612 AutoscalersScopedList();
13515 13613
13516 AutoscalersScopedList.fromJson(core.Map _json) { 13614 AutoscalersScopedList.fromJson(core.Map _json) {
13517 if (_json.containsKey("autoscalers")) { 13615 if (_json.containsKey("autoscalers")) {
13518 autoscalers = _json["autoscalers"].map((value) => new Autoscaler.fromJson( value)).toList(); 13616 autoscalers = _json["autoscalers"].map((value) => new Autoscaler.fromJson( value)).toList();
13519 } 13617 }
13520 if (_json.containsKey("warning")) { 13618 if (_json.containsKey("warning")) {
13521 warning = new AutoscalersScopedListWarning.fromJson(_json["warning"]); 13619 warning = new AutoscalersScopedListWarning.fromJson(_json["warning"]);
13522 } 13620 }
13523 } 13621 }
13524 13622
13525 core.Map toJson() { 13623 core.Map toJson() {
13526 var _json = new core.Map(); 13624 var _json = new core.Map();
13527 if (autoscalers != null) { 13625 if (autoscalers != null) {
13528 _json["autoscalers"] = autoscalers.map((value) => (value).toJson()).toList (); 13626 _json["autoscalers"] = autoscalers.map((value) => (value).toJson()).toList ();
13529 } 13627 }
13530 if (warning != null) { 13628 if (warning != null) {
13531 _json["warning"] = (warning).toJson(); 13629 _json["warning"] = (warning).toJson();
13532 } 13630 }
13533 return _json; 13631 return _json;
13534 } 13632 }
13535 } 13633 }
13536 13634
13537 /** Cloud Autoscaler policy. */ 13635 /** Cloud Autoscaler policy. */
13538 class AutoscalingPolicy { 13636 class AutoscalingPolicy {
13539 /** 13637 /**
13540 * The number of seconds that the Autoscaler should wait between two 13638 * The number of seconds that the autoscaler should wait before it starts
13541 * succeeding changes to the number of virtual machines. You should define an 13639 * collecting information from a new instance. This prevents the autoscaler
13542 * interval that is at least as long as the initialization time of a virtual 13640 * from collecting information when the instance is initializing, during which
13543 * machine and the time it may take for replica pool to create the virtual 13641 * the collected usage would not be reliable. The default time autoscaler
13544 * machine. The default is 60 seconds. 13642 * waits is 60 seconds.
13643 *
13644 * Virtual machine initialization times might vary because of numerous
13645 * factors. We recommend that you test how long an instance may take to
13646 * initialize. To do this, create an instance and time the startup process.
13545 */ 13647 */
13546 core.int coolDownPeriodSec; 13648 core.int coolDownPeriodSec;
13547 /** 13649 /**
13548 * TODO(jbartosik): Add support for scaling based on muliple utilization 13650 * Defines the CPU utilization policy that allows the autoscaler to scale
13549 * metrics (take max recommendation). Exactly one utilization policy should be 13651 * based on the average CPU utilization of a managed instance group.
13550 * provided. Configuration parameters of CPU based autoscaling policy.
13551 */ 13652 */
13552 AutoscalingPolicyCpuUtilization cpuUtilization; 13653 AutoscalingPolicyCpuUtilization cpuUtilization;
13553 /** Configuration parameters of autoscaling based on custom metric. */ 13654 /** Configuration parameters of autoscaling based on a custom metric. */
13554 core.List<AutoscalingPolicyCustomMetricUtilization> customMetricUtilizations; 13655 core.List<AutoscalingPolicyCustomMetricUtilization> customMetricUtilizations;
13555 /** Configuration parameters of autoscaling based on load balancer. */ 13656 /** Configuration parameters of autoscaling based on load balancer. */
13556 AutoscalingPolicyLoadBalancingUtilization loadBalancingUtilization; 13657 AutoscalingPolicyLoadBalancingUtilization loadBalancingUtilization;
13557 /** 13658 /**
13558 * The maximum number of replicas that the Autoscaler can scale up to. This 13659 * The maximum number of instances that the autoscaler can scale up to. This
13559 * field is required for config to be effective. Maximum number of replicas 13660 * is required when creating or updating an autoscaler. The maximum number of
13560 * should be not lower than minimal number of replicas. Absolute limit for 13661 * replicas should not be lower than minimal number of replicas.
13561 * this value is defined in Autoscaler backend.
13562 */ 13662 */
13563 core.int maxNumReplicas; 13663 core.int maxNumReplicas;
13564 /** 13664 /**
13565 * The minimum number of replicas that the Autoscaler can scale down to. Can't 13665 * The minimum number of replicas that the autoscaler can scale down to. This
13566 * be less than 0. If not provided Autoscaler will choose default value 13666 * cannot be less than 0. If not provided, autoscaler will choose a default
13567 * depending on maximal number of replicas. 13667 * value depending on maximum number of instances allowed.
13568 */ 13668 */
13569 core.int minNumReplicas; 13669 core.int minNumReplicas;
13570 13670
13571 AutoscalingPolicy(); 13671 AutoscalingPolicy();
13572 13672
13573 AutoscalingPolicy.fromJson(core.Map _json) { 13673 AutoscalingPolicy.fromJson(core.Map _json) {
13574 if (_json.containsKey("coolDownPeriodSec")) { 13674 if (_json.containsKey("coolDownPeriodSec")) {
13575 coolDownPeriodSec = _json["coolDownPeriodSec"]; 13675 coolDownPeriodSec = _json["coolDownPeriodSec"];
13576 } 13676 }
13577 if (_json.containsKey("cpuUtilization")) { 13677 if (_json.containsKey("cpuUtilization")) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
13611 if (minNumReplicas != null) { 13711 if (minNumReplicas != null) {
13612 _json["minNumReplicas"] = minNumReplicas; 13712 _json["minNumReplicas"] = minNumReplicas;
13613 } 13713 }
13614 return _json; 13714 return _json;
13615 } 13715 }
13616 } 13716 }
13617 13717
13618 /** CPU utilization policy. */ 13718 /** CPU utilization policy. */
13619 class AutoscalingPolicyCpuUtilization { 13719 class AutoscalingPolicyCpuUtilization {
13620 /** 13720 /**
13621 * The target utilization that the Autoscaler should maintain. It is 13721 * The target CPU utilization that the autoscaler should maintain. Must be a
13622 * represented as a fraction of used cores. For example: 6 cores used in 13722 * float value in the range (0, 1]. If not specified, the default is 0.8.
13623 * 8-core VM are represented here as 0.75. Must be a float value between (0, 13723 *
13624 * 1]. If not defined, the default is 0.8. 13724 * If the CPU level is below the target utilization, the autoscaler scales
13725 * down the number of instances until it reaches the minimum number of
13726 * instances you specified or until the average CPU of your instances reaches
13727 * the target utilization.
13728 *
13729 * If the average CPU is above the target utilization, the autoscaler scales
13730 * up until it reaches the maximum number of instances you specified or until
13731 * the average utilization reaches the target utilization.
13625 */ 13732 */
13626 core.double utilizationTarget; 13733 core.double utilizationTarget;
13627 13734
13628 AutoscalingPolicyCpuUtilization(); 13735 AutoscalingPolicyCpuUtilization();
13629 13736
13630 AutoscalingPolicyCpuUtilization.fromJson(core.Map _json) { 13737 AutoscalingPolicyCpuUtilization.fromJson(core.Map _json) {
13631 if (_json.containsKey("utilizationTarget")) { 13738 if (_json.containsKey("utilizationTarget")) {
13632 utilizationTarget = _json["utilizationTarget"]; 13739 utilizationTarget = _json["utilizationTarget"];
13633 } 13740 }
13634 } 13741 }
13635 13742
13636 core.Map toJson() { 13743 core.Map toJson() {
13637 var _json = new core.Map(); 13744 var _json = new core.Map();
13638 if (utilizationTarget != null) { 13745 if (utilizationTarget != null) {
13639 _json["utilizationTarget"] = utilizationTarget; 13746 _json["utilizationTarget"] = utilizationTarget;
13640 } 13747 }
13641 return _json; 13748 return _json;
13642 } 13749 }
13643 } 13750 }
13644 13751
13645 /** Custom utilization metric policy. */ 13752 /** Custom utilization metric policy. */
13646 class AutoscalingPolicyCustomMetricUtilization { 13753 class AutoscalingPolicyCustomMetricUtilization {
13647 /** 13754 /**
13648 * Identifier of the metric. It should be a Cloud Monitoring metric. The 13755 * The identifier of the Cloud Monitoring metric. The metric cannot have
13649 * metric can not have negative values. The metric should be an utilization 13756 * negative values and should be a utilization metric, which means that the
13650 * metric (increasing number of VMs handling requests x times should reduce 13757 * number of virtual machines handling requests should increase or decrease
13651 * average value of the metric roughly x times). For example you could use: 13758 * proportionally to the metric. The metric must also have a label of
13652 * compute.googleapis.com/instance/network/received_bytes_count. 13759 * compute.googleapis.com/resource_id with the value of the instance's unique
13760 * ID, although this alone does not guarantee that the metric is valid.
13761 *
13762 * For example, the following is a valid metric:
13763 * compute.googleapis.com/instance/network/received_bytes_count
13764 *
13765 *
13766 * The following is not a valid metric because it does not increase or
13767 * decrease based on usage:
13768 * compute.googleapis.com/instance/cpu/reserved_cores
13653 */ 13769 */
13654 core.String metric; 13770 core.String metric;
13655 /** 13771 /**
13656 * Target value of the metric which Autoscaler should maintain. Must be a 13772 * Target value of the metric which autoscaler should maintain. Must be a
13657 * positive value. 13773 * positive value.
13658 */ 13774 */
13659 core.double utilizationTarget; 13775 core.double utilizationTarget;
13660 /** 13776 /**
13661 * Defines type in which utilization_target is expressed. 13777 * Defines how target utilization value is expressed for a Cloud Monitoring
13778 * metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not
13779 * specified, the default is GAUGE.
13662 * Possible string values are: 13780 * Possible string values are:
13663 * - "DELTA_PER_MINUTE" 13781 * - "DELTA_PER_MINUTE"
13664 * - "DELTA_PER_SECOND" 13782 * - "DELTA_PER_SECOND"
13665 * - "GAUGE" 13783 * - "GAUGE"
13666 */ 13784 */
13667 core.String utilizationTargetType; 13785 core.String utilizationTargetType;
13668 13786
13669 AutoscalingPolicyCustomMetricUtilization(); 13787 AutoscalingPolicyCustomMetricUtilization();
13670 13788
13671 AutoscalingPolicyCustomMetricUtilization.fromJson(core.Map _json) { 13789 AutoscalingPolicyCustomMetricUtilization.fromJson(core.Map _json) {
(...skipping 16 matching lines...) Expand all
13688 if (utilizationTarget != null) { 13806 if (utilizationTarget != null) {
13689 _json["utilizationTarget"] = utilizationTarget; 13807 _json["utilizationTarget"] = utilizationTarget;
13690 } 13808 }
13691 if (utilizationTargetType != null) { 13809 if (utilizationTargetType != null) {
13692 _json["utilizationTargetType"] = utilizationTargetType; 13810 _json["utilizationTargetType"] = utilizationTargetType;
13693 } 13811 }
13694 return _json; 13812 return _json;
13695 } 13813 }
13696 } 13814 }
13697 13815
13698 /** Load balancing utilization policy. */ 13816 /** Configuration parameters of autoscaling based on load balancing. */
13699 class AutoscalingPolicyLoadBalancingUtilization { 13817 class AutoscalingPolicyLoadBalancingUtilization {
13700 /** 13818 /**
13701 * Fraction of backend capacity utilization (set in HTTP load balancing 13819 * Fraction of backend capacity utilization (set in HTTP(s) load balancing
13702 * configuration) that Autoscaler should maintain. Must be a positive float 13820 * configuration) that autoscaler should maintain. Must be a positive float
13703 * value. If not defined, the default is 0.8. For example if your 13821 * value. If not defined, the default is 0.8.
13704 * maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set
13705 * at 10 and you would like to keep number of instances such that each
13706 * instance receives 7 QPS on average, set this to 0.7.
13707 */ 13822 */
13708 core.double utilizationTarget; 13823 core.double utilizationTarget;
13709 13824
13710 AutoscalingPolicyLoadBalancingUtilization(); 13825 AutoscalingPolicyLoadBalancingUtilization();
13711 13826
13712 AutoscalingPolicyLoadBalancingUtilization.fromJson(core.Map _json) { 13827 AutoscalingPolicyLoadBalancingUtilization.fromJson(core.Map _json) {
13713 if (_json.containsKey("utilizationTarget")) { 13828 if (_json.containsKey("utilizationTarget")) {
13714 utilizationTarget = _json["utilizationTarget"]; 13829 utilizationTarget = _json["utilizationTarget"];
13715 } 13830 }
13716 } 13831 }
13717 13832
13718 core.Map toJson() { 13833 core.Map toJson() {
13719 var _json = new core.Map(); 13834 var _json = new core.Map();
13720 if (utilizationTarget != null) { 13835 if (utilizationTarget != null) {
13721 _json["utilizationTarget"] = utilizationTarget; 13836 _json["utilizationTarget"] = utilizationTarget;
13722 } 13837 }
13723 return _json; 13838 return _json;
13724 } 13839 }
13725 } 13840 }
13726 13841
13727 /** Message containing information of one individual backend. */ 13842 /** Message containing information of one individual backend. */
13728 class Backend { 13843 class Backend {
13729 /** 13844 /**
13730 * Specifies the balancing mode for this backend. The default is UTILIZATION 13845 * Specifies the balancing mode for this backend. For global HTTP(S) load
13731 * but available values are UTILIZATION and RATE. 13846 * balancing, the default is UTILIZATION. Valid values are UTILIZATION and
13847 * RATE.
13732 * Possible string values are: 13848 * Possible string values are:
13733 * - "RATE" 13849 * - "RATE"
13734 * - "UTILIZATION" 13850 * - "UTILIZATION"
13735 */ 13851 */
13736 core.String balancingMode; 13852 core.String balancingMode;
13737 /** 13853 /**
13738 * A multiplier applied to the group's maximum servicing capacity (either 13854 * A multiplier applied to the group's maximum servicing capacity (either
13739 * UTILIZATION or RATE). Default value is 1, which means the group will serve 13855 * UTILIZATION or RATE). Default value is 1, which means the group will serve
13740 * up to 100% of its configured CPU or RPS (depending on balancingMode). A 13856 * up to 100% of its configured CPU or RPS (depending on balancingMode). A
13741 * setting of 0 means the group is completely drained, offering 0% of its 13857 * setting of 0 means the group is completely drained, offering 0% of its
(...skipping 11 matching lines...) Expand all
13753 * machine instances from each instance group must live in the same zone as 13869 * machine instances from each instance group must live in the same zone as
13754 * the instance group itself. No two backends in a backend service are allowed 13870 * the instance group itself. No two backends in a backend service are allowed
13755 * to use same Instance Group resource. 13871 * to use same Instance Group resource.
13756 * 13872 *
13757 * Note that you must specify an Instance Group resource using the 13873 * Note that you must specify an Instance Group resource using the
13758 * fully-qualified URL, rather than a partial URL. 13874 * fully-qualified URL, rather than a partial URL.
13759 */ 13875 */
13760 core.String group; 13876 core.String group;
13761 /** 13877 /**
13762 * The max requests per second (RPS) of the group. Can be used with either 13878 * The max requests per second (RPS) of the group. Can be used with either
13763 * balancing mode, but required if RATE mode. For RATE mode, either maxRate or 13879 * RATE or UTILIZATION balancing modes, but required if RATE mode. For RATE
13764 * maxRatePerInstance must be set. 13880 * mode, either maxRate or maxRatePerInstance must be set.
13765 */ 13881 */
13766 core.int maxRate; 13882 core.int maxRate;
13767 /** 13883 /**
13768 * The max requests per second (RPS) that a single backed instance can handle. 13884 * The max requests per second (RPS) that a single backend instance can
13769 * This is used to calculate the capacity of the group. Can be used in either 13885 * handle.This is used to calculate the capacity of the group. Can be used in
13770 * balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be 13886 * either balancing mode. For RATE mode, either maxRate or maxRatePerInstance
13771 * set. 13887 * must be set.
13772 */ 13888 */
13773 core.double maxRatePerInstance; 13889 core.double maxRatePerInstance;
13774 /** 13890 /**
13775 * Used when balancingMode is UTILIZATION. This ratio defines the CPU 13891 * Used when balancingMode is UTILIZATION. This ratio defines the CPU
13776 * utilization target for the group. The default is 0.8. Valid range is [0.0, 13892 * utilization target for the group. The default is 0.8. Valid range is [0.0,
13777 * 1.0]. 13893 * 1.0].
13778 */ 13894 */
13779 core.double maxUtilization; 13895 core.double maxUtilization;
13780 13896
13781 Backend(); 13897 Backend();
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
13884 * lowercase letter, or digit, except the last character, which cannot be a 14000 * lowercase letter, or digit, except the last character, which cannot be a
13885 * dash. 14001 * dash.
13886 */ 14002 */
13887 core.String name; 14003 core.String name;
13888 /** 14004 /**
13889 * Deprecated in favor of portName. The TCP port to connect on the backend. 14005 * Deprecated in favor of portName. The TCP port to connect on the backend.
13890 * The default value is 80. 14006 * The default value is 80.
13891 */ 14007 */
13892 core.int port; 14008 core.int port;
13893 /** 14009 /**
13894 * Name of backend port. The same name should appear in the resource views 14010 * Name of backend port. The same name should appear in the instance groups
13895 * referenced by this service. Required. 14011 * referenced by this service. Required.
13896 */ 14012 */
13897 core.String portName; 14013 core.String portName;
13898 /** 14014 /**
14015 * The protocol this BackendService uses to communicate with backends.
13899 * 14016 *
14017 * Possible values are HTTP, HTTPS, HTTP2, TCP and SSL.
13900 * Possible string values are: 14018 * Possible string values are:
13901 * - "HTTP" 14019 * - "HTTP"
13902 * - "HTTPS" 14020 * - "HTTPS"
13903 */ 14021 */
13904 core.String protocol; 14022 core.String protocol;
13905 /** [Output Only] Server-defined URL for the resource. */ 14023 /** [Output Only] Server-defined URL for the resource. */
13906 core.String selfLink; 14024 core.String selfLink;
13907 /** 14025 /**
13908 * How many seconds to wait for the backend before considering it a failed 14026 * How many seconds to wait for the backend before considering it a failed
13909 * request. Default is 30 seconds. Valid range is [1, 86400]. 14027 * request. Default is 30 seconds.
13910 */ 14028 */
13911 core.int timeoutSec; 14029 core.int timeoutSec;
13912 14030
13913 BackendService(); 14031 BackendService();
13914 14032
13915 BackendService.fromJson(core.Map _json) { 14033 BackendService.fromJson(core.Map _json) {
13916 if (_json.containsKey("backends")) { 14034 if (_json.containsKey("backends")) {
13917 backends = _json["backends"].map((value) => new Backend.fromJson(value)).t oList(); 14035 backends = _json["backends"].map((value) => new Backend.fromJson(value)).t oList();
13918 } 14036 }
13919 if (_json.containsKey("creationTimestamp")) { 14037 if (_json.containsKey("creationTimestamp")) {
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
14186 * [Output Only] The unique identifier for the resource. This identifier is 14304 * [Output Only] The unique identifier for the resource. This identifier is
14187 * defined by the server. 14305 * defined by the server.
14188 */ 14306 */
14189 core.String id; 14307 core.String id;
14190 /** [Output Only] Type of the resource. Always compute#disk for disks. */ 14308 /** [Output Only] Type of the resource. Always compute#disk for disks. */
14191 core.String kind; 14309 core.String kind;
14192 /** [Output Only] Last attach timestamp in RFC3339 text format. */ 14310 /** [Output Only] Last attach timestamp in RFC3339 text format. */
14193 core.String lastAttachTimestamp; 14311 core.String lastAttachTimestamp;
14194 /** [Output Only] Last detach timestamp in RFC3339 text format. */ 14312 /** [Output Only] Last detach timestamp in RFC3339 text format. */
14195 core.String lastDetachTimestamp; 14313 core.String lastDetachTimestamp;
14196 /** Any applicable publicly visible licenses. */ 14314 /** [Output Only] Any applicable publicly visible licenses. */
14197 core.List<core.String> licenses; 14315 core.List<core.String> licenses;
14198 /** 14316 /**
14199 * Name of the resource; provided by the client when the resource is created. 14317 * Name of the resource. Provided by the client when the resource is created.
14200 * The name must be 1-63 characters long, and comply with RFC1035. 14318 * The name must be 1-63 characters long, and comply with RFC1035.
14201 * Specifically, the name must be 1-63 characters long and match the regular 14319 * Specifically, the name must be 1-63 characters long and match the regular
14202 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 14320 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
14203 * be a lowercase letter, and all following characters must be a dash, 14321 * be a lowercase letter, and all following characters must be a dash,
14204 * lowercase letter, or digit, except the last character, which cannot be a 14322 * lowercase letter, or digit, except the last character, which cannot be a
14205 * dash. 14323 * dash.
14206 */ 14324 */
14207 core.String name; 14325 core.String name;
14208 /** Internal use only. */ 14326 /** Internal use only. */
14209 core.String options; 14327 core.String options;
(...skipping 21 matching lines...) Expand all
14231 * global/images/my-private-image 14349 * global/images/my-private-image
14232 * 14350 *
14233 * Or you can provide an image from a publicly-available project. For example, 14351 * Or you can provide an image from a publicly-available project. For example,
14234 * to use a Debian image from the debian-cloud project, make sure to include 14352 * to use a Debian image from the debian-cloud project, make sure to include
14235 * the project in the URL: 14353 * the project in the URL:
14236 * 14354 *
14237 * projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD 14355 * projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
14238 * 14356 *
14239 * where vYYYYMMDD is the image version. The fully-qualified URL will also 14357 * where vYYYYMMDD is the image version. The fully-qualified URL will also
14240 * work in both cases. 14358 * work in both cases.
14359 *
14360 * You can also specify the latest image for a private image family by
14361 * replacing the image name suffix with family/family-name. For example:
14362 *
14363 * global/images/family/my-private-family
14364 *
14365 * Or you can specify an image family from a publicly-available project. For
14366 * example, to use the latest Debian 7 from the debian-cloud project, make
14367 * sure to include the project in the URL:
14368 *
14369 * projects/debian-cloud/global/images/family/debian-7
14241 */ 14370 */
14242 core.String sourceImage; 14371 core.String sourceImage;
14243 /** 14372 /**
14244 * The ID value of the image used to create this disk. This value identifies 14373 * [Output Only] The ID value of the image used to create this disk. This
14245 * the exact image that was used to create this persistent disk. For example, 14374 * value identifies the exact image that was used to create this persistent
14246 * if you created the persistent disk from an image that was later deleted and 14375 * disk. For example, if you created the persistent disk from an image that
14247 * recreated under the same name, the source image ID would identify the exact 14376 * was later deleted and recreated under the same name, the source image ID
14248 * version of the image that was used. 14377 * would identify the exact version of the image that was used.
14249 */ 14378 */
14250 core.String sourceImageId; 14379 core.String sourceImageId;
14251 /** 14380 /**
14252 * The source snapshot used to create this disk. You can provide this as a 14381 * The source snapshot used to create this disk. You can provide this as a
14253 * partial or full URL to the resource. For example, the following are valid 14382 * partial or full URL to the resource. For example, the following are valid
14254 * values: 14383 * values:
14255 * - 14384 * -
14256 * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/sna pshot 14385 * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/sna pshot
14257 * - projects/project/global/snapshots/snapshot 14386 * - projects/project/global/snapshots/snapshot
14258 * - global/snapshots/snapshot 14387 * - global/snapshots/snapshot
(...skipping 12 matching lines...) Expand all
14271 * CREATING, FAILED, READY, RESTORING. 14400 * CREATING, FAILED, READY, RESTORING.
14272 * Possible string values are: 14401 * Possible string values are:
14273 * - "CREATING" 14402 * - "CREATING"
14274 * - "FAILED" 14403 * - "FAILED"
14275 * - "READY" 14404 * - "READY"
14276 * - "RESTORING" 14405 * - "RESTORING"
14277 */ 14406 */
14278 core.String status; 14407 core.String status;
14279 /** 14408 /**
14280 * URL of the disk type resource describing which disk type to use to create 14409 * URL of the disk type resource describing which disk type to use to create
14281 * the disk; provided by the client when the disk is created. 14410 * the disk. Provide this when creating the disk.
14282 */ 14411 */
14283 core.String type; 14412 core.String type;
14284 /** 14413 /**
14285 * Links to the users of the disk (attached instances) in form: 14414 * [Output Only] Links to the users of the disk (attached instances) in form:
14286 * project/zones/zone/instances/instance 14415 * project/zones/zone/instances/instance
14287 */ 14416 */
14288 core.List<core.String> users; 14417 core.List<core.String> users;
14289 /** [Output Only] URL of the zone where the disk resides. */ 14418 /** [Output Only] URL of the zone where the disk resides. */
14290 core.String zone; 14419 core.String zone;
14291 14420
14292 Disk(); 14421 Disk();
14293 14422
14294 Disk.fromJson(core.Map _json) { 14423 Disk.fromJson(core.Map _json) {
14295 if (_json.containsKey("creationTimestamp")) { 14424 if (_json.containsKey("creationTimestamp")) {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
14539 } 14668 }
14540 if (selfLink != null) { 14669 if (selfLink != null) {
14541 _json["selfLink"] = selfLink; 14670 _json["selfLink"] = selfLink;
14542 } 14671 }
14543 return _json; 14672 return _json;
14544 } 14673 }
14545 } 14674 }
14546 14675
14547 class DiskMoveRequest { 14676 class DiskMoveRequest {
14548 /** 14677 /**
14549 * The URL of the destination zone to move the disk to. This can be a full or 14678 * The URL of the destination zone to move the disk. This can be a full or
14550 * partial URL. For example, the following are all valid URLs to a zone: 14679 * partial URL. For example, the following are all valid URLs to a zone:
14551 * - https://www.googleapis.com/compute/v1/projects/project/zones/zone 14680 * - https://www.googleapis.com/compute/v1/projects/project/zones/zone
14552 * - projects/project/zones/zone 14681 * - projects/project/zones/zone
14553 * - zones/zone 14682 * - zones/zone
14554 */ 14683 */
14555 core.String destinationZone; 14684 core.String destinationZone;
14556 /** 14685 /**
14557 * The URL of the target disk to move. This can be a full or partial URL. For 14686 * The URL of the target disk to move. This can be a full or partial URL. For
14558 * example, the following are all valid URLs to a disk: 14687 * example, the following are all valid URLs to a disk:
14559 * - 14688 * -
(...skipping 19 matching lines...) Expand all
14579 if (destinationZone != null) { 14708 if (destinationZone != null) {
14580 _json["destinationZone"] = destinationZone; 14709 _json["destinationZone"] = destinationZone;
14581 } 14710 }
14582 if (targetDisk != null) { 14711 if (targetDisk != null) {
14583 _json["targetDisk"] = targetDisk; 14712 _json["targetDisk"] = targetDisk;
14584 } 14713 }
14585 return _json; 14714 return _json;
14586 } 14715 }
14587 } 14716 }
14588 14717
14589 /** A disk type resource. */ 14718 /** A DiskType resource. */
14590 class DiskType { 14719 class DiskType {
14591 /** [Output Only] Creation timestamp in RFC3339 text format. */ 14720 /** [Output Only] Creation timestamp in RFC3339 text format. */
14592 core.String creationTimestamp; 14721 core.String creationTimestamp;
14593 /** [Output Only] Server-defined default disk size in GB. */ 14722 /** [Output Only] Server-defined default disk size in GB. */
14594 core.String defaultDiskSizeGb; 14723 core.String defaultDiskSizeGb;
14595 /** [Output Only] The deprecation status associated with this disk type. */ 14724 /** [Output Only] The deprecation status associated with this disk type. */
14596 DeprecationStatus deprecated; 14725 DeprecationStatus deprecated;
14597 /** [Output Only] An optional description of this resource. */ 14726 /** [Output Only] An optional description of this resource. */
14598 core.String description; 14727 core.String description;
14599 /** 14728 /**
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
14743 if (nextPageToken != null) { 14872 if (nextPageToken != null) {
14744 _json["nextPageToken"] = nextPageToken; 14873 _json["nextPageToken"] = nextPageToken;
14745 } 14874 }
14746 if (selfLink != null) { 14875 if (selfLink != null) {
14747 _json["selfLink"] = selfLink; 14876 _json["selfLink"] = selfLink;
14748 } 14877 }
14749 return _json; 14878 return _json;
14750 } 14879 }
14751 } 14880 }
14752 14881
14753 /** Contains a list of disk type resources. */ 14882 /** Contains a list of disk types. */
14754 class DiskTypeList { 14883 class DiskTypeList {
14755 /** 14884 /**
14756 * [Output Only] The unique identifier for the resource. This identifier is 14885 * [Output Only] The unique identifier for the resource. This identifier is
14757 * defined by the server. 14886 * defined by the server.
14758 */ 14887 */
14759 core.String id; 14888 core.String id;
14760 /** [Output Only] A list of Disk Type resources. */ 14889 /** [Output Only] A list of Disk Type resources. */
14761 core.List<DiskType> items; 14890 core.List<DiskType> items;
14762 /** 14891 /**
14763 * [Output Only] Type of resource. Always compute#diskTypeList for disk types. 14892 * [Output Only] Type of resource. Always compute#diskTypeList for disk types.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
14814 return _json; 14943 return _json;
14815 } 14944 }
14816 } 14945 }
14817 14946
14818 class DiskTypesScopedListWarningData { 14947 class DiskTypesScopedListWarningData {
14819 /** 14948 /**
14820 * [Output Only] A key that provides more detail on the warning being 14949 * [Output Only] A key that provides more detail on the warning being
14821 * returned. For example, for warnings where there are no results in a list 14950 * returned. For example, for warnings where there are no results in a list
14822 * request for a particular zone, this key might be scope and the key value 14951 * request for a particular zone, this key might be scope and the key value
14823 * might be the zone name. Other examples might be a key indicating a 14952 * might be the zone name. Other examples might be a key indicating a
14824 * deprecated resource, and a suggested replacement, or a warning about 14953 * deprecated resource and a suggested replacement, or a warning about invalid
14825 * invalid network settings (for example, if an instance attempts to perform 14954 * network settings (for example, if an instance attempts to perform IP
14826 * IP forwarding but is not enabled for IP forwarding). 14955 * forwarding but is not enabled for IP forwarding).
14827 */ 14956 */
14828 core.String key; 14957 core.String key;
14829 /** [Output Only] A warning data value corresponding to the key. */ 14958 /** [Output Only] A warning data value corresponding to the key. */
14830 core.String value; 14959 core.String value;
14831 14960
14832 DiskTypesScopedListWarningData(); 14961 DiskTypesScopedListWarningData();
14833 14962
14834 DiskTypesScopedListWarningData.fromJson(core.Map _json) { 14963 DiskTypesScopedListWarningData.fromJson(core.Map _json) {
14835 if (_json.containsKey("key")) { 14964 if (_json.containsKey("key")) {
14836 key = _json["key"]; 14965 key = _json["key"];
(...skipping 17 matching lines...) Expand all
14854 14983
14855 /** 14984 /**
14856 * [Output Only] Informational warning which replaces the list of disk types 14985 * [Output Only] Informational warning which replaces the list of disk types
14857 * when the list is empty. 14986 * when the list is empty.
14858 */ 14987 */
14859 class DiskTypesScopedListWarning { 14988 class DiskTypesScopedListWarning {
14860 /** 14989 /**
14861 * [Output Only] A warning code, if applicable. For example, Compute Engine 14990 * [Output Only] A warning code, if applicable. For example, Compute Engine
14862 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 14991 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
14863 * Possible string values are: 14992 * Possible string values are:
14993 * - "CLEANUP_FAILED"
14864 * - "DEPRECATED_RESOURCE_USED" 14994 * - "DEPRECATED_RESOURCE_USED"
14865 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 14995 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
14866 * - "INJECTED_KERNELS_DEPRECATED" 14996 * - "INJECTED_KERNELS_DEPRECATED"
14867 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 14997 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
14868 * - "NEXT_HOP_CANNOT_IP_FORWARD" 14998 * - "NEXT_HOP_CANNOT_IP_FORWARD"
14869 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 14999 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
14870 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 15000 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
14871 * - "NEXT_HOP_NOT_RUNNING" 15001 * - "NEXT_HOP_NOT_RUNNING"
14872 * - "NOT_CRITICAL_ERROR" 15002 * - "NOT_CRITICAL_ERROR"
14873 * - "NO_RESULTS_ON_PAGE" 15003 * - "NO_RESULTS_ON_PAGE"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
14946 return _json; 15076 return _json;
14947 } 15077 }
14948 } 15078 }
14949 15079
14950 class DisksScopedListWarningData { 15080 class DisksScopedListWarningData {
14951 /** 15081 /**
14952 * [Output Only] A key that provides more detail on the warning being 15082 * [Output Only] A key that provides more detail on the warning being
14953 * returned. For example, for warnings where there are no results in a list 15083 * returned. For example, for warnings where there are no results in a list
14954 * request for a particular zone, this key might be scope and the key value 15084 * request for a particular zone, this key might be scope and the key value
14955 * might be the zone name. Other examples might be a key indicating a 15085 * might be the zone name. Other examples might be a key indicating a
14956 * deprecated resource, and a suggested replacement, or a warning about 15086 * deprecated resource and a suggested replacement, or a warning about invalid
14957 * invalid network settings (for example, if an instance attempts to perform 15087 * network settings (for example, if an instance attempts to perform IP
14958 * IP forwarding but is not enabled for IP forwarding). 15088 * forwarding but is not enabled for IP forwarding).
14959 */ 15089 */
14960 core.String key; 15090 core.String key;
14961 /** [Output Only] A warning data value corresponding to the key. */ 15091 /** [Output Only] A warning data value corresponding to the key. */
14962 core.String value; 15092 core.String value;
14963 15093
14964 DisksScopedListWarningData(); 15094 DisksScopedListWarningData();
14965 15095
14966 DisksScopedListWarningData.fromJson(core.Map _json) { 15096 DisksScopedListWarningData.fromJson(core.Map _json) {
14967 if (_json.containsKey("key")) { 15097 if (_json.containsKey("key")) {
14968 key = _json["key"]; 15098 key = _json["key"];
(...skipping 17 matching lines...) Expand all
14986 15116
14987 /** 15117 /**
14988 * [Output Only] Informational warning which replaces the list of disks when the 15118 * [Output Only] Informational warning which replaces the list of disks when the
14989 * list is empty. 15119 * list is empty.
14990 */ 15120 */
14991 class DisksScopedListWarning { 15121 class DisksScopedListWarning {
14992 /** 15122 /**
14993 * [Output Only] A warning code, if applicable. For example, Compute Engine 15123 * [Output Only] A warning code, if applicable. For example, Compute Engine
14994 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 15124 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
14995 * Possible string values are: 15125 * Possible string values are:
15126 * - "CLEANUP_FAILED"
14996 * - "DEPRECATED_RESOURCE_USED" 15127 * - "DEPRECATED_RESOURCE_USED"
14997 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 15128 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
14998 * - "INJECTED_KERNELS_DEPRECATED" 15129 * - "INJECTED_KERNELS_DEPRECATED"
14999 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 15130 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
15000 * - "NEXT_HOP_CANNOT_IP_FORWARD" 15131 * - "NEXT_HOP_CANNOT_IP_FORWARD"
15001 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 15132 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
15002 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 15133 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
15003 * - "NEXT_HOP_NOT_RUNNING" 15134 * - "NEXT_HOP_NOT_RUNNING"
15004 * - "NOT_CRITICAL_ERROR" 15135 * - "NOT_CRITICAL_ERROR"
15005 * - "NO_RESULTS_ON_PAGE" 15136 * - "NO_RESULTS_ON_PAGE"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
15075 if (warning != null) { 15206 if (warning != null) {
15076 _json["warning"] = (warning).toJson(); 15207 _json["warning"] = (warning).toJson();
15077 } 15208 }
15078 return _json; 15209 return _json;
15079 } 15210 }
15080 } 15211 }
15081 15212
15082 class FirewallAllowed { 15213 class FirewallAllowed {
15083 /** 15214 /**
15084 * The IP protocol that is allowed for this rule. The protocol type is 15215 * The IP protocol that is allowed for this rule. The protocol type is
15085 * required when creating a firewall. This value can either be one of the 15216 * required when creating a firewall rule. This value can either be one of the
15086 * following well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or 15217 * following well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or
15087 * the IP protocol number. 15218 * the IP protocol number.
15088 */ 15219 */
15089 core.String IPProtocol; 15220 core.String IPProtocol;
15090 /** 15221 /**
15091 * An optional list of ports which are allowed. This field is only applicable 15222 * An optional list of ports which are allowed. This field is only applicable
15092 * for UDP or TCP protocol. Each entry must be either an integer or a range. 15223 * for UDP or TCP protocol. Each entry must be either an integer or a range.
15093 * If not specified, connections through any port are allowed 15224 * If not specified, connections through any port are allowed
15094 * 15225 *
15095 * Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. 15226 * Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
(...skipping 16 matching lines...) Expand all
15112 if (IPProtocol != null) { 15243 if (IPProtocol != null) {
15113 _json["IPProtocol"] = IPProtocol; 15244 _json["IPProtocol"] = IPProtocol;
15114 } 15245 }
15115 if (ports != null) { 15246 if (ports != null) {
15116 _json["ports"] = ports; 15247 _json["ports"] = ports;
15117 } 15248 }
15118 return _json; 15249 return _json;
15119 } 15250 }
15120 } 15251 }
15121 15252
15122 /** A Firewall resource. */ 15253 /** Represents a Firewall resource. */
15123 class Firewall { 15254 class Firewall {
15124 /** 15255 /**
15125 * The list of rules specified by this firewall. Each rule specifies a 15256 * The list of rules specified by this firewall. Each rule specifies a
15126 * protocol and port-range tuple that describes a permitted connection. 15257 * protocol and port-range tuple that describes a permitted connection.
15127 */ 15258 */
15128 core.List<FirewallAllowed> allowed; 15259 core.List<FirewallAllowed> allowed;
15129 /** [Output Only] Creation timestamp in RFC3339 text format. */ 15260 /** [Output Only] Creation timestamp in RFC3339 text format. */
15130 core.String creationTimestamp; 15261 core.String creationTimestamp;
15131 /** 15262 /**
15132 * An optional description of this resource. Provide this property when you 15263 * An optional description of this resource. Provide this property when you
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
15263 if (sourceTags != null) { 15394 if (sourceTags != null) {
15264 _json["sourceTags"] = sourceTags; 15395 _json["sourceTags"] = sourceTags;
15265 } 15396 }
15266 if (targetTags != null) { 15397 if (targetTags != null) {
15267 _json["targetTags"] = targetTags; 15398 _json["targetTags"] = targetTags;
15268 } 15399 }
15269 return _json; 15400 return _json;
15270 } 15401 }
15271 } 15402 }
15272 15403
15273 /** Contains a list of Firewall resources. */ 15404 /** Contains a list of firewalls. */
15274 class FirewallList { 15405 class FirewallList {
15275 /** 15406 /**
15276 * [Output Only] The unique identifier for the resource. This identifier is 15407 * [Output Only] The unique identifier for the resource. This identifier is
15277 * defined by the server. 15408 * defined by the server.
15278 */ 15409 */
15279 core.String id; 15410 core.String id;
15280 /** [Output Only] A list of Firewall resources. */ 15411 /** [Output Only] A list of Firewall resources. */
15281 core.List<Firewall> items; 15412 core.List<Firewall> items;
15282 /** 15413 /**
15283 * [Output Only] Type of resource. Always compute#firewallList for lists of 15414 * [Output Only] Type of resource. Always compute#firewallList for lists of
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
15490 } 15621 }
15491 15622
15492 class ForwardingRuleAggregatedList { 15623 class ForwardingRuleAggregatedList {
15493 /** 15624 /**
15494 * [Output Only] The unique identifier for the resource. This identifier is 15625 * [Output Only] The unique identifier for the resource. This identifier is
15495 * defined by the server. 15626 * defined by the server.
15496 */ 15627 */
15497 core.String id; 15628 core.String id;
15498 /** A map of scoped forwarding rule lists. */ 15629 /** A map of scoped forwarding rule lists. */
15499 core.Map<core.String, ForwardingRulesScopedList> items; 15630 core.Map<core.String, ForwardingRulesScopedList> items;
15500 /** Type of resource. */ 15631 /**
15632 * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList
15633 * for lists of forwarding rules.
15634 */
15501 core.String kind; 15635 core.String kind;
15502 /** 15636 /**
15503 * [Output Only] This token allows you to get the next page of results for 15637 * [Output Only] This token allows you to get the next page of results for
15504 * list requests. If the number of results is larger than maxResults, use the 15638 * list requests. If the number of results is larger than maxResults, use the
15505 * nextPageToken as a value for the query parameter pageToken in the next list 15639 * nextPageToken as a value for the query parameter pageToken in the next list
15506 * request. Subsequent list requests will have their own nextPageToken to 15640 * request. Subsequent list requests will have their own nextPageToken to
15507 * continue paging through the results. 15641 * continue paging through the results.
15508 */ 15642 */
15509 core.String nextPageToken; 15643 core.String nextPageToken;
15510 /** [Output Only] Server-defined URL for this resource. */ 15644 /** [Output Only] Server-defined URL for this resource. */
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
15610 return _json; 15744 return _json;
15611 } 15745 }
15612 } 15746 }
15613 15747
15614 class ForwardingRulesScopedListWarningData { 15748 class ForwardingRulesScopedListWarningData {
15615 /** 15749 /**
15616 * [Output Only] A key that provides more detail on the warning being 15750 * [Output Only] A key that provides more detail on the warning being
15617 * returned. For example, for warnings where there are no results in a list 15751 * returned. For example, for warnings where there are no results in a list
15618 * request for a particular zone, this key might be scope and the key value 15752 * request for a particular zone, this key might be scope and the key value
15619 * might be the zone name. Other examples might be a key indicating a 15753 * might be the zone name. Other examples might be a key indicating a
15620 * deprecated resource, and a suggested replacement, or a warning about 15754 * deprecated resource and a suggested replacement, or a warning about invalid
15621 * invalid network settings (for example, if an instance attempts to perform 15755 * network settings (for example, if an instance attempts to perform IP
15622 * IP forwarding but is not enabled for IP forwarding). 15756 * forwarding but is not enabled for IP forwarding).
15623 */ 15757 */
15624 core.String key; 15758 core.String key;
15625 /** [Output Only] A warning data value corresponding to the key. */ 15759 /** [Output Only] A warning data value corresponding to the key. */
15626 core.String value; 15760 core.String value;
15627 15761
15628 ForwardingRulesScopedListWarningData(); 15762 ForwardingRulesScopedListWarningData();
15629 15763
15630 ForwardingRulesScopedListWarningData.fromJson(core.Map _json) { 15764 ForwardingRulesScopedListWarningData.fromJson(core.Map _json) {
15631 if (_json.containsKey("key")) { 15765 if (_json.containsKey("key")) {
15632 key = _json["key"]; 15766 key = _json["key"];
(...skipping 17 matching lines...) Expand all
15650 15784
15651 /** 15785 /**
15652 * Informational warning which replaces the list of forwarding rules when the 15786 * Informational warning which replaces the list of forwarding rules when the
15653 * list is empty. 15787 * list is empty.
15654 */ 15788 */
15655 class ForwardingRulesScopedListWarning { 15789 class ForwardingRulesScopedListWarning {
15656 /** 15790 /**
15657 * [Output Only] A warning code, if applicable. For example, Compute Engine 15791 * [Output Only] A warning code, if applicable. For example, Compute Engine
15658 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 15792 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
15659 * Possible string values are: 15793 * Possible string values are:
15794 * - "CLEANUP_FAILED"
15660 * - "DEPRECATED_RESOURCE_USED" 15795 * - "DEPRECATED_RESOURCE_USED"
15661 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 15796 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
15662 * - "INJECTED_KERNELS_DEPRECATED" 15797 * - "INJECTED_KERNELS_DEPRECATED"
15663 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 15798 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
15664 * - "NEXT_HOP_CANNOT_IP_FORWARD" 15799 * - "NEXT_HOP_CANNOT_IP_FORWARD"
15665 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 15800 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
15666 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 15801 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
15667 * - "NEXT_HOP_NOT_RUNNING" 15802 * - "NEXT_HOP_NOT_RUNNING"
15668 * - "NOT_CRITICAL_ERROR" 15803 * - "NOT_CRITICAL_ERROR"
15669 * - "NO_RESULTS_ON_PAGE" 15804 * - "NO_RESULTS_ON_PAGE"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
15736 if (forwardingRules != null) { 15871 if (forwardingRules != null) {
15737 _json["forwardingRules"] = forwardingRules.map((value) => (value).toJson() ).toList(); 15872 _json["forwardingRules"] = forwardingRules.map((value) => (value).toJson() ).toList();
15738 } 15873 }
15739 if (warning != null) { 15874 if (warning != null) {
15740 _json["warning"] = (warning).toJson(); 15875 _json["warning"] = (warning).toJson();
15741 } 15876 }
15742 return _json; 15877 return _json;
15743 } 15878 }
15744 } 15879 }
15745 15880
15881 /**
15882 * A full or valid partial URL to a health check. For example, the following are
15883 * valid URLs:
15884 * -
15885 * https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealth Checks/health-check
15886 * - projects/project-id/global/httpHealthChecks/health-check
15887 * - global/httpHealthChecks/health-check
15888 */
15746 class HealthCheckReference { 15889 class HealthCheckReference {
15747 core.String healthCheck; 15890 core.String healthCheck;
15748 15891
15749 HealthCheckReference(); 15892 HealthCheckReference();
15750 15893
15751 HealthCheckReference.fromJson(core.Map _json) { 15894 HealthCheckReference.fromJson(core.Map _json) {
15752 if (_json.containsKey("healthCheck")) { 15895 if (_json.containsKey("healthCheck")) {
15753 healthCheck = _json["healthCheck"]; 15896 healthCheck = _json["healthCheck"];
15754 } 15897 }
15755 } 15898 }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
15890 * The value of the host header in the HTTP health check request. If left 16033 * The value of the host header in the HTTP health check request. If left
15891 * empty (default value), the public IP on behalf of which this health check 16034 * empty (default value), the public IP on behalf of which this health check
15892 * is performed will be used. 16035 * is performed will be used.
15893 */ 16036 */
15894 core.String host; 16037 core.String host;
15895 /** 16038 /**
15896 * [Output Only] The unique identifier for the resource. This identifier is 16039 * [Output Only] The unique identifier for the resource. This identifier is
15897 * defined by the server. 16040 * defined by the server.
15898 */ 16041 */
15899 core.String id; 16042 core.String id;
15900 /** Type of the resource. */ 16043 /**
16044 * [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP
16045 * health checks.
16046 */
15901 core.String kind; 16047 core.String kind;
15902 /** 16048 /**
15903 * Name of the resource. Provided by the client when the resource is created. 16049 * Name of the resource. Provided by the client when the resource is created.
15904 * The name must be 1-63 characters long, and comply with RFC1035. 16050 * The name must be 1-63 characters long, and comply with RFC1035.
15905 * Specifically, the name must be 1-63 characters long and match the regular 16051 * Specifically, the name must be 1-63 characters long and match the regular
15906 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 16052 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
15907 * be a lowercase letter, and all following characters must be a dash, 16053 * be a lowercase letter, and all following characters must be a dash,
15908 * lowercase letter, or digit, except the last character, which cannot be a 16054 * lowercase letter, or digit, except the last character, which cannot be a
15909 * dash. 16055 * dash.
15910 */ 16056 */
15911 core.String name; 16057 core.String name;
15912 /** 16058 /**
15913 * The TCP port number for the HTTP health check request. The default value is 16059 * The TCP port number for the HTTP health check request. The default value is
15914 * 80. 16060 * 80.
15915 */ 16061 */
15916 core.int port; 16062 core.int port;
15917 /** 16063 /**
15918 * The request path of the HTTP health check request. The default value is 16064 * The request path of the HTTP health check request. The default value is /.
15919 * "/".
15920 */ 16065 */
15921 core.String requestPath; 16066 core.String requestPath;
15922 /** [Output Only] Server-defined URL for the resource. */ 16067 /** [Output Only] Server-defined URL for the resource. */
15923 core.String selfLink; 16068 core.String selfLink;
15924 /** 16069 /**
15925 * How long (in seconds) to wait before claiming failure. The default value is 16070 * How long (in seconds) to wait before claiming failure. The default value is
15926 * 5 seconds. It is invalid for timeoutSec to have greater value than 16071 * 5 seconds. It is invalid for timeoutSec to have greater value than
15927 * checkIntervalSec. 16072 * checkIntervalSec.
15928 */ 16073 */
15929 core.int timeoutSec; 16074 core.int timeoutSec;
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
16524 if (sourceType != null) { 16669 if (sourceType != null) {
16525 _json["sourceType"] = sourceType; 16670 _json["sourceType"] = sourceType;
16526 } 16671 }
16527 if (status != null) { 16672 if (status != null) {
16528 _json["status"] = status; 16673 _json["status"] = status;
16529 } 16674 }
16530 return _json; 16675 return _json;
16531 } 16676 }
16532 } 16677 }
16533 16678
16534 /** Contains a list of Image resources. */ 16679 /** Contains a list of images. */
16535 class ImageList { 16680 class ImageList {
16536 /** 16681 /**
16537 * [Output Only] The unique identifier for the resource. This identifier is 16682 * [Output Only] The unique identifier for the resource. This identifier is
16538 * defined by the server. 16683 * defined by the server.
16539 */ 16684 */
16540 core.String id; 16685 core.String id;
16541 /** [Output Only] A list of Image resources. */ 16686 /** [Output Only] A list of Image resources. */
16542 core.List<Image> items; 16687 core.List<Image> items;
16543 /** Type of resource. */ 16688 /** Type of resource. */
16544 core.String kind; 16689 core.String kind;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
16621 * [Output Only] The unique identifier for the resource. This identifier is 16766 * [Output Only] The unique identifier for the resource. This identifier is
16622 * defined by the server. 16767 * defined by the server.
16623 */ 16768 */
16624 core.String id; 16769 core.String id;
16625 /** 16770 /**
16626 * [Output Only] Type of the resource. Always compute#instance for instances. 16771 * [Output Only] Type of the resource. Always compute#instance for instances.
16627 */ 16772 */
16628 core.String kind; 16773 core.String kind;
16629 /** 16774 /**
16630 * Full or partial URL of the machine type resource to use for this instance, 16775 * Full or partial URL of the machine type resource to use for this instance,
16631 * in the format: zones/zone/machineTypes/ machine-type. This is provided by 16776 * in the format: zones/zone/machineTypes/machine-type. This is provided by
16632 * the client when the instance is created. For example, the following is a 16777 * the client when the instance is created. For example, the following is a
16633 * valid partial url to a predefined machine type: 16778 * valid partial url to a predefined machine type:
16634 * 16779 *
16635 * zones/us-central1-f/machineTypes/n1-standard-1 16780 * zones/us-central1-f/machineTypes/n1-standard-1
16636 * 16781 *
16637 * To create a custom machine type, provide a URL to a machine type in the 16782 * To create a custom machine type, provide a URL to a machine type in the
16638 * following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 16783 * following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ...
16639 * 24, etc), and MEMORY is the total memory for this instance. Memory must be 16784 * 24, etc), and MEMORY is the total memory for this instance. Memory must be
16640 * a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 16785 * a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is
16641 * 5120 MB): 16786 * 5120 MB):
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
16691 * - "STOPPED" 16836 * - "STOPPED"
16692 * - "STOPPING" 16837 * - "STOPPING"
16693 * - "SUSPENDED" 16838 * - "SUSPENDED"
16694 * - "SUSPENDING" 16839 * - "SUSPENDING"
16695 * - "TERMINATED" 16840 * - "TERMINATED"
16696 */ 16841 */
16697 core.String status; 16842 core.String status;
16698 /** [Output Only] An optional, human-readable explanation of the status. */ 16843 /** [Output Only] An optional, human-readable explanation of the status. */
16699 core.String statusMessage; 16844 core.String statusMessage;
16700 /** 16845 /**
16701 * A list of tags to appy to this instance. Tags are used to identify valid 16846 * A list of tags to apply to this instance. Tags are used to identify valid
16702 * sources or targets for network firewalls and are specified by the client 16847 * sources or targets for network firewalls and are specified by the client
16703 * during instance creation. The tags can be later modified by the setTags 16848 * during instance creation. The tags can be later modified by the setTags
16704 * method. Each tag within the list must comply with RFC1035. 16849 * method. Each tag within the list must comply with RFC1035.
16705 */ 16850 */
16706 Tags tags; 16851 Tags tags;
16707 /** [Output Only] URL of the zone where the instance resides. */ 16852 /** [Output Only] URL of the zone where the instance resides. */
16708 core.String zone; 16853 core.String zone;
16709 16854
16710 Instance(); 16855 Instance();
16711 16856
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
16934 * Assigns a name to a port number. For example: {name: "http", port: 80} 17079 * Assigns a name to a port number. For example: {name: "http", port: 80}
16935 * 17080 *
16936 * This allows the system to reference ports by the assigned name instead of a 17081 * This allows the system to reference ports by the assigned name instead of a
16937 * port number. Named ports can also contain multiple ports. For example: 17082 * port number. Named ports can also contain multiple ports. For example:
16938 * [{name: "http", port: 80},{name: "http", port: 8080}] 17083 * [{name: "http", port: 80},{name: "http", port: 8080}]
16939 * 17084 *
16940 * Named ports apply to all instances in this instance group. 17085 * Named ports apply to all instances in this instance group.
16941 */ 17086 */
16942 core.List<NamedPort> namedPorts; 17087 core.List<NamedPort> namedPorts;
16943 /** 17088 /**
16944 * [Output Only] The URL of the network to which all instances in the instance 17089 * The URL of the network to which all instances in the instance group belong.
16945 * group belong.
16946 */ 17090 */
16947 core.String network; 17091 core.String network;
16948 /** 17092 /**
16949 * [Output Only] The URL for this instance group. The server generates this 17093 * [Output Only] The URL for this instance group. The server generates this
16950 * URL. 17094 * URL.
16951 */ 17095 */
16952 core.String selfLink; 17096 core.String selfLink;
16953 /** [Output Only] The total number of instances in the instance group. */ 17097 /** [Output Only] The total number of instances in the instance group. */
16954 core.int size; 17098 core.int size;
16955 /** 17099 /**
16956 * [Output Only] The URL of the subnetwork to which all instances in the 17100 * The URL of the subnetwork to which all instances in the instance group
16957 * instance group belong. 17101 * belong.
16958 */ 17102 */
16959 core.String subnetwork; 17103 core.String subnetwork;
16960 /** [Output Only] The URL of the zone where the instance group is located. */ 17104 /** [Output Only] The URL of the zone where the instance group is located. */
16961 core.String zone; 17105 core.String zone;
16962 17106
16963 InstanceGroup(); 17107 InstanceGroup();
16964 17108
16965 InstanceGroup.fromJson(core.Map _json) { 17109 InstanceGroup.fromJson(core.Map _json) {
16966 if (_json.containsKey("creationTimestamp")) { 17110 if (_json.containsKey("creationTimestamp")) {
16967 creationTimestamp = _json["creationTimestamp"]; 17111 creationTimestamp = _json["creationTimestamp"];
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
17174 if (nextPageToken != null) { 17318 if (nextPageToken != null) {
17175 _json["nextPageToken"] = nextPageToken; 17319 _json["nextPageToken"] = nextPageToken;
17176 } 17320 }
17177 if (selfLink != null) { 17321 if (selfLink != null) {
17178 _json["selfLink"] = selfLink; 17322 _json["selfLink"] = selfLink;
17179 } 17323 }
17180 return _json; 17324 return _json;
17181 } 17325 }
17182 } 17326 }
17183 17327
17184 /**
17185 * InstanceGroupManagers
17186 *
17187 * Next available tag: 20
17188 */
17189 class InstanceGroupManager { 17328 class InstanceGroupManager {
17190 /** 17329 /**
17191 * The base instance name to use for instances in this group. The value must 17330 * The base instance name to use for instances in this group. The value must
17192 * be 1-58 characters long. Instances are named by appending a hyphen and a 17331 * be 1-58 characters long. Instances are named by appending a hyphen and a
17193 * random four-character string to the base instance name. The base instance 17332 * random four-character string to the base instance name. The base instance
17194 * name must comply with RFC1035. 17333 * name must comply with RFC1035.
17195 */ 17334 */
17196 core.String baseInstanceName; 17335 core.String baseInstanceName;
17197 /** 17336 /**
17198 * [Output Only] The creation timestamp for this managed instance group in 17337 * [Output Only] The creation timestamp for this managed instance group in
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
17695 return _json; 17834 return _json;
17696 } 17835 }
17697 } 17836 }
17698 17837
17699 class InstanceGroupManagersScopedListWarningData { 17838 class InstanceGroupManagersScopedListWarningData {
17700 /** 17839 /**
17701 * [Output Only] A key that provides more detail on the warning being 17840 * [Output Only] A key that provides more detail on the warning being
17702 * returned. For example, for warnings where there are no results in a list 17841 * returned. For example, for warnings where there are no results in a list
17703 * request for a particular zone, this key might be scope and the key value 17842 * request for a particular zone, this key might be scope and the key value
17704 * might be the zone name. Other examples might be a key indicating a 17843 * might be the zone name. Other examples might be a key indicating a
17705 * deprecated resource, and a suggested replacement, or a warning about 17844 * deprecated resource and a suggested replacement, or a warning about invalid
17706 * invalid network settings (for example, if an instance attempts to perform 17845 * network settings (for example, if an instance attempts to perform IP
17707 * IP forwarding but is not enabled for IP forwarding). 17846 * forwarding but is not enabled for IP forwarding).
17708 */ 17847 */
17709 core.String key; 17848 core.String key;
17710 /** [Output Only] A warning data value corresponding to the key. */ 17849 /** [Output Only] A warning data value corresponding to the key. */
17711 core.String value; 17850 core.String value;
17712 17851
17713 InstanceGroupManagersScopedListWarningData(); 17852 InstanceGroupManagersScopedListWarningData();
17714 17853
17715 InstanceGroupManagersScopedListWarningData.fromJson(core.Map _json) { 17854 InstanceGroupManagersScopedListWarningData.fromJson(core.Map _json) {
17716 if (_json.containsKey("key")) { 17855 if (_json.containsKey("key")) {
17717 key = _json["key"]; 17856 key = _json["key"];
(...skipping 17 matching lines...) Expand all
17735 17874
17736 /** 17875 /**
17737 * [Output Only] The warning that replaces the list of managed instance groups 17876 * [Output Only] The warning that replaces the list of managed instance groups
17738 * when the list is empty. 17877 * when the list is empty.
17739 */ 17878 */
17740 class InstanceGroupManagersScopedListWarning { 17879 class InstanceGroupManagersScopedListWarning {
17741 /** 17880 /**
17742 * [Output Only] A warning code, if applicable. For example, Compute Engine 17881 * [Output Only] A warning code, if applicable. For example, Compute Engine
17743 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 17882 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
17744 * Possible string values are: 17883 * Possible string values are:
17884 * - "CLEANUP_FAILED"
17745 * - "DEPRECATED_RESOURCE_USED" 17885 * - "DEPRECATED_RESOURCE_USED"
17746 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 17886 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
17747 * - "INJECTED_KERNELS_DEPRECATED" 17887 * - "INJECTED_KERNELS_DEPRECATED"
17748 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 17888 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
17749 * - "NEXT_HOP_CANNOT_IP_FORWARD" 17889 * - "NEXT_HOP_CANNOT_IP_FORWARD"
17750 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 17890 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
17751 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 17891 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
17752 * - "NEXT_HOP_NOT_RUNNING" 17892 * - "NEXT_HOP_NOT_RUNNING"
17753 * - "NOT_CRITICAL_ERROR" 17893 * - "NOT_CRITICAL_ERROR"
17754 * - "NO_RESULTS_ON_PAGE" 17894 * - "NO_RESULTS_ON_PAGE"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
18043 return _json; 18183 return _json;
18044 } 18184 }
18045 } 18185 }
18046 18186
18047 class InstanceGroupsScopedListWarningData { 18187 class InstanceGroupsScopedListWarningData {
18048 /** 18188 /**
18049 * [Output Only] A key that provides more detail on the warning being 18189 * [Output Only] A key that provides more detail on the warning being
18050 * returned. For example, for warnings where there are no results in a list 18190 * returned. For example, for warnings where there are no results in a list
18051 * request for a particular zone, this key might be scope and the key value 18191 * request for a particular zone, this key might be scope and the key value
18052 * might be the zone name. Other examples might be a key indicating a 18192 * might be the zone name. Other examples might be a key indicating a
18053 * deprecated resource, and a suggested replacement, or a warning about 18193 * deprecated resource and a suggested replacement, or a warning about invalid
18054 * invalid network settings (for example, if an instance attempts to perform 18194 * network settings (for example, if an instance attempts to perform IP
18055 * IP forwarding but is not enabled for IP forwarding). 18195 * forwarding but is not enabled for IP forwarding).
18056 */ 18196 */
18057 core.String key; 18197 core.String key;
18058 /** [Output Only] A warning data value corresponding to the key. */ 18198 /** [Output Only] A warning data value corresponding to the key. */
18059 core.String value; 18199 core.String value;
18060 18200
18061 InstanceGroupsScopedListWarningData(); 18201 InstanceGroupsScopedListWarningData();
18062 18202
18063 InstanceGroupsScopedListWarningData.fromJson(core.Map _json) { 18203 InstanceGroupsScopedListWarningData.fromJson(core.Map _json) {
18064 if (_json.containsKey("key")) { 18204 if (_json.containsKey("key")) {
18065 key = _json["key"]; 18205 key = _json["key"];
(...skipping 17 matching lines...) Expand all
18083 18223
18084 /** 18224 /**
18085 * [Output Only] An informational warning that replaces the list of instance 18225 * [Output Only] An informational warning that replaces the list of instance
18086 * groups when the list is empty. 18226 * groups when the list is empty.
18087 */ 18227 */
18088 class InstanceGroupsScopedListWarning { 18228 class InstanceGroupsScopedListWarning {
18089 /** 18229 /**
18090 * [Output Only] A warning code, if applicable. For example, Compute Engine 18230 * [Output Only] A warning code, if applicable. For example, Compute Engine
18091 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 18231 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
18092 * Possible string values are: 18232 * Possible string values are:
18233 * - "CLEANUP_FAILED"
18093 * - "DEPRECATED_RESOURCE_USED" 18234 * - "DEPRECATED_RESOURCE_USED"
18094 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 18235 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
18095 * - "INJECTED_KERNELS_DEPRECATED" 18236 * - "INJECTED_KERNELS_DEPRECATED"
18096 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 18237 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
18097 * - "NEXT_HOP_CANNOT_IP_FORWARD" 18238 * - "NEXT_HOP_CANNOT_IP_FORWARD"
18098 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 18239 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
18099 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 18240 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
18100 * - "NEXT_HOP_NOT_RUNNING" 18241 * - "NEXT_HOP_NOT_RUNNING"
18101 * - "NOT_CRITICAL_ERROR" 18242 * - "NOT_CRITICAL_ERROR"
18102 * - "NO_RESULTS_ON_PAGE" 18243 * - "NO_RESULTS_ON_PAGE"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
18214 if (fingerprint != null) { 18355 if (fingerprint != null) {
18215 _json["fingerprint"] = fingerprint; 18356 _json["fingerprint"] = fingerprint;
18216 } 18357 }
18217 if (namedPorts != null) { 18358 if (namedPorts != null) {
18218 _json["namedPorts"] = namedPorts.map((value) => (value).toJson()).toList() ; 18359 _json["namedPorts"] = namedPorts.map((value) => (value).toJson()).toList() ;
18219 } 18360 }
18220 return _json; 18361 return _json;
18221 } 18362 }
18222 } 18363 }
18223 18364
18224 /** Contains a list of instance resources. */ 18365 /** Contains a list of instances. */
18225 class InstanceList { 18366 class InstanceList {
18226 /** 18367 /**
18227 * [Output Only] The unique identifier for the resource. This identifier is 18368 * [Output Only] The unique identifier for the resource. This identifier is
18228 * defined by the server. 18369 * defined by the server.
18229 */ 18370 */
18230 core.String id; 18371 core.String id;
18231 /** [Output Only] A list of Instance resources. */ 18372 /** [Output Only] A list of instances. */
18232 core.List<Instance> items; 18373 core.List<Instance> items;
18233 /** 18374 /**
18234 * [Output Only] Type of resource. Always compute#instanceList for lists of 18375 * [Output Only] Type of resource. Always compute#instanceList for lists of
18235 * Instance resources. 18376 * Instance resources.
18236 */ 18377 */
18237 core.String kind; 18378 core.String kind;
18238 /** 18379 /**
18239 * [Output Only] This token allows you to get the next page of results for 18380 * [Output Only] This token allows you to get the next page of results for
18240 * list requests. If the number of results is larger than maxResults, use the 18381 * list requests. If the number of results is larger than maxResults, use the
18241 * nextPageToken as a value for the query parameter pageToken in the next list 18382 * nextPageToken as a value for the query parameter pageToken in the next list
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
18282 } 18423 }
18283 if (selfLink != null) { 18424 if (selfLink != null) {
18284 _json["selfLink"] = selfLink; 18425 _json["selfLink"] = selfLink;
18285 } 18426 }
18286 return _json; 18427 return _json;
18287 } 18428 }
18288 } 18429 }
18289 18430
18290 class InstanceMoveRequest { 18431 class InstanceMoveRequest {
18291 /** 18432 /**
18292 * The URL of the destination zone to move the instance to. This can be a full 18433 * The URL of the destination zone to move the instance. This can be a full or
18293 * or partial URL. For example, the following are all valid URLs to a zone: 18434 * partial URL. For example, the following are all valid URLs to a zone:
18294 * - https://www.googleapis.com/compute/v1/projects/project/zones/zone 18435 * - https://www.googleapis.com/compute/v1/projects/project/zones/zone
18295 * - projects/project/zones/zone 18436 * - projects/project/zones/zone
18296 * - zones/zone 18437 * - zones/zone
18297 */ 18438 */
18298 core.String destinationZone; 18439 core.String destinationZone;
18299 /** 18440 /**
18300 * The URL of the target instance to move. This can be a full or partial URL. 18441 * The URL of the target instance to move. This can be a full or partial URL.
18301 * For example, the following are all valid URLs to an instance: 18442 * For example, the following are all valid URLs to an instance:
18302 * - 18443 * -
18303 * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances /instance 18444 * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances /instance
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
18676 return _json; 18817 return _json;
18677 } 18818 }
18678 } 18819 }
18679 18820
18680 class InstancesScopedListWarningData { 18821 class InstancesScopedListWarningData {
18681 /** 18822 /**
18682 * [Output Only] A key that provides more detail on the warning being 18823 * [Output Only] A key that provides more detail on the warning being
18683 * returned. For example, for warnings where there are no results in a list 18824 * returned. For example, for warnings where there are no results in a list
18684 * request for a particular zone, this key might be scope and the key value 18825 * request for a particular zone, this key might be scope and the key value
18685 * might be the zone name. Other examples might be a key indicating a 18826 * might be the zone name. Other examples might be a key indicating a
18686 * deprecated resource, and a suggested replacement, or a warning about 18827 * deprecated resource and a suggested replacement, or a warning about invalid
18687 * invalid network settings (for example, if an instance attempts to perform 18828 * network settings (for example, if an instance attempts to perform IP
18688 * IP forwarding but is not enabled for IP forwarding). 18829 * forwarding but is not enabled for IP forwarding).
18689 */ 18830 */
18690 core.String key; 18831 core.String key;
18691 /** [Output Only] A warning data value corresponding to the key. */ 18832 /** [Output Only] A warning data value corresponding to the key. */
18692 core.String value; 18833 core.String value;
18693 18834
18694 InstancesScopedListWarningData(); 18835 InstancesScopedListWarningData();
18695 18836
18696 InstancesScopedListWarningData.fromJson(core.Map _json) { 18837 InstancesScopedListWarningData.fromJson(core.Map _json) {
18697 if (_json.containsKey("key")) { 18838 if (_json.containsKey("key")) {
18698 key = _json["key"]; 18839 key = _json["key"];
(...skipping 17 matching lines...) Expand all
18716 18857
18717 /** 18858 /**
18718 * [Output Only] Informational warning which replaces the list of instances when 18859 * [Output Only] Informational warning which replaces the list of instances when
18719 * the list is empty. 18860 * the list is empty.
18720 */ 18861 */
18721 class InstancesScopedListWarning { 18862 class InstancesScopedListWarning {
18722 /** 18863 /**
18723 * [Output Only] A warning code, if applicable. For example, Compute Engine 18864 * [Output Only] A warning code, if applicable. For example, Compute Engine
18724 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 18865 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
18725 * Possible string values are: 18866 * Possible string values are:
18867 * - "CLEANUP_FAILED"
18726 * - "DEPRECATED_RESOURCE_USED" 18868 * - "DEPRECATED_RESOURCE_USED"
18727 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 18869 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
18728 * - "INJECTED_KERNELS_DEPRECATED" 18870 * - "INJECTED_KERNELS_DEPRECATED"
18729 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 18871 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
18730 * - "NEXT_HOP_CANNOT_IP_FORWARD" 18872 * - "NEXT_HOP_CANNOT_IP_FORWARD"
18731 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 18873 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
18732 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 18874 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
18733 * - "NEXT_HOP_NOT_RUNNING" 18875 * - "NEXT_HOP_NOT_RUNNING"
18734 * - "NOT_CRITICAL_ERROR" 18876 * - "NOT_CRITICAL_ERROR"
18735 * - "NO_RESULTS_ON_PAGE" 18877 * - "NO_RESULTS_ON_PAGE"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
19111 if (nextPageToken != null) { 19253 if (nextPageToken != null) {
19112 _json["nextPageToken"] = nextPageToken; 19254 _json["nextPageToken"] = nextPageToken;
19113 } 19255 }
19114 if (selfLink != null) { 19256 if (selfLink != null) {
19115 _json["selfLink"] = selfLink; 19257 _json["selfLink"] = selfLink;
19116 } 19258 }
19117 return _json; 19259 return _json;
19118 } 19260 }
19119 } 19261 }
19120 19262
19121 /** Contains a list of Machine Type resources. */ 19263 /** Contains a list of machine types. */
19122 class MachineTypeList { 19264 class MachineTypeList {
19123 /** 19265 /**
19124 * [Output Only] The unique identifier for the resource. This identifier is 19266 * [Output Only] The unique identifier for the resource. This identifier is
19125 * defined by the server. 19267 * defined by the server.
19126 */ 19268 */
19127 core.String id; 19269 core.String id;
19128 /** [Output Only] A list of Machine Type resources. */ 19270 /** [Output Only] A list of Machine Type resources. */
19129 core.List<MachineType> items; 19271 core.List<MachineType> items;
19130 /** 19272 /**
19131 * [Output Only] Type of resource. Always compute#machineTypeList for lists of 19273 * [Output Only] Type of resource. Always compute#machineTypeList for lists of
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
19183 return _json; 19325 return _json;
19184 } 19326 }
19185 } 19327 }
19186 19328
19187 class MachineTypesScopedListWarningData { 19329 class MachineTypesScopedListWarningData {
19188 /** 19330 /**
19189 * [Output Only] A key that provides more detail on the warning being 19331 * [Output Only] A key that provides more detail on the warning being
19190 * returned. For example, for warnings where there are no results in a list 19332 * returned. For example, for warnings where there are no results in a list
19191 * request for a particular zone, this key might be scope and the key value 19333 * request for a particular zone, this key might be scope and the key value
19192 * might be the zone name. Other examples might be a key indicating a 19334 * might be the zone name. Other examples might be a key indicating a
19193 * deprecated resource, and a suggested replacement, or a warning about 19335 * deprecated resource and a suggested replacement, or a warning about invalid
19194 * invalid network settings (for example, if an instance attempts to perform 19336 * network settings (for example, if an instance attempts to perform IP
19195 * IP forwarding but is not enabled for IP forwarding). 19337 * forwarding but is not enabled for IP forwarding).
19196 */ 19338 */
19197 core.String key; 19339 core.String key;
19198 /** [Output Only] A warning data value corresponding to the key. */ 19340 /** [Output Only] A warning data value corresponding to the key. */
19199 core.String value; 19341 core.String value;
19200 19342
19201 MachineTypesScopedListWarningData(); 19343 MachineTypesScopedListWarningData();
19202 19344
19203 MachineTypesScopedListWarningData.fromJson(core.Map _json) { 19345 MachineTypesScopedListWarningData.fromJson(core.Map _json) {
19204 if (_json.containsKey("key")) { 19346 if (_json.containsKey("key")) {
19205 key = _json["key"]; 19347 key = _json["key"];
(...skipping 17 matching lines...) Expand all
19223 19365
19224 /** 19366 /**
19225 * [Output Only] An informational warning that appears when the machine types 19367 * [Output Only] An informational warning that appears when the machine types
19226 * list is empty. 19368 * list is empty.
19227 */ 19369 */
19228 class MachineTypesScopedListWarning { 19370 class MachineTypesScopedListWarning {
19229 /** 19371 /**
19230 * [Output Only] A warning code, if applicable. For example, Compute Engine 19372 * [Output Only] A warning code, if applicable. For example, Compute Engine
19231 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 19373 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
19232 * Possible string values are: 19374 * Possible string values are:
19375 * - "CLEANUP_FAILED"
19233 * - "DEPRECATED_RESOURCE_USED" 19376 * - "DEPRECATED_RESOURCE_USED"
19234 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 19377 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
19235 * - "INJECTED_KERNELS_DEPRECATED" 19378 * - "INJECTED_KERNELS_DEPRECATED"
19236 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 19379 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
19237 * - "NEXT_HOP_CANNOT_IP_FORWARD" 19380 * - "NEXT_HOP_CANNOT_IP_FORWARD"
19238 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 19381 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
19239 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 19382 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
19240 * - "NEXT_HOP_NOT_RUNNING" 19383 * - "NEXT_HOP_NOT_RUNNING"
19241 * - "NOT_CRITICAL_ERROR" 19384 * - "NOT_CRITICAL_ERROR"
19242 * - "NO_RESULTS_ON_PAGE" 19385 * - "NO_RESULTS_ON_PAGE"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
19416 _json["lastAttempt"] = (lastAttempt).toJson(); 19559 _json["lastAttempt"] = (lastAttempt).toJson();
19417 } 19560 }
19418 return _json; 19561 return _json;
19419 } 19562 }
19420 } 19563 }
19421 19564
19422 class ManagedInstanceLastAttemptErrorsErrors { 19565 class ManagedInstanceLastAttemptErrorsErrors {
19423 /** [Output Only] The error type identifier for this error. */ 19566 /** [Output Only] The error type identifier for this error. */
19424 core.String code; 19567 core.String code;
19425 /** 19568 /**
19426 * [Output Only] Indicates the field in the request which caused the error. 19569 * [Output Only] Indicates the field in the request that caused the error.
19427 * This property is optional. 19570 * This property is optional.
19428 */ 19571 */
19429 core.String location; 19572 core.String location;
19430 /** [Output Only] An optional, human-readable error message. */ 19573 /** [Output Only] An optional, human-readable error message. */
19431 core.String message; 19574 core.String message;
19432 19575
19433 ManagedInstanceLastAttemptErrorsErrors(); 19576 ManagedInstanceLastAttemptErrorsErrors();
19434 19577
19435 ManagedInstanceLastAttemptErrorsErrors.fromJson(core.Map _json) { 19578 ManagedInstanceLastAttemptErrorsErrors.fromJson(core.Map _json) {
19436 if (_json.containsKey("code")) { 19579 if (_json.containsKey("code")) {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
19632 if (name != null) { 19775 if (name != null) {
19633 _json["name"] = name; 19776 _json["name"] = name;
19634 } 19777 }
19635 if (port != null) { 19778 if (port != null) {
19636 _json["port"] = port; 19779 _json["port"] = port;
19637 } 19780 }
19638 return _json; 19781 return _json;
19639 } 19782 }
19640 } 19783 }
19641 19784
19642 /** A network resource. */ 19785 /**
19786 * Represents a Network resource. Read Networks and Firewalls for more
19787 * information.
19788 */
19643 class Network { 19789 class Network {
19644 /** 19790 /**
19645 * The range of internal addresses that are legal on this network. This range 19791 * The range of internal addresses that are legal on this network. This range
19646 * is a CIDR specification, for example: 192.168.0.0/16. Provided by the 19792 * is a CIDR specification, for example: 192.168.0.0/16. Provided by the
19647 * client when the network is created. 19793 * client when the network is created.
19648 */ 19794 */
19649 core.String IPv4Range; 19795 core.String IPv4Range;
19650 /** 19796 /**
19651 * When set to true, the network is created in "auto subnet mode". When set to 19797 * When set to true, the network is created in "auto subnet mode". When set to
19652 * false, the network is in "custom subnet mode". 19798 * false, the network is in "custom subnet mode".
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
19846 if (networkIP != null) { 19992 if (networkIP != null) {
19847 _json["networkIP"] = networkIP; 19993 _json["networkIP"] = networkIP;
19848 } 19994 }
19849 if (subnetwork != null) { 19995 if (subnetwork != null) {
19850 _json["subnetwork"] = subnetwork; 19996 _json["subnetwork"] = subnetwork;
19851 } 19997 }
19852 return _json; 19998 return _json;
19853 } 19999 }
19854 } 20000 }
19855 20001
19856 /** Contains a list of Network resources. */ 20002 /** Contains a list of networks. */
19857 class NetworkList { 20003 class NetworkList {
19858 /** 20004 /**
19859 * [Output Only] The unique identifier for the resource. This identifier is 20005 * [Output Only] The unique identifier for the resource. This identifier is
19860 * defined by the server. 20006 * defined by the server.
19861 */ 20007 */
19862 core.String id; 20008 core.String id;
19863 /** [Output Only] A list of Network resources. */ 20009 /** [Output Only] A list of Network resources. */
19864 core.List<Network> items; 20010 core.List<Network> items;
19865 /** 20011 /**
19866 * [Output Only] Type of resource. Always compute#networkList for lists of 20012 * [Output Only] Type of resource. Always compute#networkList for lists of
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
19916 _json["selfLink"] = selfLink; 20062 _json["selfLink"] = selfLink;
19917 } 20063 }
19918 return _json; 20064 return _json;
19919 } 20065 }
19920 } 20066 }
19921 20067
19922 class OperationErrorErrors { 20068 class OperationErrorErrors {
19923 /** [Output Only] The error type identifier for this error. */ 20069 /** [Output Only] The error type identifier for this error. */
19924 core.String code; 20070 core.String code;
19925 /** 20071 /**
19926 * [Output Only] Indicates the field in the request which caused the error. 20072 * [Output Only] Indicates the field in the request that caused the error.
19927 * This property is optional. 20073 * This property is optional.
19928 */ 20074 */
19929 core.String location; 20075 core.String location;
19930 /** [Output Only] An optional, human-readable error message. */ 20076 /** [Output Only] An optional, human-readable error message. */
19931 core.String message; 20077 core.String message;
19932 20078
19933 OperationErrorErrors(); 20079 OperationErrorErrors();
19934 20080
19935 OperationErrorErrors.fromJson(core.Map _json) { 20081 OperationErrorErrors.fromJson(core.Map _json) {
19936 if (_json.containsKey("code")) { 20082 if (_json.containsKey("code")) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
19986 return _json; 20132 return _json;
19987 } 20133 }
19988 } 20134 }
19989 20135
19990 class OperationWarningsData { 20136 class OperationWarningsData {
19991 /** 20137 /**
19992 * [Output Only] A key that provides more detail on the warning being 20138 * [Output Only] A key that provides more detail on the warning being
19993 * returned. For example, for warnings where there are no results in a list 20139 * returned. For example, for warnings where there are no results in a list
19994 * request for a particular zone, this key might be scope and the key value 20140 * request for a particular zone, this key might be scope and the key value
19995 * might be the zone name. Other examples might be a key indicating a 20141 * might be the zone name. Other examples might be a key indicating a
19996 * deprecated resource, and a suggested replacement, or a warning about 20142 * deprecated resource and a suggested replacement, or a warning about invalid
19997 * invalid network settings (for example, if an instance attempts to perform 20143 * network settings (for example, if an instance attempts to perform IP
19998 * IP forwarding but is not enabled for IP forwarding). 20144 * forwarding but is not enabled for IP forwarding).
19999 */ 20145 */
20000 core.String key; 20146 core.String key;
20001 /** [Output Only] A warning data value corresponding to the key. */ 20147 /** [Output Only] A warning data value corresponding to the key. */
20002 core.String value; 20148 core.String value;
20003 20149
20004 OperationWarningsData(); 20150 OperationWarningsData();
20005 20151
20006 OperationWarningsData.fromJson(core.Map _json) { 20152 OperationWarningsData.fromJson(core.Map _json) {
20007 if (_json.containsKey("key")) { 20153 if (_json.containsKey("key")) {
20008 key = _json["key"]; 20154 key = _json["key"];
(...skipping 13 matching lines...) Expand all
20022 } 20168 }
20023 return _json; 20169 return _json;
20024 } 20170 }
20025 } 20171 }
20026 20172
20027 class OperationWarnings { 20173 class OperationWarnings {
20028 /** 20174 /**
20029 * [Output Only] A warning code, if applicable. For example, Compute Engine 20175 * [Output Only] A warning code, if applicable. For example, Compute Engine
20030 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 20176 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
20031 * Possible string values are: 20177 * Possible string values are:
20178 * - "CLEANUP_FAILED"
20032 * - "DEPRECATED_RESOURCE_USED" 20179 * - "DEPRECATED_RESOURCE_USED"
20033 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 20180 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
20034 * - "INJECTED_KERNELS_DEPRECATED" 20181 * - "INJECTED_KERNELS_DEPRECATED"
20035 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 20182 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
20036 * - "NEXT_HOP_CANNOT_IP_FORWARD" 20183 * - "NEXT_HOP_CANNOT_IP_FORWARD"
20037 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 20184 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
20038 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 20185 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
20039 * - "NEXT_HOP_NOT_RUNNING" 20186 * - "NEXT_HOP_NOT_RUNNING"
20040 * - "NOT_CRITICAL_ERROR" 20187 * - "NOT_CRITICAL_ERROR"
20041 * - "NO_RESULTS_ON_PAGE" 20188 * - "NO_RESULTS_ON_PAGE"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
20078 } 20225 }
20079 if (message != null) { 20226 if (message != null) {
20080 _json["message"] = message; 20227 _json["message"] = message;
20081 } 20228 }
20082 return _json; 20229 return _json;
20083 } 20230 }
20084 } 20231 }
20085 20232
20086 /** An Operation resource, used to manage asynchronous API requests. */ 20233 /** An Operation resource, used to manage asynchronous API requests. */
20087 class Operation { 20234 class Operation {
20088 /** [Output Only] A unique client ID generated by the server. */ 20235 /** [Output Only] Reserved for future use. */
20089 core.String clientOperationId; 20236 core.String clientOperationId;
20090 /** [Output Only] Creation timestamp in RFC3339 text format. */ 20237 /** [Output Only] Creation timestamp in RFC3339 text format. */
20091 core.String creationTimestamp; 20238 core.String creationTimestamp;
20092 /** 20239 /**
20093 * [Output Only] A textual description of the operation, which is set when the 20240 * [Output Only] A textual description of the operation, which is set when the
20094 * operation is created. 20241 * operation is created.
20095 */ 20242 */
20096 core.String description; 20243 core.String description;
20097 /** 20244 /**
20098 * [Output Only] The time that this operation was completed. This value is in 20245 * [Output Only] The time that this operation was completed. This value is in
(...skipping 20 matching lines...) Expand all
20119 * [Output Only] The unique identifier for the resource. This identifier is 20266 * [Output Only] The unique identifier for the resource. This identifier is
20120 * defined by the server. 20267 * defined by the server.
20121 */ 20268 */
20122 core.String id; 20269 core.String id;
20123 /** 20270 /**
20124 * [Output Only] The time that this operation was requested. This value is in 20271 * [Output Only] The time that this operation was requested. This value is in
20125 * RFC3339 text format. 20272 * RFC3339 text format.
20126 */ 20273 */
20127 core.String insertTime; 20274 core.String insertTime;
20128 /** 20275 /**
20129 * [Output Only] Type of the resource. Always compute#operation for Operation 20276 * [Output Only] Type of the resource. Always compute#operation for operation
20130 * resources. 20277 * resources.
20131 */ 20278 */
20132 core.String kind; 20279 core.String kind;
20133 /** [Output Only] Name of the resource. */ 20280 /** [Output Only] Name of the resource. */
20134 core.String name; 20281 core.String name;
20135 /** 20282 /**
20136 * [Output Only] The type of operation, which can be insert, update, or 20283 * [Output Only] The type of operation, such as insert, update, or delete, and
20137 * delete. 20284 * so on.
20138 */ 20285 */
20139 core.String operationType; 20286 core.String operationType;
20140 /** 20287 /**
20141 * [Output Only] An optional progress indicator that ranges from 0 to 100. 20288 * [Output Only] An optional progress indicator that ranges from 0 to 100.
20142 * There is no requirement that this be linear or support any granularity of 20289 * There is no requirement that this be linear or support any granularity of
20143 * operations. This should not be used to guess when the operation will be 20290 * operations. This should not be used to guess when the operation will be
20144 * complete. This number should monotonically increase as the operation 20291 * complete. This number should monotonically increase as the operation
20145 * progresses. 20292 * progresses.
20146 */ 20293 */
20147 core.int progress; 20294 core.int progress;
20148 /** 20295 /**
20149 * [Output Only] URL of the region where the operation resides. Only available 20296 * [Output Only] The URL of the region where the operation resides. Only
20150 * when performing regional operations. 20297 * available when performing regional operations.
20151 */ 20298 */
20152 core.String region; 20299 core.String region;
20153 /** [Output Only] Server-defined URL for the resource. */ 20300 /** [Output Only] Server-defined URL for the resource. */
20154 core.String selfLink; 20301 core.String selfLink;
20155 /** 20302 /**
20156 * [Output Only] The time that this operation was started by the server. This 20303 * [Output Only] The time that this operation was started by the server. This
20157 * value is in RFC3339 text format. 20304 * value is in RFC3339 text format.
20158 */ 20305 */
20159 core.String startTime; 20306 core.String startTime;
20160 /** 20307 /**
20161 * [Output Only] The status of the operation, which can be one of the 20308 * [Output Only] The status of the operation, which can be one of the
20162 * following: PENDING, RUNNING, or DONE. 20309 * following: PENDING, RUNNING, or DONE.
20163 * Possible string values are: 20310 * Possible string values are:
20164 * - "DONE" 20311 * - "DONE"
20165 * - "PENDING" 20312 * - "PENDING"
20166 * - "RUNNING" 20313 * - "RUNNING"
20167 */ 20314 */
20168 core.String status; 20315 core.String status;
20169 /** 20316 /**
20170 * [Output Only] An optional textual description of the current status of the 20317 * [Output Only] An optional textual description of the current status of the
20171 * operation. 20318 * operation.
20172 */ 20319 */
20173 core.String statusMessage; 20320 core.String statusMessage;
20174 /** 20321 /**
20175 * [Output Only] The unique target ID, which identifies a specific incarnation 20322 * [Output Only] The unique target ID, which identifies a specific incarnation
20176 * of the target resource. 20323 * of the target resource.
20177 */ 20324 */
20178 core.String targetId; 20325 core.String targetId;
20179 /** [Output Only] The URL of the resource that the operation is modifying. */ 20326 /** [Output Only] The URL of the resource that the operation modifies. */
20180 core.String targetLink; 20327 core.String targetLink;
20181 /** 20328 /**
20182 * [Output Only] User who requested the operation, for example: 20329 * [Output Only] User who requested the operation, for example:
20183 * user@example.com. 20330 * user@example.com.
20184 */ 20331 */
20185 core.String user; 20332 core.String user;
20186 /** 20333 /**
20187 * [Output Only] If warning messages are generated during processing of the 20334 * [Output Only] If warning messages are generated during processing of the
20188 * operation, this field will be populated. 20335 * operation, this field will be populated.
20189 */ 20336 */
20190 core.List<OperationWarnings> warnings; 20337 core.List<OperationWarnings> warnings;
20191 /** 20338 /**
20192 * [Output Only] URL of the zone where the operation resides. Only available 20339 * [Output Only] The URL of the zone where the operation resides. Only
20193 * when performing per-zone operations. 20340 * available when performing per-zone operations.
20194 */ 20341 */
20195 core.String zone; 20342 core.String zone;
20196 20343
20197 Operation(); 20344 Operation();
20198 20345
20199 Operation.fromJson(core.Map _json) { 20346 Operation.fromJson(core.Map _json) {
20200 if (_json.containsKey("clientOperationId")) { 20347 if (_json.containsKey("clientOperationId")) {
20201 clientOperationId = _json["clientOperationId"]; 20348 clientOperationId = _json["clientOperationId"];
20202 } 20349 }
20203 if (_json.containsKey("creationTimestamp")) { 20350 if (_json.containsKey("creationTimestamp")) {
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
20408 } 20555 }
20409 } 20556 }
20410 20557
20411 /** Contains a list of Operation resources. */ 20558 /** Contains a list of Operation resources. */
20412 class OperationList { 20559 class OperationList {
20413 /** 20560 /**
20414 * [Output Only] The unique identifier for the resource. This identifier is 20561 * [Output Only] The unique identifier for the resource. This identifier is
20415 * defined by the server. 20562 * defined by the server.
20416 */ 20563 */
20417 core.String id; 20564 core.String id;
20418 /** [Output Only] The Operation resources. */ 20565 /** [Output Only] A list of Operation resources. */
20419 core.List<Operation> items; 20566 core.List<Operation> items;
20420 /** 20567 /**
20421 * [Output Only] Type of resource. Always compute#operations for Operations 20568 * [Output Only] Type of resource. Always compute#operations for Operations
20422 * resource. 20569 * resource.
20423 */ 20570 */
20424 core.String kind; 20571 core.String kind;
20425 /** 20572 /**
20426 * [Output Only] This token allows you to get the next page of results for 20573 * [Output Only] This token allows you to get the next page of results for
20427 * list requests. If the number of results is larger than maxResults, use the 20574 * list requests. If the number of results is larger than maxResults, use the
20428 * nextPageToken as a value for the query parameter pageToken in the next list 20575 * nextPageToken as a value for the query parameter pageToken in the next list
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
20473 return _json; 20620 return _json;
20474 } 20621 }
20475 } 20622 }
20476 20623
20477 class OperationsScopedListWarningData { 20624 class OperationsScopedListWarningData {
20478 /** 20625 /**
20479 * [Output Only] A key that provides more detail on the warning being 20626 * [Output Only] A key that provides more detail on the warning being
20480 * returned. For example, for warnings where there are no results in a list 20627 * returned. For example, for warnings where there are no results in a list
20481 * request for a particular zone, this key might be scope and the key value 20628 * request for a particular zone, this key might be scope and the key value
20482 * might be the zone name. Other examples might be a key indicating a 20629 * might be the zone name. Other examples might be a key indicating a
20483 * deprecated resource, and a suggested replacement, or a warning about 20630 * deprecated resource and a suggested replacement, or a warning about invalid
20484 * invalid network settings (for example, if an instance attempts to perform 20631 * network settings (for example, if an instance attempts to perform IP
20485 * IP forwarding but is not enabled for IP forwarding). 20632 * forwarding but is not enabled for IP forwarding).
20486 */ 20633 */
20487 core.String key; 20634 core.String key;
20488 /** [Output Only] A warning data value corresponding to the key. */ 20635 /** [Output Only] A warning data value corresponding to the key. */
20489 core.String value; 20636 core.String value;
20490 20637
20491 OperationsScopedListWarningData(); 20638 OperationsScopedListWarningData();
20492 20639
20493 OperationsScopedListWarningData.fromJson(core.Map _json) { 20640 OperationsScopedListWarningData.fromJson(core.Map _json) {
20494 if (_json.containsKey("key")) { 20641 if (_json.containsKey("key")) {
20495 key = _json["key"]; 20642 key = _json["key"];
(...skipping 17 matching lines...) Expand all
20513 20660
20514 /** 20661 /**
20515 * [Output Only] Informational warning which replaces the list of operations 20662 * [Output Only] Informational warning which replaces the list of operations
20516 * when the list is empty. 20663 * when the list is empty.
20517 */ 20664 */
20518 class OperationsScopedListWarning { 20665 class OperationsScopedListWarning {
20519 /** 20666 /**
20520 * [Output Only] A warning code, if applicable. For example, Compute Engine 20667 * [Output Only] A warning code, if applicable. For example, Compute Engine
20521 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 20668 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
20522 * Possible string values are: 20669 * Possible string values are:
20670 * - "CLEANUP_FAILED"
20523 * - "DEPRECATED_RESOURCE_USED" 20671 * - "DEPRECATED_RESOURCE_USED"
20524 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 20672 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
20525 * - "INJECTED_KERNELS_DEPRECATED" 20673 * - "INJECTED_KERNELS_DEPRECATED"
20526 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 20674 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
20527 * - "NEXT_HOP_CANNOT_IP_FORWARD" 20675 * - "NEXT_HOP_CANNOT_IP_FORWARD"
20528 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 20676 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
20529 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 20677 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
20530 * - "NEXT_HOP_NOT_RUNNING" 20678 * - "NEXT_HOP_NOT_RUNNING"
20531 * - "NOT_CRITICAL_ERROR" 20679 * - "NOT_CRITICAL_ERROR"
20532 * - "NO_RESULTS_ON_PAGE" 20680 * - "NO_RESULTS_ON_PAGE"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
20700 _json["paths"] = paths; 20848 _json["paths"] = paths;
20701 } 20849 }
20702 if (service != null) { 20850 if (service != null) {
20703 _json["service"] = service; 20851 _json["service"] = service;
20704 } 20852 }
20705 return _json; 20853 return _json;
20706 } 20854 }
20707 } 20855 }
20708 20856
20709 /** 20857 /**
20710 * A Project resource. Projects can only be created in the Google Developers 20858 * A Project resource. Projects can only be created in the Google Cloud Platform
20711 * Console. Unless marked otherwise, values can only be modified in the console. 20859 * Console. Unless marked otherwise, values can only be modified in the console.
20712 */ 20860 */
20713 class Project { 20861 class Project {
20714 /** 20862 /**
20715 * Metadata key/value pairs available to all instances contained in this 20863 * Metadata key/value pairs available to all instances contained in this
20716 * project. See Custom metadata for more information. 20864 * project. See Custom metadata for more information.
20717 */ 20865 */
20718 Metadata commonInstanceMetadata; 20866 Metadata commonInstanceMetadata;
20719 /** [Output Only] Creation timestamp in RFC3339 text format. */ 20867 /** [Output Only] Creation timestamp in RFC3339 text format. */
20720 core.String creationTimestamp; 20868 core.String creationTimestamp;
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
21080 return _json; 21228 return _json;
21081 } 21229 }
21082 } 21230 }
21083 21231
21084 class RouteWarningsData { 21232 class RouteWarningsData {
21085 /** 21233 /**
21086 * [Output Only] A key that provides more detail on the warning being 21234 * [Output Only] A key that provides more detail on the warning being
21087 * returned. For example, for warnings where there are no results in a list 21235 * returned. For example, for warnings where there are no results in a list
21088 * request for a particular zone, this key might be scope and the key value 21236 * request for a particular zone, this key might be scope and the key value
21089 * might be the zone name. Other examples might be a key indicating a 21237 * might be the zone name. Other examples might be a key indicating a
21090 * deprecated resource, and a suggested replacement, or a warning about 21238 * deprecated resource and a suggested replacement, or a warning about invalid
21091 * invalid network settings (for example, if an instance attempts to perform 21239 * network settings (for example, if an instance attempts to perform IP
21092 * IP forwarding but is not enabled for IP forwarding). 21240 * forwarding but is not enabled for IP forwarding).
21093 */ 21241 */
21094 core.String key; 21242 core.String key;
21095 /** [Output Only] A warning data value corresponding to the key. */ 21243 /** [Output Only] A warning data value corresponding to the key. */
21096 core.String value; 21244 core.String value;
21097 21245
21098 RouteWarningsData(); 21246 RouteWarningsData();
21099 21247
21100 RouteWarningsData.fromJson(core.Map _json) { 21248 RouteWarningsData.fromJson(core.Map _json) {
21101 if (_json.containsKey("key")) { 21249 if (_json.containsKey("key")) {
21102 key = _json["key"]; 21250 key = _json["key"];
(...skipping 13 matching lines...) Expand all
21116 } 21264 }
21117 return _json; 21265 return _json;
21118 } 21266 }
21119 } 21267 }
21120 21268
21121 class RouteWarnings { 21269 class RouteWarnings {
21122 /** 21270 /**
21123 * [Output Only] A warning code, if applicable. For example, Compute Engine 21271 * [Output Only] A warning code, if applicable. For example, Compute Engine
21124 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 21272 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
21125 * Possible string values are: 21273 * Possible string values are:
21274 * - "CLEANUP_FAILED"
21126 * - "DEPRECATED_RESOURCE_USED" 21275 * - "DEPRECATED_RESOURCE_USED"
21127 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 21276 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
21128 * - "INJECTED_KERNELS_DEPRECATED" 21277 * - "INJECTED_KERNELS_DEPRECATED"
21129 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 21278 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
21130 * - "NEXT_HOP_CANNOT_IP_FORWARD" 21279 * - "NEXT_HOP_CANNOT_IP_FORWARD"
21131 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 21280 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
21132 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 21281 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
21133 * - "NEXT_HOP_NOT_RUNNING" 21282 * - "NEXT_HOP_NOT_RUNNING"
21134 * - "NOT_CRITICAL_ERROR" 21283 * - "NOT_CRITICAL_ERROR"
21135 * - "NO_RESULTS_ON_PAGE" 21284 * - "NO_RESULTS_ON_PAGE"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
21171 _json["data"] = data.map((value) => (value).toJson()).toList(); 21320 _json["data"] = data.map((value) => (value).toJson()).toList();
21172 } 21321 }
21173 if (message != null) { 21322 if (message != null) {
21174 _json["message"] = message; 21323 _json["message"] = message;
21175 } 21324 }
21176 return _json; 21325 return _json;
21177 } 21326 }
21178 } 21327 }
21179 21328
21180 /** 21329 /**
21181 * The route resource. A Route is a rule that specifies how certain packets 21330 * Represents a Route resource. A route specifies how certain packets should be
21182 * should be handled by the virtual network. Routes are associated with 21331 * handled by the network. Routes are associated with instances by tags and the
21183 * instances by tags and the set of Routes for a particular instance is called 21332 * set of routes for a particular instance is called its routing table.
21184 * its routing table. For each packet leaving a instance, the system searches 21333 *
21185 * that instance's routing table for a single best matching Route. Routes match 21334 * For each packet leaving a instance, the system searches that instance's
21186 * packets by destination IP address, preferring smaller or more specific ranges 21335 * routing table for a single best matching route. Routes match packets by
21187 * over larger ones. If there is a tie, the system selects the Route with the 21336 * destination IP address, preferring smaller or more specific ranges over
21337 * larger ones. If there is a tie, the system selects the route with the
21188 * smallest priority value. If there is still a tie, it uses the layer three and 21338 * smallest priority value. If there is still a tie, it uses the layer three and
21189 * four packet headers to select just one of the remaining matching Routes. The 21339 * four packet headers to select just one of the remaining matching routes. The
21190 * packet is then forwarded as specified by the nextHop field of the winning 21340 * packet is then forwarded as specified by the nextHop field of the winning
21191 * Route -- either to another instance destination, a instance gateway or a 21341 * route - either to another instance destination, a instance gateway or a
21192 * Google Compute Engien-operated gateway. Packets that do not match any Route 21342 * Google Compute Engine-operated gateway.
21193 * in the sending instance's routing table are dropped. 21343 *
21344 * Packets that do not match any route in the sending instance's routing table
21345 * are dropped.
21194 */ 21346 */
21195 class Route { 21347 class Route {
21196 /** [Output Only] Creation timestamp in RFC3339 text format. */ 21348 /** [Output Only] Creation timestamp in RFC3339 text format. */
21197 core.String creationTimestamp; 21349 core.String creationTimestamp;
21198 /** 21350 /**
21199 * An optional description of this resource. Provide this property when you 21351 * An optional description of this resource. Provide this property when you
21200 * create the resource. 21352 * create the resource.
21201 */ 21353 */
21202 core.String description; 21354 core.String description;
21203 /** The destination range of outgoing packets that this route applies to. */ 21355 /** The destination range of outgoing packets that this route applies to. */
21204 core.String destRange; 21356 core.String destRange;
21205 /** 21357 /**
21206 * [Output Only] The unique identifier for the resource. This identifier is 21358 * [Output Only] The unique identifier for the resource. This identifier is
21207 * defined by the server. 21359 * defined by the server.
21208 */ 21360 */
21209 core.String id; 21361 core.String id;
21210 /** 21362 /**
21211 * [Output Only] Type of this resource. Always compute#routes for Route 21363 * [Output Only] Type of this resource. Always compute#routes for Route
21212 * resources. 21364 * resources.
21213 */ 21365 */
21214 core.String kind; 21366 core.String kind;
21215 /** 21367 /**
21216 * Name of the resource; provided by the client when the resource is created. 21368 * Name of the resource. Provided by the client when the resource is created.
21217 * The name must be 1-63 characters long, and comply with RFC1035. 21369 * The name must be 1-63 characters long, and comply with RFC1035.
21218 * Specifically, the name must be 1-63 characters long and match the regular 21370 * Specifically, the name must be 1-63 characters long and match the regular
21219 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 21371 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
21220 * be a lowercase letter, and all following characters must be a dash, 21372 * be a lowercase letter, and all following characters must be a dash,
21221 * lowercase letter, or digit, except the last character, which cannot be a 21373 * lowercase letter, or digit, except the last character, which cannot be a
21222 * dash. 21374 * dash.
21223 */ 21375 */
21224 core.String name; 21376 core.String name;
21225 /** Fully-qualified URL of the network that this route applies to. */ 21377 /** Fully-qualified URL of the network that this route applies to. */
21226 core.String network; 21378 core.String network;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
21361 if (tags != null) { 21513 if (tags != null) {
21362 _json["tags"] = tags; 21514 _json["tags"] = tags;
21363 } 21515 }
21364 if (warnings != null) { 21516 if (warnings != null) {
21365 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); 21517 _json["warnings"] = warnings.map((value) => (value).toJson()).toList();
21366 } 21518 }
21367 return _json; 21519 return _json;
21368 } 21520 }
21369 } 21521 }
21370 21522
21371 /** Contains a list of route resources. */ 21523 /** Contains a list of Route resources. */
21372 class RouteList { 21524 class RouteList {
21373 /** 21525 /**
21374 * [Output Only] Unique identifier for the resource. Defined by the server. 21526 * [Output Only] Unique identifier for the resource. Defined by the server.
21375 */ 21527 */
21376 core.String id; 21528 core.String id;
21377 /** [Output Only] A list of Route resources. */ 21529 /** [Output Only] A list of Route resources. */
21378 core.List<Route> items; 21530 core.List<Route> items;
21379 /** Type of resource. */ 21531 /** Type of resource. */
21380 core.String kind; 21532 core.String kind;
21381 /** 21533 /**
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
21436 * Specifies whether the instance should be automatically restarted if it is 21588 * Specifies whether the instance should be automatically restarted if it is
21437 * terminated by Compute Engine (not terminated by a user). You can only set 21589 * terminated by Compute Engine (not terminated by a user). You can only set
21438 * the automatic restart option for standard instances. Preemptible instances 21590 * the automatic restart option for standard instances. Preemptible instances
21439 * cannot be automatically restarted. 21591 * cannot be automatically restarted.
21440 */ 21592 */
21441 core.bool automaticRestart; 21593 core.bool automaticRestart;
21442 /** 21594 /**
21443 * Defines the maintenance behavior for this instance. For standard instances, 21595 * Defines the maintenance behavior for this instance. For standard instances,
21444 * the default behavior is MIGRATE. For preemptible instances, the default and 21596 * the default behavior is MIGRATE. For preemptible instances, the default and
21445 * only possible behavior is TERMINATE. For more information, see Setting 21597 * only possible behavior is TERMINATE. For more information, see Setting
21446 * maintenance behavior. 21598 * Instance Scheduling Options.
21447 * Possible string values are: 21599 * Possible string values are:
21448 * - "MIGRATE" 21600 * - "MIGRATE"
21449 * - "TERMINATE" 21601 * - "TERMINATE"
21450 */ 21602 */
21451 core.String onHostMaintenance; 21603 core.String onHostMaintenance;
21452 /** Whether the instance is preemptible. */ 21604 /** Whether the instance is preemptible. */
21453 core.bool preemptible; 21605 core.bool preemptible;
21454 21606
21455 Scheduling(); 21607 Scheduling();
21456 21608
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
21566 /** 21718 /**
21567 * [Output Only] The unique identifier for the resource. This identifier is 21719 * [Output Only] The unique identifier for the resource. This identifier is
21568 * defined by the server. 21720 * defined by the server.
21569 */ 21721 */
21570 core.String id; 21722 core.String id;
21571 /** 21723 /**
21572 * [Output Only] Type of the resource. Always compute#snapshot for Snapshot 21724 * [Output Only] Type of the resource. Always compute#snapshot for Snapshot
21573 * resources. 21725 * resources.
21574 */ 21726 */
21575 core.String kind; 21727 core.String kind;
21576 /** Public visible licenses. */ 21728 /**
21729 * [Output Only] A list of public visible licenses that apply to this
21730 * snapshot. This can be because the original image had licenses attached
21731 * (such as a Windows image).
21732 */
21577 core.List<core.String> licenses; 21733 core.List<core.String> licenses;
21578 /** 21734 /**
21579 * Name of the resource; provided by the client when the resource is created. 21735 * Name of the resource; provided by the client when the resource is created.
21580 * The name must be 1-63 characters long, and comply with RFC1035. 21736 * The name must be 1-63 characters long, and comply with RFC1035.
21581 * Specifically, the name must be 1-63 characters long and match the regular 21737 * Specifically, the name must be 1-63 characters long and match the regular
21582 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 21738 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
21583 * be a lowercase letter, and all following characters must be a dash, 21739 * be a lowercase letter, and all following characters must be a dash,
21584 * lowercase letter, or digit, except the last character, which cannot be a 21740 * lowercase letter, or digit, except the last character, which cannot be a
21585 * dash. 21741 * dash.
21586 */ 21742 */
21587 core.String name; 21743 core.String name;
21588 /** [Output Only] Server-defined URL for the resource. */ 21744 /** [Output Only] Server-defined URL for the resource. */
21589 core.String selfLink; 21745 core.String selfLink;
21590 /** [Output Only] The source disk used to create this snapshot. */ 21746 /** [Output Only] The source disk used to create this snapshot. */
21591 core.String sourceDisk; 21747 core.String sourceDisk;
21592 /** 21748 /**
21593 * [Output Only] The ID value of the disk used to create this snapshot. This 21749 * [Output Only] The ID value of the disk used to create this snapshot. This
21594 * value may be used to determine whether the snapshot was taken from the 21750 * value may be used to determine whether the snapshot was taken from the
21595 * current or a previous instance of a given disk name. 21751 * current or a previous instance of a given disk name.
21596 */ 21752 */
21597 core.String sourceDiskId; 21753 core.String sourceDiskId;
21598 /** 21754 /**
21599 * [Output Only] The status of the snapshot. 21755 * [Output Only] The status of the snapshot. This can be CREATING, DELETING,
21756 * FAILED, READY, or UPLOADING.
21600 * Possible string values are: 21757 * Possible string values are:
21601 * - "CREATING" 21758 * - "CREATING"
21602 * - "DELETING" 21759 * - "DELETING"
21603 * - "FAILED" 21760 * - "FAILED"
21604 * - "READY" 21761 * - "READY"
21605 * - "UPLOADING" 21762 * - "UPLOADING"
21606 */ 21763 */
21607 core.String status; 21764 core.String status;
21608 /** 21765 /**
21609 * [Output Only] A size of the the storage used by the snapshot. As snapshots 21766 * [Output Only] A size of the the storage used by the snapshot. As snapshots
21610 * share storage, this number is expected to change with snapshot 21767 * share storage, this number is expected to change with snapshot
21611 * creation/deletion. 21768 * creation/deletion.
21612 */ 21769 */
21613 core.String storageBytes; 21770 core.String storageBytes;
21614 /** 21771 /**
21615 * [Output Only] An indicator whether storageBytes is in a stable state or it 21772 * [Output Only] An indicator whether storageBytes is in a stable state or it
21616 * is being adjusted as a result of shared storage reallocation. 21773 * is being adjusted as a result of shared storage reallocation. This status
21774 * can either be UPDATING, meaning the size of the snapshot is being updated,
21775 * or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
21617 * Possible string values are: 21776 * Possible string values are:
21618 * - "UPDATING" 21777 * - "UPDATING"
21619 * - "UP_TO_DATE" 21778 * - "UP_TO_DATE"
21620 */ 21779 */
21621 core.String storageBytesStatus; 21780 core.String storageBytesStatus;
21622 21781
21623 Snapshot(); 21782 Snapshot();
21624 21783
21625 Snapshot.fromJson(core.Map _json) { 21784 Snapshot.fromJson(core.Map _json) {
21626 if (_json.containsKey("creationTimestamp")) { 21785 if (_json.containsKey("creationTimestamp")) {
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
22192 return _json; 22351 return _json;
22193 } 22352 }
22194 } 22353 }
22195 22354
22196 class SubnetworksScopedListWarningData { 22355 class SubnetworksScopedListWarningData {
22197 /** 22356 /**
22198 * [Output Only] A key that provides more detail on the warning being 22357 * [Output Only] A key that provides more detail on the warning being
22199 * returned. For example, for warnings where there are no results in a list 22358 * returned. For example, for warnings where there are no results in a list
22200 * request for a particular zone, this key might be scope and the key value 22359 * request for a particular zone, this key might be scope and the key value
22201 * might be the zone name. Other examples might be a key indicating a 22360 * might be the zone name. Other examples might be a key indicating a
22202 * deprecated resource, and a suggested replacement, or a warning about 22361 * deprecated resource and a suggested replacement, or a warning about invalid
22203 * invalid network settings (for example, if an instance attempts to perform 22362 * network settings (for example, if an instance attempts to perform IP
22204 * IP forwarding but is not enabled for IP forwarding). 22363 * forwarding but is not enabled for IP forwarding).
22205 */ 22364 */
22206 core.String key; 22365 core.String key;
22207 /** [Output Only] A warning data value corresponding to the key. */ 22366 /** [Output Only] A warning data value corresponding to the key. */
22208 core.String value; 22367 core.String value;
22209 22368
22210 SubnetworksScopedListWarningData(); 22369 SubnetworksScopedListWarningData();
22211 22370
22212 SubnetworksScopedListWarningData.fromJson(core.Map _json) { 22371 SubnetworksScopedListWarningData.fromJson(core.Map _json) {
22213 if (_json.containsKey("key")) { 22372 if (_json.containsKey("key")) {
22214 key = _json["key"]; 22373 key = _json["key"];
(...skipping 16 matching lines...) Expand all
22231 } 22390 }
22232 22391
22233 /** 22392 /**
22234 * An informational warning that appears when the list of addresses is empty. 22393 * An informational warning that appears when the list of addresses is empty.
22235 */ 22394 */
22236 class SubnetworksScopedListWarning { 22395 class SubnetworksScopedListWarning {
22237 /** 22396 /**
22238 * [Output Only] A warning code, if applicable. For example, Compute Engine 22397 * [Output Only] A warning code, if applicable. For example, Compute Engine
22239 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 22398 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
22240 * Possible string values are: 22399 * Possible string values are:
22400 * - "CLEANUP_FAILED"
22241 * - "DEPRECATED_RESOURCE_USED" 22401 * - "DEPRECATED_RESOURCE_USED"
22242 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 22402 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
22243 * - "INJECTED_KERNELS_DEPRECATED" 22403 * - "INJECTED_KERNELS_DEPRECATED"
22244 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 22404 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
22245 * - "NEXT_HOP_CANNOT_IP_FORWARD" 22405 * - "NEXT_HOP_CANNOT_IP_FORWARD"
22246 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 22406 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
22247 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 22407 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
22248 * - "NEXT_HOP_NOT_RUNNING" 22408 * - "NEXT_HOP_NOT_RUNNING"
22249 * - "NOT_CRITICAL_ERROR" 22409 * - "NOT_CRITICAL_ERROR"
22250 * - "NO_RESULTS_ON_PAGE" 22410 * - "NO_RESULTS_ON_PAGE"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
22384 * [Output Only] The unique identifier for the resource. This identifier is 22544 * [Output Only] The unique identifier for the resource. This identifier is
22385 * defined by the server. 22545 * defined by the server.
22386 */ 22546 */
22387 core.String id; 22547 core.String id;
22388 /** 22548 /**
22389 * [Output Only] Type of resource. Always compute#targetHttpProxy for target 22549 * [Output Only] Type of resource. Always compute#targetHttpProxy for target
22390 * HTTP proxies. 22550 * HTTP proxies.
22391 */ 22551 */
22392 core.String kind; 22552 core.String kind;
22393 /** 22553 /**
22394 * Name of the resource; provided by the client when the resource is created. 22554 * Name of the resource. Provided by the client when the resource is created.
22395 * The name must be 1-63 characters long, and comply with RFC1035. 22555 * The name must be 1-63 characters long, and comply with RFC1035.
22396 * Specifically, the name must be 1-63 characters long and match the regular 22556 * Specifically, the name must be 1-63 characters long and match the regular
22397 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 22557 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
22398 * be a lowercase letter, and all following characters must be a dash, 22558 * be a lowercase letter, and all following characters must be a dash,
22399 * lowercase letter, or digit, except the last character, which cannot be a 22559 * lowercase letter, or digit, except the last character, which cannot be a
22400 * dash. 22560 * dash.
22401 */ 22561 */
22402 core.String name; 22562 core.String name;
22403 /** [Output Only] Server-defined URL for the resource. */ 22563 /** [Output Only] Server-defined URL for the resource. */
22404 core.String selfLink; 22564 core.String selfLink;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
22464 /** A list of TargetHttpProxy resources. */ 22624 /** A list of TargetHttpProxy resources. */
22465 class TargetHttpProxyList { 22625 class TargetHttpProxyList {
22466 /** 22626 /**
22467 * [Output Only] The unique identifier for the resource. This identifier is 22627 * [Output Only] The unique identifier for the resource. This identifier is
22468 * defined by the server. 22628 * defined by the server.
22469 */ 22629 */
22470 core.String id; 22630 core.String id;
22471 /** A list of TargetHttpProxy resources. */ 22631 /** A list of TargetHttpProxy resources. */
22472 core.List<TargetHttpProxy> items; 22632 core.List<TargetHttpProxy> items;
22473 /** 22633 /**
22474 * Type of resource. Always compute#targetHttpProxyList for lists of Target 22634 * Type of resource. Always compute#targetHttpProxyList for lists of target
22475 * HTTP proxies. 22635 * HTTP proxies.
22476 */ 22636 */
22477 core.String kind; 22637 core.String kind;
22478 /** 22638 /**
22479 * [Output Only] This token allows you to get the next page of results for 22639 * [Output Only] This token allows you to get the next page of results for
22480 * list requests. If the number of results is larger than maxResults, use the 22640 * list requests. If the number of results is larger than maxResults, use the
22481 * nextPageToken as a value for the query parameter pageToken in the next list 22641 * nextPageToken as a value for the query parameter pageToken in the next list
22482 * request. Subsequent list requests will have their own nextPageToken to 22642 * request. Subsequent list requests will have their own nextPageToken to
22483 * continue paging through the results. 22643 * continue paging through the results.
22484 */ 22644 */
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
22522 } 22682 }
22523 if (selfLink != null) { 22683 if (selfLink != null) {
22524 _json["selfLink"] = selfLink; 22684 _json["selfLink"] = selfLink;
22525 } 22685 }
22526 return _json; 22686 return _json;
22527 } 22687 }
22528 } 22688 }
22529 22689
22530 class TargetHttpsProxiesSetSslCertificatesRequest { 22690 class TargetHttpsProxiesSetSslCertificatesRequest {
22531 /** 22691 /**
22532 * New set of URLs to SslCertificate resources to associate with this 22692 * New set of SslCertificate resources to associate with this TargetHttpsProxy
22533 * TargetHttpProxy. Currently exactly one ssl certificate must be specified. 22693 * resource. Currently exactly one SslCertificate resource must be specified.
22534 */ 22694 */
22535 core.List<core.String> sslCertificates; 22695 core.List<core.String> sslCertificates;
22536 22696
22537 TargetHttpsProxiesSetSslCertificatesRequest(); 22697 TargetHttpsProxiesSetSslCertificatesRequest();
22538 22698
22539 TargetHttpsProxiesSetSslCertificatesRequest.fromJson(core.Map _json) { 22699 TargetHttpsProxiesSetSslCertificatesRequest.fromJson(core.Map _json) {
22540 if (_json.containsKey("sslCertificates")) { 22700 if (_json.containsKey("sslCertificates")) {
22541 sslCertificates = _json["sslCertificates"]; 22701 sslCertificates = _json["sslCertificates"];
22542 } 22702 }
22543 } 22703 }
(...skipping 15 matching lines...) Expand all
22559 * An optional description of this resource. Provide this property when you 22719 * An optional description of this resource. Provide this property when you
22560 * create the resource. 22720 * create the resource.
22561 */ 22721 */
22562 core.String description; 22722 core.String description;
22563 /** 22723 /**
22564 * [Output Only] The unique identifier for the resource. This identifier is 22724 * [Output Only] The unique identifier for the resource. This identifier is
22565 * defined by the server. 22725 * defined by the server.
22566 */ 22726 */
22567 core.String id; 22727 core.String id;
22568 /** 22728 /**
22569 * [Output Only] Type of the resource. Always compute#targetHttpsProxy for 22729 * [Output Only] Type of resource. Always compute#targetHttpsProxy for target
22570 * target HTTPS proxies. 22730 * HTTPS proxies.
22571 */ 22731 */
22572 core.String kind; 22732 core.String kind;
22573 /** 22733 /**
22574 * Name of the resource. Provided by the client when the resource is created. 22734 * Name of the resource. Provided by the client when the resource is created.
22575 * The name must be 1-63 characters long, and comply with RFC1035. 22735 * The name must be 1-63 characters long, and comply with RFC1035.
22576 * Specifically, the name must be 1-63 characters long and match the regular 22736 * Specifically, the name must be 1-63 characters long and match the regular
22577 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 22737 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
22578 * be a lowercase letter, and all following characters must be a dash, 22738 * be a lowercase letter, and all following characters must be a dash,
22579 * lowercase letter, or digit, except the last character, which cannot be a 22739 * lowercase letter, or digit, except the last character, which cannot be a
22580 * dash. 22740 * dash.
22581 */ 22741 */
22582 core.String name; 22742 core.String name;
22583 /** [Output Only] Server-defined URL for the resource. */ 22743 /** [Output Only] Server-defined URL for the resource. */
22584 core.String selfLink; 22744 core.String selfLink;
22585 /** 22745 /**
22586 * URLs to SslCertificate resources that are used to authenticate connections 22746 * URLs to SslCertificate resources that are used to authenticate connections
22587 * between users and the load balancer. Currently exactly one SSL certificate 22747 * between users and the load balancer. Currently, exactly one SSL certificate
22588 * must be specified. 22748 * must be specified.
22589 */ 22749 */
22590 core.List<core.String> sslCertificates; 22750 core.List<core.String> sslCertificates;
22591 /** 22751 /**
22592 * URL to the UrlMap resource that defines the mapping from URL to the 22752 * A fully-qualified or valid partial URL to the UrlMap resource that defines
22593 * BackendService. 22753 * the mapping from URL to the BackendService. For example, the following are
22754 * all valid URLs for specifying a URL map:
22755 * - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map
22756 * - projects/project/global/urlMaps/url-map
22757 * - global/urlMaps/url-map
22594 */ 22758 */
22595 core.String urlMap; 22759 core.String urlMap;
22596 22760
22597 TargetHttpsProxy(); 22761 TargetHttpsProxy();
22598 22762
22599 TargetHttpsProxy.fromJson(core.Map _json) { 22763 TargetHttpsProxy.fromJson(core.Map _json) {
22600 if (_json.containsKey("creationTimestamp")) { 22764 if (_json.containsKey("creationTimestamp")) {
22601 creationTimestamp = _json["creationTimestamp"]; 22765 creationTimestamp = _json["creationTimestamp"];
22602 } 22766 }
22603 if (_json.containsKey("description")) { 22767 if (_json.containsKey("description")) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
22655 22819
22656 /** Contains a list of TargetHttpsProxy resources. */ 22820 /** Contains a list of TargetHttpsProxy resources. */
22657 class TargetHttpsProxyList { 22821 class TargetHttpsProxyList {
22658 /** 22822 /**
22659 * [Output Only] The unique identifier for the resource. This identifier is 22823 * [Output Only] The unique identifier for the resource. This identifier is
22660 * defined by the server. 22824 * defined by the server.
22661 */ 22825 */
22662 core.String id; 22826 core.String id;
22663 /** A list of TargetHttpsProxy resources. */ 22827 /** A list of TargetHttpsProxy resources. */
22664 core.List<TargetHttpsProxy> items; 22828 core.List<TargetHttpsProxy> items;
22665 /** Type of resource. */ 22829 /**
22830 * Type of resource. Always compute#targetHttpsProxyList for lists of target
22831 * HTTPS proxies.
22832 */
22666 core.String kind; 22833 core.String kind;
22667 /** 22834 /**
22668 * [Output Only] This token allows you to get the next page of results for 22835 * [Output Only] This token allows you to get the next page of results for
22669 * list requests. If the number of results is larger than maxResults, use the 22836 * list requests. If the number of results is larger than maxResults, use the
22670 * nextPageToken as a value for the query parameter pageToken in the next list 22837 * nextPageToken as a value for the query parameter pageToken in the next list
22671 * request. Subsequent list requests will have their own nextPageToken to 22838 * request. Subsequent list requests will have their own nextPageToken to
22672 * continue paging through the results. 22839 * continue paging through the results.
22673 */ 22840 */
22674 core.String nextPageToken; 22841 core.String nextPageToken;
22675 /** [Output Only] Server-defined URL for this resource. */ 22842 /** [Output Only] Server-defined URL for this resource. */
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
22726 /** 22893 /**
22727 * An optional description of this resource. Provide this property when you 22894 * An optional description of this resource. Provide this property when you
22728 * create the resource. 22895 * create the resource.
22729 */ 22896 */
22730 core.String description; 22897 core.String description;
22731 /** 22898 /**
22732 * [Output Only] The unique identifier for the resource. This identifier is 22899 * [Output Only] The unique identifier for the resource. This identifier is
22733 * defined by the server. 22900 * defined by the server.
22734 */ 22901 */
22735 core.String id; 22902 core.String id;
22736 /** The URL to the instance that terminates the relevant traffic. */ 22903 /**
22904 * A URL to the virtual machine instance that handles traffic for this target
22905 * instance. When creating a target instance, you can provide the
22906 * fully-qualified URL or a valid partial URL to the desired virtual machine.
22907 * For example, the following are all valid URLs:
22908 * -
22909 * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances /instance
22910 * - projects/project/zones/zone/instances/instance
22911 * - zones/zone/instances/instance
22912 */
22737 core.String instance; 22913 core.String instance;
22738 /** 22914 /**
22739 * [Output Only] The type of the resource. Always compute#targetInstance for 22915 * [Output Only] The type of the resource. Always compute#targetInstance for
22740 * target instances. 22916 * target instances.
22741 */ 22917 */
22742 core.String kind; 22918 core.String kind;
22743 /** 22919 /**
22744 * Name of the resource. Provided by the client when the resource is created. 22920 * Name of the resource. Provided by the client when the resource is created.
22745 * The name must be 1-63 characters long, and comply with RFC1035. 22921 * The name must be 1-63 characters long, and comply with RFC1035.
22746 * Specifically, the name must be 1-63 characters long and match the regular 22922 * Specifically, the name must be 1-63 characters long and match the regular
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
22950 return _json; 23126 return _json;
22951 } 23127 }
22952 } 23128 }
22953 23129
22954 class TargetInstancesScopedListWarningData { 23130 class TargetInstancesScopedListWarningData {
22955 /** 23131 /**
22956 * [Output Only] A key that provides more detail on the warning being 23132 * [Output Only] A key that provides more detail on the warning being
22957 * returned. For example, for warnings where there are no results in a list 23133 * returned. For example, for warnings where there are no results in a list
22958 * request for a particular zone, this key might be scope and the key value 23134 * request for a particular zone, this key might be scope and the key value
22959 * might be the zone name. Other examples might be a key indicating a 23135 * might be the zone name. Other examples might be a key indicating a
22960 * deprecated resource, and a suggested replacement, or a warning about 23136 * deprecated resource and a suggested replacement, or a warning about invalid
22961 * invalid network settings (for example, if an instance attempts to perform 23137 * network settings (for example, if an instance attempts to perform IP
22962 * IP forwarding but is not enabled for IP forwarding). 23138 * forwarding but is not enabled for IP forwarding).
22963 */ 23139 */
22964 core.String key; 23140 core.String key;
22965 /** [Output Only] A warning data value corresponding to the key. */ 23141 /** [Output Only] A warning data value corresponding to the key. */
22966 core.String value; 23142 core.String value;
22967 23143
22968 TargetInstancesScopedListWarningData(); 23144 TargetInstancesScopedListWarningData();
22969 23145
22970 TargetInstancesScopedListWarningData.fromJson(core.Map _json) { 23146 TargetInstancesScopedListWarningData.fromJson(core.Map _json) {
22971 if (_json.containsKey("key")) { 23147 if (_json.containsKey("key")) {
22972 key = _json["key"]; 23148 key = _json["key"];
(...skipping 17 matching lines...) Expand all
22990 23166
22991 /** 23167 /**
22992 * Informational warning which replaces the list of addresses when the list is 23168 * Informational warning which replaces the list of addresses when the list is
22993 * empty. 23169 * empty.
22994 */ 23170 */
22995 class TargetInstancesScopedListWarning { 23171 class TargetInstancesScopedListWarning {
22996 /** 23172 /**
22997 * [Output Only] A warning code, if applicable. For example, Compute Engine 23173 * [Output Only] A warning code, if applicable. For example, Compute Engine
22998 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 23174 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
22999 * Possible string values are: 23175 * Possible string values are:
23176 * - "CLEANUP_FAILED"
23000 * - "DEPRECATED_RESOURCE_USED" 23177 * - "DEPRECATED_RESOURCE_USED"
23001 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 23178 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
23002 * - "INJECTED_KERNELS_DEPRECATED" 23179 * - "INJECTED_KERNELS_DEPRECATED"
23003 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 23180 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
23004 * - "NEXT_HOP_CANNOT_IP_FORWARD" 23181 * - "NEXT_HOP_CANNOT_IP_FORWARD"
23005 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 23182 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
23006 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 23183 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
23007 * - "NEXT_HOP_NOT_RUNNING" 23184 * - "NEXT_HOP_NOT_RUNNING"
23008 * - "NOT_CRITICAL_ERROR" 23185 * - "NOT_CRITICAL_ERROR"
23009 * - "NO_RESULTS_ON_PAGE" 23186 * - "NO_RESULTS_ON_PAGE"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
23078 } 23255 }
23079 if (warning != null) { 23256 if (warning != null) {
23080 _json["warning"] = (warning).toJson(); 23257 _json["warning"] = (warning).toJson();
23081 } 23258 }
23082 return _json; 23259 return _json;
23083 } 23260 }
23084 } 23261 }
23085 23262
23086 /** 23263 /**
23087 * A TargetPool resource. This resource defines a pool of instances, associated 23264 * A TargetPool resource. This resource defines a pool of instances, associated
23088 * HttpHealthCheck resources, and the fallback TargetPool. 23265 * HttpHealthCheck resources, and the fallback target pool.
23089 */ 23266 */
23090 class TargetPool { 23267 class TargetPool {
23091 /** 23268 /**
23092 * This field is applicable only when the containing target pool is serving a 23269 * This field is applicable only when the containing target pool is serving a
23093 * forwarding rule as the primary pool, and its failoverRatio field is 23270 * forwarding rule as the primary pool, and its failoverRatio field is
23094 * properly set to a value between [0, 1]. 23271 * properly set to a value between [0, 1].
23095 * 23272 *
23096 * backupPool and failoverRatio together define the fallback behavior of the 23273 * backupPool and failoverRatio together define the fallback behavior of the
23097 * primary target pool: if the ratio of the healthy instances in the primary 23274 * primary target pool: if the ratio of the healthy instances in the primary
23098 * pool is at or below failoverRatio, traffic arriving at the load-balanced IP 23275 * pool is at or below failoverRatio, traffic arriving at the load-balanced IP
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
23134 * An empty list means all member instances will be considered healthy at all 23311 * An empty list means all member instances will be considered healthy at all
23135 * times. 23312 * times.
23136 */ 23313 */
23137 core.List<core.String> healthChecks; 23314 core.List<core.String> healthChecks;
23138 /** 23315 /**
23139 * [Output Only] The unique identifier for the resource. This identifier is 23316 * [Output Only] The unique identifier for the resource. This identifier is
23140 * defined by the server. 23317 * defined by the server.
23141 */ 23318 */
23142 core.String id; 23319 core.String id;
23143 /** 23320 /**
23144 * A list of resource URLs to the member virtual machines serving this pool. 23321 * A list of resource URLs to the virtual machine instances serving this pool.
23145 * They must live in zones contained in the same region as this pool. 23322 * They must live in zones contained in the same region as this pool.
23146 */ 23323 */
23147 core.List<core.String> instances; 23324 core.List<core.String> instances;
23148 /** 23325 /**
23149 * [Output Only] Type of the resource. Always compute#targetPool for target 23326 * [Output Only] Type of the resource. Always compute#targetPool for target
23150 * pools. 23327 * pools.
23151 */ 23328 */
23152 core.String kind; 23329 core.String kind;
23153 /** 23330 /**
23154 * Name of the resource. Provided by the client when the resource is created. 23331 * Name of the resource. Provided by the client when the resource is created.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
23261 } 23438 }
23262 return _json; 23439 return _json;
23263 } 23440 }
23264 } 23441 }
23265 23442
23266 class TargetPoolAggregatedList { 23443 class TargetPoolAggregatedList {
23267 /** 23444 /**
23268 * [Output Only] Unique identifier for the resource. Defined by the server. 23445 * [Output Only] Unique identifier for the resource. Defined by the server.
23269 */ 23446 */
23270 core.String id; 23447 core.String id;
23271 /** A map of scoped target pool lists. */ 23448 /** [Output Only] A map of scoped target pool lists. */
23272 core.Map<core.String, TargetPoolsScopedList> items; 23449 core.Map<core.String, TargetPoolsScopedList> items;
23273 /** Type of resource. */ 23450 /**
23451 * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for
23452 * aggregated lists of target pools.
23453 */
23274 core.String kind; 23454 core.String kind;
23275 /** 23455 /**
23276 * [Output Only] This token allows you to get the next page of results for 23456 * [Output Only] This token allows you to get the next page of results for
23277 * list requests. If the number of results is larger than maxResults, use the 23457 * list requests. If the number of results is larger than maxResults, use the
23278 * nextPageToken as a value for the query parameter pageToken in the next list 23458 * nextPageToken as a value for the query parameter pageToken in the next list
23279 * request. Subsequent list requests will have their own nextPageToken to 23459 * request. Subsequent list requests will have their own nextPageToken to
23280 * continue paging through the results. 23460 * continue paging through the results.
23281 */ 23461 */
23282 core.String nextPageToken; 23462 core.String nextPageToken;
23283 /** [Output Only] Server-defined URL for this resource. */ 23463 /** [Output Only] Server-defined URL for this resource. */
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
23319 } 23499 }
23320 if (selfLink != null) { 23500 if (selfLink != null) {
23321 _json["selfLink"] = selfLink; 23501 _json["selfLink"] = selfLink;
23322 } 23502 }
23323 return _json; 23503 return _json;
23324 } 23504 }
23325 } 23505 }
23326 23506
23327 class TargetPoolInstanceHealth { 23507 class TargetPoolInstanceHealth {
23328 core.List<HealthStatus> healthStatus; 23508 core.List<HealthStatus> healthStatus;
23329 /** Type of resource. */ 23509 /**
23510 * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth
23511 * when checking the health of an instance.
23512 */
23330 core.String kind; 23513 core.String kind;
23331 23514
23332 TargetPoolInstanceHealth(); 23515 TargetPoolInstanceHealth();
23333 23516
23334 TargetPoolInstanceHealth.fromJson(core.Map _json) { 23517 TargetPoolInstanceHealth.fromJson(core.Map _json) {
23335 if (_json.containsKey("healthStatus")) { 23518 if (_json.containsKey("healthStatus")) {
23336 healthStatus = _json["healthStatus"].map((value) => new HealthStatus.fromJ son(value)).toList(); 23519 healthStatus = _json["healthStatus"].map((value) => new HealthStatus.fromJ son(value)).toList();
23337 } 23520 }
23338 if (_json.containsKey("kind")) { 23521 if (_json.containsKey("kind")) {
23339 kind = _json["kind"]; 23522 kind = _json["kind"];
(...skipping 13 matching lines...) Expand all
23353 } 23536 }
23354 23537
23355 /** Contains a list of TargetPool resources. */ 23538 /** Contains a list of TargetPool resources. */
23356 class TargetPoolList { 23539 class TargetPoolList {
23357 /** 23540 /**
23358 * [Output Only] Unique identifier for the resource. Defined by the server. 23541 * [Output Only] Unique identifier for the resource. Defined by the server.
23359 */ 23542 */
23360 core.String id; 23543 core.String id;
23361 /** A list of TargetPool resources. */ 23544 /** A list of TargetPool resources. */
23362 core.List<TargetPool> items; 23545 core.List<TargetPool> items;
23363 /** Type of resource. */ 23546 /**
23547 * [Output Only] Type of resource. Always compute#targetPoolList for lists of
23548 * target pools.
23549 */
23364 core.String kind; 23550 core.String kind;
23365 /** 23551 /**
23366 * [Output Only] This token allows you to get the next page of results for 23552 * [Output Only] This token allows you to get the next page of results for
23367 * list requests. If the number of results is larger than maxResults, use the 23553 * list requests. If the number of results is larger than maxResults, use the
23368 * nextPageToken as a value for the query parameter pageToken in the next list 23554 * nextPageToken as a value for the query parameter pageToken in the next list
23369 * request. Subsequent list requests will have their own nextPageToken to 23555 * request. Subsequent list requests will have their own nextPageToken to
23370 * continue paging through the results. 23556 * continue paging through the results.
23371 */ 23557 */
23372 core.String nextPageToken; 23558 core.String nextPageToken;
23373 /** [Output Only] Server-defined URL for this resource. */ 23559 /** [Output Only] Server-defined URL for this resource. */
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
23408 _json["nextPageToken"] = nextPageToken; 23594 _json["nextPageToken"] = nextPageToken;
23409 } 23595 }
23410 if (selfLink != null) { 23596 if (selfLink != null) {
23411 _json["selfLink"] = selfLink; 23597 _json["selfLink"] = selfLink;
23412 } 23598 }
23413 return _json; 23599 return _json;
23414 } 23600 }
23415 } 23601 }
23416 23602
23417 class TargetPoolsAddHealthCheckRequest { 23603 class TargetPoolsAddHealthCheckRequest {
23418 /** Health check URLs to be added to targetPool. */ 23604 /** A list of HttpHealthCheck resources to add to the target pool. */
23419 core.List<HealthCheckReference> healthChecks; 23605 core.List<HealthCheckReference> healthChecks;
23420 23606
23421 TargetPoolsAddHealthCheckRequest(); 23607 TargetPoolsAddHealthCheckRequest();
23422 23608
23423 TargetPoolsAddHealthCheckRequest.fromJson(core.Map _json) { 23609 TargetPoolsAddHealthCheckRequest.fromJson(core.Map _json) {
23424 if (_json.containsKey("healthChecks")) { 23610 if (_json.containsKey("healthChecks")) {
23425 healthChecks = _json["healthChecks"].map((value) => new HealthCheckReferen ce.fromJson(value)).toList(); 23611 healthChecks = _json["healthChecks"].map((value) => new HealthCheckReferen ce.fromJson(value)).toList();
23426 } 23612 }
23427 } 23613 }
23428 23614
23429 core.Map toJson() { 23615 core.Map toJson() {
23430 var _json = new core.Map(); 23616 var _json = new core.Map();
23431 if (healthChecks != null) { 23617 if (healthChecks != null) {
23432 _json["healthChecks"] = healthChecks.map((value) => (value).toJson()).toLi st(); 23618 _json["healthChecks"] = healthChecks.map((value) => (value).toJson()).toLi st();
23433 } 23619 }
23434 return _json; 23620 return _json;
23435 } 23621 }
23436 } 23622 }
23437 23623
23438 class TargetPoolsAddInstanceRequest { 23624 class TargetPoolsAddInstanceRequest {
23439 /** URLs of the instances to be added to targetPool. */ 23625 /**
23626 * A full or partial URL to an instance to add to this target pool. This can
23627 * be a full or partial URL. For example, the following are valid URLs:
23628 * -
23629 * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instan ces/instance-name
23630 * - projects/project-id/zones/zone/instances/instance-name
23631 * - zones/zone/instances/instance-name
23632 */
23440 core.List<InstanceReference> instances; 23633 core.List<InstanceReference> instances;
23441 23634
23442 TargetPoolsAddInstanceRequest(); 23635 TargetPoolsAddInstanceRequest();
23443 23636
23444 TargetPoolsAddInstanceRequest.fromJson(core.Map _json) { 23637 TargetPoolsAddInstanceRequest.fromJson(core.Map _json) {
23445 if (_json.containsKey("instances")) { 23638 if (_json.containsKey("instances")) {
23446 instances = _json["instances"].map((value) => new InstanceReference.fromJs on(value)).toList(); 23639 instances = _json["instances"].map((value) => new InstanceReference.fromJs on(value)).toList();
23447 } 23640 }
23448 } 23641 }
23449 23642
23450 core.Map toJson() { 23643 core.Map toJson() {
23451 var _json = new core.Map(); 23644 var _json = new core.Map();
23452 if (instances != null) { 23645 if (instances != null) {
23453 _json["instances"] = instances.map((value) => (value).toJson()).toList(); 23646 _json["instances"] = instances.map((value) => (value).toJson()).toList();
23454 } 23647 }
23455 return _json; 23648 return _json;
23456 } 23649 }
23457 } 23650 }
23458 23651
23459 class TargetPoolsRemoveHealthCheckRequest { 23652 class TargetPoolsRemoveHealthCheckRequest {
23460 /** Health check URLs to be removed from targetPool. */ 23653 /**
23654 * Health check URL to be removed. This can be a full or valid partial URL.
23655 * For example, the following are valid URLs:
23656 * -
23657 * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthC hecks/health-check
23658 * - projects/project/global/httpHealthChecks/health-check
23659 * - global/httpHealthChecks/health-check
23660 */
23461 core.List<HealthCheckReference> healthChecks; 23661 core.List<HealthCheckReference> healthChecks;
23462 23662
23463 TargetPoolsRemoveHealthCheckRequest(); 23663 TargetPoolsRemoveHealthCheckRequest();
23464 23664
23465 TargetPoolsRemoveHealthCheckRequest.fromJson(core.Map _json) { 23665 TargetPoolsRemoveHealthCheckRequest.fromJson(core.Map _json) {
23466 if (_json.containsKey("healthChecks")) { 23666 if (_json.containsKey("healthChecks")) {
23467 healthChecks = _json["healthChecks"].map((value) => new HealthCheckReferen ce.fromJson(value)).toList(); 23667 healthChecks = _json["healthChecks"].map((value) => new HealthCheckReferen ce.fromJson(value)).toList();
23468 } 23668 }
23469 } 23669 }
23470 23670
23471 core.Map toJson() { 23671 core.Map toJson() {
23472 var _json = new core.Map(); 23672 var _json = new core.Map();
23473 if (healthChecks != null) { 23673 if (healthChecks != null) {
23474 _json["healthChecks"] = healthChecks.map((value) => (value).toJson()).toLi st(); 23674 _json["healthChecks"] = healthChecks.map((value) => (value).toJson()).toLi st();
23475 } 23675 }
23476 return _json; 23676 return _json;
23477 } 23677 }
23478 } 23678 }
23479 23679
23480 class TargetPoolsRemoveInstanceRequest { 23680 class TargetPoolsRemoveInstanceRequest {
23481 /** URLs of the instances to be removed from targetPool. */ 23681 /** URLs of the instances to be removed from target pool. */
23482 core.List<InstanceReference> instances; 23682 core.List<InstanceReference> instances;
23483 23683
23484 TargetPoolsRemoveInstanceRequest(); 23684 TargetPoolsRemoveInstanceRequest();
23485 23685
23486 TargetPoolsRemoveInstanceRequest.fromJson(core.Map _json) { 23686 TargetPoolsRemoveInstanceRequest.fromJson(core.Map _json) {
23487 if (_json.containsKey("instances")) { 23687 if (_json.containsKey("instances")) {
23488 instances = _json["instances"].map((value) => new InstanceReference.fromJs on(value)).toList(); 23688 instances = _json["instances"].map((value) => new InstanceReference.fromJs on(value)).toList();
23489 } 23689 }
23490 } 23690 }
23491 23691
23492 core.Map toJson() { 23692 core.Map toJson() {
23493 var _json = new core.Map(); 23693 var _json = new core.Map();
23494 if (instances != null) { 23694 if (instances != null) {
23495 _json["instances"] = instances.map((value) => (value).toJson()).toList(); 23695 _json["instances"] = instances.map((value) => (value).toJson()).toList();
23496 } 23696 }
23497 return _json; 23697 return _json;
23498 } 23698 }
23499 } 23699 }
23500 23700
23501 class TargetPoolsScopedListWarningData { 23701 class TargetPoolsScopedListWarningData {
23502 /** 23702 /**
23503 * [Output Only] A key that provides more detail on the warning being 23703 * [Output Only] A key that provides more detail on the warning being
23504 * returned. For example, for warnings where there are no results in a list 23704 * returned. For example, for warnings where there are no results in a list
23505 * request for a particular zone, this key might be scope and the key value 23705 * request for a particular zone, this key might be scope and the key value
23506 * might be the zone name. Other examples might be a key indicating a 23706 * might be the zone name. Other examples might be a key indicating a
23507 * deprecated resource, and a suggested replacement, or a warning about 23707 * deprecated resource and a suggested replacement, or a warning about invalid
23508 * invalid network settings (for example, if an instance attempts to perform 23708 * network settings (for example, if an instance attempts to perform IP
23509 * IP forwarding but is not enabled for IP forwarding). 23709 * forwarding but is not enabled for IP forwarding).
23510 */ 23710 */
23511 core.String key; 23711 core.String key;
23512 /** [Output Only] A warning data value corresponding to the key. */ 23712 /** [Output Only] A warning data value corresponding to the key. */
23513 core.String value; 23713 core.String value;
23514 23714
23515 TargetPoolsScopedListWarningData(); 23715 TargetPoolsScopedListWarningData();
23516 23716
23517 TargetPoolsScopedListWarningData.fromJson(core.Map _json) { 23717 TargetPoolsScopedListWarningData.fromJson(core.Map _json) {
23518 if (_json.containsKey("key")) { 23718 if (_json.containsKey("key")) {
23519 key = _json["key"]; 23719 key = _json["key"];
(...skipping 17 matching lines...) Expand all
23537 23737
23538 /** 23738 /**
23539 * Informational warning which replaces the list of addresses when the list is 23739 * Informational warning which replaces the list of addresses when the list is
23540 * empty. 23740 * empty.
23541 */ 23741 */
23542 class TargetPoolsScopedListWarning { 23742 class TargetPoolsScopedListWarning {
23543 /** 23743 /**
23544 * [Output Only] A warning code, if applicable. For example, Compute Engine 23744 * [Output Only] A warning code, if applicable. For example, Compute Engine
23545 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 23745 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
23546 * Possible string values are: 23746 * Possible string values are:
23747 * - "CLEANUP_FAILED"
23547 * - "DEPRECATED_RESOURCE_USED" 23748 * - "DEPRECATED_RESOURCE_USED"
23548 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 23749 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
23549 * - "INJECTED_KERNELS_DEPRECATED" 23750 * - "INJECTED_KERNELS_DEPRECATED"
23550 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 23751 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
23551 * - "NEXT_HOP_CANNOT_IP_FORWARD" 23752 * - "NEXT_HOP_CANNOT_IP_FORWARD"
23552 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 23753 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
23553 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 23754 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
23554 * - "NEXT_HOP_NOT_RUNNING" 23755 * - "NEXT_HOP_NOT_RUNNING"
23555 * - "NOT_CRITICAL_ERROR" 23756 * - "NOT_CRITICAL_ERROR"
23556 * - "NO_RESULTS_ON_PAGE" 23757 * - "NO_RESULTS_ON_PAGE"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
23643 23844
23644 core.Map toJson() { 23845 core.Map toJson() {
23645 var _json = new core.Map(); 23846 var _json = new core.Map();
23646 if (target != null) { 23847 if (target != null) {
23647 _json["target"] = target; 23848 _json["target"] = target;
23648 } 23849 }
23649 return _json; 23850 return _json;
23650 } 23851 }
23651 } 23852 }
23652 23853
23854 /** Represents a Target VPN gateway resource. */
23653 class TargetVpnGateway { 23855 class TargetVpnGateway {
23654 /** [Output Only] Creation timestamp in RFC3339 text format. */ 23856 /** [Output Only] Creation timestamp in RFC3339 text format. */
23655 core.String creationTimestamp; 23857 core.String creationTimestamp;
23656 /** 23858 /**
23657 * An optional description of this resource. Provide this property when you 23859 * An optional description of this resource. Provide this property when you
23658 * create the resource. 23860 * create the resource.
23659 */ 23861 */
23660 core.String description; 23862 core.String description;
23661 /** 23863 /**
23662 * [Output Only] A list of URLs to the ForwardingRule resources. 23864 * [Output Only] A list of URLs to the ForwardingRule resources.
23663 * ForwardingRules are created using compute.forwardingRules.insert and 23865 * ForwardingRules are created using compute.forwardingRules.insert and
23664 * associated to a VPN gateway. 23866 * associated to a VPN gateway.
23665 */ 23867 */
23666 core.List<core.String> forwardingRules; 23868 core.List<core.String> forwardingRules;
23667 /** 23869 /**
23668 * [Output Only] The unique identifier for the resource. This identifier is 23870 * [Output Only] The unique identifier for the resource. This identifier is
23669 * defined by the server. 23871 * defined by the server.
23670 */ 23872 */
23671 core.String id; 23873 core.String id;
23672 /** 23874 /**
23673 * [Output Only] Type of resource. Always compute#targetVpnGateway for target 23875 * [Output Only] Type of resource. Always compute#targetVpnGateway for target
23674 * VPN gateways. 23876 * VPN gateways.
23675 */ 23877 */
23676 core.String kind; 23878 core.String kind;
23677 /** 23879 /**
23678 * Name of the resource; provided by the client when the resource is created. 23880 * Name of the resource. Provided by the client when the resource is created.
23679 * The name must be 1-63 characters long, and comply with RFC1035. 23881 * The name must be 1-63 characters long, and comply with RFC1035.
23680 * Specifically, the name must be 1-63 characters long and match the regular 23882 * Specifically, the name must be 1-63 characters long and match the regular
23681 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 23883 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
23682 * be a lowercase letter, and all following characters must be a dash, 23884 * be a lowercase letter, and all following characters must be a dash,
23683 * lowercase letter, or digit, except the last character, which cannot be a 23885 * lowercase letter, or digit, except the last character, which cannot be a
23684 * dash. 23886 * dash.
23685 */ 23887 */
23686 core.String name; 23888 core.String name;
23687 /** 23889 /**
23688 * URL of the network to which this VPN gateway is attached. Provided by the 23890 * URL of the network to which this VPN gateway is attached. Provided by the
23689 * client when the VPN gateway is created. 23891 * client when the VPN gateway is created.
23690 */ 23892 */
23691 core.String network; 23893 core.String network;
23692 /** [Output Only] URL of the region where the target VPN gateway resides. */ 23894 /** [Output Only] URL of the region where the target VPN gateway resides. */
23693 core.String region; 23895 core.String region;
23694 /** [Output Only] Server-defined URL for the resource. */ 23896 /** [Output Only] Server-defined URL for the resource. */
23695 core.String selfLink; 23897 core.String selfLink;
23696 /** 23898 /**
23697 * [Output Only] The status of the VPN gateway. 23899 * [Output Only] The status of the VPN gateway.
23698 * Possible string values are: 23900 * Possible string values are:
23699 * - "CREATING" 23901 * - "CREATING"
23700 * - "DELETING" 23902 * - "DELETING"
23701 * - "FAILED" 23903 * - "FAILED"
23702 * - "READY" 23904 * - "READY"
23703 */ 23905 */
23704 core.String status; 23906 core.String status;
23705 /** 23907 /**
23706 * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created 23908 * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created
23707 * using compute.vpntunnels.insert and associated to a VPN gateway. 23909 * using compute.vpntunnels.insert method and associated to a VPN gateway.
23708 */ 23910 */
23709 core.List<core.String> tunnels; 23911 core.List<core.String> tunnels;
23710 23912
23711 TargetVpnGateway(); 23913 TargetVpnGateway();
23712 23914
23713 TargetVpnGateway.fromJson(core.Map _json) { 23915 TargetVpnGateway.fromJson(core.Map _json) {
23714 if (_json.containsKey("creationTimestamp")) { 23916 if (_json.containsKey("creationTimestamp")) {
23715 creationTimestamp = _json["creationTimestamp"]; 23917 creationTimestamp = _json["creationTimestamp"];
23716 } 23918 }
23717 if (_json.containsKey("description")) { 23919 if (_json.containsKey("description")) {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
23915 return _json; 24117 return _json;
23916 } 24118 }
23917 } 24119 }
23918 24120
23919 class TargetVpnGatewaysScopedListWarningData { 24121 class TargetVpnGatewaysScopedListWarningData {
23920 /** 24122 /**
23921 * [Output Only] A key that provides more detail on the warning being 24123 * [Output Only] A key that provides more detail on the warning being
23922 * returned. For example, for warnings where there are no results in a list 24124 * returned. For example, for warnings where there are no results in a list
23923 * request for a particular zone, this key might be scope and the key value 24125 * request for a particular zone, this key might be scope and the key value
23924 * might be the zone name. Other examples might be a key indicating a 24126 * might be the zone name. Other examples might be a key indicating a
23925 * deprecated resource, and a suggested replacement, or a warning about 24127 * deprecated resource and a suggested replacement, or a warning about invalid
23926 * invalid network settings (for example, if an instance attempts to perform 24128 * network settings (for example, if an instance attempts to perform IP
23927 * IP forwarding but is not enabled for IP forwarding). 24129 * forwarding but is not enabled for IP forwarding).
23928 */ 24130 */
23929 core.String key; 24131 core.String key;
23930 /** [Output Only] A warning data value corresponding to the key. */ 24132 /** [Output Only] A warning data value corresponding to the key. */
23931 core.String value; 24133 core.String value;
23932 24134
23933 TargetVpnGatewaysScopedListWarningData(); 24135 TargetVpnGatewaysScopedListWarningData();
23934 24136
23935 TargetVpnGatewaysScopedListWarningData.fromJson(core.Map _json) { 24137 TargetVpnGatewaysScopedListWarningData.fromJson(core.Map _json) {
23936 if (_json.containsKey("key")) { 24138 if (_json.containsKey("key")) {
23937 key = _json["key"]; 24139 key = _json["key"];
(...skipping 17 matching lines...) Expand all
23955 24157
23956 /** 24158 /**
23957 * [Output Only] Informational warning which replaces the list of addresses when 24159 * [Output Only] Informational warning which replaces the list of addresses when
23958 * the list is empty. 24160 * the list is empty.
23959 */ 24161 */
23960 class TargetVpnGatewaysScopedListWarning { 24162 class TargetVpnGatewaysScopedListWarning {
23961 /** 24163 /**
23962 * [Output Only] A warning code, if applicable. For example, Compute Engine 24164 * [Output Only] A warning code, if applicable. For example, Compute Engine
23963 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 24165 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
23964 * Possible string values are: 24166 * Possible string values are:
24167 * - "CLEANUP_FAILED"
23965 * - "DEPRECATED_RESOURCE_USED" 24168 * - "DEPRECATED_RESOURCE_USED"
23966 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 24169 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
23967 * - "INJECTED_KERNELS_DEPRECATED" 24170 * - "INJECTED_KERNELS_DEPRECATED"
23968 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 24171 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
23969 * - "NEXT_HOP_CANNOT_IP_FORWARD" 24172 * - "NEXT_HOP_CANNOT_IP_FORWARD"
23970 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 24173 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
23971 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 24174 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
23972 * - "NEXT_HOP_NOT_RUNNING" 24175 * - "NEXT_HOP_NOT_RUNNING"
23973 * - "NOT_CRITICAL_ERROR" 24176 * - "NOT_CRITICAL_ERROR"
23974 * - "NO_RESULTS_ON_PAGE" 24177 * - "NO_RESULTS_ON_PAGE"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
24513 * [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. 24716 * [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.
24514 */ 24717 */
24515 core.String kind; 24718 core.String kind;
24516 /** 24719 /**
24517 * Local traffic selector to use when establishing the VPN tunnel with peer 24720 * Local traffic selector to use when establishing the VPN tunnel with peer
24518 * VPN gateway. The value should be a CIDR formatted string, for example: 24721 * VPN gateway. The value should be a CIDR formatted string, for example:
24519 * 192.168.0.0/16. The ranges should be disjoint. 24722 * 192.168.0.0/16. The ranges should be disjoint.
24520 */ 24723 */
24521 core.List<core.String> localTrafficSelector; 24724 core.List<core.String> localTrafficSelector;
24522 /** 24725 /**
24523 * Name of the resource; provided by the client when the resource is created. 24726 * Name of the resource. Provided by the client when the resource is created.
24524 * The name must be 1-63 characters long, and comply with RFC1035. 24727 * The name must be 1-63 characters long, and comply with RFC1035.
24525 * Specifically, the name must be 1-63 characters long and match the regular 24728 * Specifically, the name must be 1-63 characters long and match the regular
24526 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must 24729 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must
24527 * be a lowercase letter, and all following characters must be a dash, 24730 * be a lowercase letter, and all following characters must be a dash,
24528 * lowercase letter, or digit, except the last character, which cannot be a 24731 * lowercase letter, or digit, except the last character, which cannot be a
24529 * dash. 24732 * dash.
24530 */ 24733 */
24531 core.String name; 24734 core.String name;
24532 /** IP address of the peer VPN gateway. */ 24735 /** IP address of the peer VPN gateway. */
24533 core.String peerIp; 24736 core.String peerIp;
24534 /** [Output Only] URL of the region where the VPN tunnel resides. */ 24737 /** [Output Only] URL of the region where the VPN tunnel resides. */
24535 core.String region; 24738 core.String region;
24536 /** [Output Only] Server-defined URL for the resource. */ 24739 /** [Output Only] Server-defined URL for the resource. */
24537 core.String selfLink; 24740 core.String selfLink;
24538 /** 24741 /**
24539 * Shared secret used to set the secure session between the Cloud VPN gateway 24742 * Shared secret used to set the secure session between the Cloud VPN gateway
24540 * and the peer VPN gateway. 24743 * and the peer VPN gateway.
24541 */ 24744 */
24542 core.String sharedSecret; 24745 core.String sharedSecret;
24543 /** Hash of the shared secret. */ 24746 /** Hash of the shared secret. */
24544 core.String sharedSecretHash; 24747 core.String sharedSecretHash;
24545 /** 24748 /**
24546 * [Output Only] The status of the VPN tunnel. 24749 * [Output Only] The status of the VPN tunnel.
24547 * Possible string values are: 24750 * Possible string values are:
24751 * - "ALLOCATING_RESOURCES"
24548 * - "AUTHORIZATION_ERROR" 24752 * - "AUTHORIZATION_ERROR"
24549 * - "DEPROVISIONING" 24753 * - "DEPROVISIONING"
24550 * - "ESTABLISHED" 24754 * - "ESTABLISHED"
24551 * - "FAILED" 24755 * - "FAILED"
24552 * - "FIRST_HANDSHAKE" 24756 * - "FIRST_HANDSHAKE"
24553 * - "NEGOTIATION_FAILURE" 24757 * - "NEGOTIATION_FAILURE"
24554 * - "NETWORK_ERROR" 24758 * - "NETWORK_ERROR"
24555 * - "NO_INCOMING_PACKETS" 24759 * - "NO_INCOMING_PACKETS"
24556 * - "PROVISIONING" 24760 * - "PROVISIONING"
24557 * - "REJECTED" 24761 * - "REJECTED"
24558 * - "WAITING_FOR_FULL_CONFIG" 24762 * - "WAITING_FOR_FULL_CONFIG"
24559 */ 24763 */
24560 core.String status; 24764 core.String status;
24561 /** 24765 /**
24562 * URL of the VPN gateway to which this VPN tunnel is associated. Provided by 24766 * URL of the VPN gateway with which this VPN tunnel is associated. Provided
24563 * the client when the VPN tunnel is created. 24767 * by the client when the VPN tunnel is created.
24564 */ 24768 */
24565 core.String targetVpnGateway; 24769 core.String targetVpnGateway;
24566 24770
24567 VpnTunnel(); 24771 VpnTunnel();
24568 24772
24569 VpnTunnel.fromJson(core.Map _json) { 24773 VpnTunnel.fromJson(core.Map _json) {
24570 if (_json.containsKey("creationTimestamp")) { 24774 if (_json.containsKey("creationTimestamp")) {
24571 creationTimestamp = _json["creationTimestamp"]; 24775 creationTimestamp = _json["creationTimestamp"];
24572 } 24776 }
24573 if (_json.containsKey("description")) { 24777 if (_json.containsKey("description")) {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
24793 return _json; 24997 return _json;
24794 } 24998 }
24795 } 24999 }
24796 25000
24797 class VpnTunnelsScopedListWarningData { 25001 class VpnTunnelsScopedListWarningData {
24798 /** 25002 /**
24799 * [Output Only] A key that provides more detail on the warning being 25003 * [Output Only] A key that provides more detail on the warning being
24800 * returned. For example, for warnings where there are no results in a list 25004 * returned. For example, for warnings where there are no results in a list
24801 * request for a particular zone, this key might be scope and the key value 25005 * request for a particular zone, this key might be scope and the key value
24802 * might be the zone name. Other examples might be a key indicating a 25006 * might be the zone name. Other examples might be a key indicating a
24803 * deprecated resource, and a suggested replacement, or a warning about 25007 * deprecated resource and a suggested replacement, or a warning about invalid
24804 * invalid network settings (for example, if an instance attempts to perform 25008 * network settings (for example, if an instance attempts to perform IP
24805 * IP forwarding but is not enabled for IP forwarding). 25009 * forwarding but is not enabled for IP forwarding).
24806 */ 25010 */
24807 core.String key; 25011 core.String key;
24808 /** [Output Only] A warning data value corresponding to the key. */ 25012 /** [Output Only] A warning data value corresponding to the key. */
24809 core.String value; 25013 core.String value;
24810 25014
24811 VpnTunnelsScopedListWarningData(); 25015 VpnTunnelsScopedListWarningData();
24812 25016
24813 VpnTunnelsScopedListWarningData.fromJson(core.Map _json) { 25017 VpnTunnelsScopedListWarningData.fromJson(core.Map _json) {
24814 if (_json.containsKey("key")) { 25018 if (_json.containsKey("key")) {
24815 key = _json["key"]; 25019 key = _json["key"];
(...skipping 17 matching lines...) Expand all
24833 25037
24834 /** 25038 /**
24835 * Informational warning which replaces the list of addresses when the list is 25039 * Informational warning which replaces the list of addresses when the list is
24836 * empty. 25040 * empty.
24837 */ 25041 */
24838 class VpnTunnelsScopedListWarning { 25042 class VpnTunnelsScopedListWarning {
24839 /** 25043 /**
24840 * [Output Only] A warning code, if applicable. For example, Compute Engine 25044 * [Output Only] A warning code, if applicable. For example, Compute Engine
24841 * returns NO_RESULTS_ON_PAGE if there are no results in the response. 25045 * returns NO_RESULTS_ON_PAGE if there are no results in the response.
24842 * Possible string values are: 25046 * Possible string values are:
25047 * - "CLEANUP_FAILED"
24843 * - "DEPRECATED_RESOURCE_USED" 25048 * - "DEPRECATED_RESOURCE_USED"
24844 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" 25049 * - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
24845 * - "INJECTED_KERNELS_DEPRECATED" 25050 * - "INJECTED_KERNELS_DEPRECATED"
24846 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED" 25051 * - "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
24847 * - "NEXT_HOP_CANNOT_IP_FORWARD" 25052 * - "NEXT_HOP_CANNOT_IP_FORWARD"
24848 * - "NEXT_HOP_INSTANCE_NOT_FOUND" 25053 * - "NEXT_HOP_INSTANCE_NOT_FOUND"
24849 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" 25054 * - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
24850 * - "NEXT_HOP_NOT_RUNNING" 25055 * - "NEXT_HOP_NOT_RUNNING"
24851 * - "NOT_CRITICAL_ERROR" 25056 * - "NOT_CRITICAL_ERROR"
24852 * - "NO_RESULTS_ON_PAGE" 25057 * - "NO_RESULTS_ON_PAGE"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
25135 } 25340 }
25136 if (nextPageToken != null) { 25341 if (nextPageToken != null) {
25137 _json["nextPageToken"] = nextPageToken; 25342 _json["nextPageToken"] = nextPageToken;
25138 } 25343 }
25139 if (selfLink != null) { 25344 if (selfLink != null) {
25140 _json["selfLink"] = selfLink; 25345 _json["selfLink"] = selfLink;
25141 } 25346 }
25142 return _json; 25347 return _json;
25143 } 25348 }
25144 } 25349 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/cloudresourcemanager/v1.dart ('k') | generated/googleapis/lib/content/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698