google-cloud-compute-v1 0.3.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +8 -44
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +85 -42
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +91 -66
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +8335 -7443
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +12 -60
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +13 -63
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +9 -49
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +7 -33
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +8 -44
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +6 -30
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +8 -44
- data/lib/google/cloud/compute/v1/image_family_views/credentials.rb +53 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +318 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +89 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/image_family_views.rb +44 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +7 -35
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +30 -150
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +16 -72
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +272 -197
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +134 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +11 -29
- data/lib/google/cloud/compute/v1/machine_images/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +777 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +363 -0
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/machine_images.rb +44 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +10 -56
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +14 -61
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +12 -66
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +4 -24
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +15 -71
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +9 -35
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +88 -30
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +10 -48
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +27 -133
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -29
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +1 -5
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +3 -17
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -14
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +89 -39
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +10 -56
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -22
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/service_attachments/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +954 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +458 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/service_attachments.rb +44 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +79 -20
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +11 -61
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +5 -27
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +9 -45
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +12 -60
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +11 -59
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +8 -42
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +6 -32
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +10 -52
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +7 -39
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +6 -34
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +3 -17
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -12
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/compute/v1/compute.rb +20013 -21099
- data/proto_docs/google/cloud/extended_operations.rb +51 -0
- metadata +34 -4
@@ -168,11 +168,7 @@ module Google
|
|
168
168
|
# @param region [::String]
|
169
169
|
# Name of the region scoping this request.
|
170
170
|
# @param request_id [::String]
|
171
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
172
|
-
#
|
173
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
174
|
-
#
|
175
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
171
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
176
172
|
# @yield [result, response] Access the result along with the Faraday response object
|
177
173
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
178
174
|
# @yieldparam response [::Faraday::Response]
|
@@ -305,11 +301,7 @@ module Google
|
|
305
301
|
# @param region [::String]
|
306
302
|
# Name of the region scoping this request.
|
307
303
|
# @param request_id [::String]
|
308
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
309
|
-
#
|
310
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
311
|
-
#
|
312
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
304
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
313
305
|
# @yield [result, response] Access the result along with the Faraday response object
|
314
306
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
315
307
|
# @yieldparam response [::Faraday::Response]
|
@@ -371,21 +363,11 @@ module Google
|
|
371
363
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
372
364
|
#
|
373
365
|
# @param filter [::String]
|
374
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
375
|
-
#
|
376
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
377
|
-
#
|
378
|
-
# You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
|
379
|
-
#
|
380
|
-
# To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
366
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
381
367
|
# @param max_results [::Integer]
|
382
368
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
383
369
|
# @param order_by [::String]
|
384
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
385
|
-
#
|
386
|
-
# You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
|
387
|
-
#
|
388
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
370
|
+
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
389
371
|
# @param page_token [::String]
|
390
372
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
391
373
|
# @param project [::String]
|
@@ -463,11 +445,7 @@ module Google
|
|
463
445
|
# @param region [::String]
|
464
446
|
# Name of the region scoping this request.
|
465
447
|
# @param request_id [::String]
|
466
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
467
|
-
#
|
468
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
469
|
-
#
|
470
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
448
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
471
449
|
# @yield [result, response] Access the result along with the Faraday response object
|
472
450
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
473
451
|
# @yieldparam response [::Faraday::Response]
|
@@ -170,11 +170,7 @@ module Google
|
|
170
170
|
# @param region [::String]
|
171
171
|
# Name of the region scoping this request.
|
172
172
|
# @param request_id [::String]
|
173
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
174
|
-
#
|
175
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
176
|
-
#
|
177
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
173
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
178
174
|
# @yield [result, response] Access the result along with the Faraday response object
|
179
175
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
180
176
|
# @yieldparam response [::Faraday::Response]
|
@@ -307,11 +303,7 @@ module Google
|
|
307
303
|
# @param region [::String]
|
308
304
|
# Name of the region scoping this request.
|
309
305
|
# @param request_id [::String]
|
310
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
311
|
-
#
|
312
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
313
|
-
#
|
314
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
306
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
315
307
|
# @yield [result, response] Access the result along with the Faraday response object
|
316
308
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
317
309
|
# @yieldparam response [::Faraday::Response]
|
@@ -373,21 +365,11 @@ module Google
|
|
373
365
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
374
366
|
#
|
375
367
|
# @param filter [::String]
|
376
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
377
|
-
#
|
378
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
379
|
-
#
|
380
|
-
# You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
|
381
|
-
#
|
382
|
-
# To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
368
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
383
369
|
# @param max_results [::Integer]
|
384
370
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
385
371
|
# @param order_by [::String]
|
386
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
387
|
-
#
|
388
|
-
# You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
|
389
|
-
#
|
390
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
372
|
+
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
391
373
|
# @param page_token [::String]
|
392
374
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
393
375
|
# @param project [::String]
|
@@ -465,11 +447,7 @@ module Google
|
|
465
447
|
# @param region [::String]
|
466
448
|
# Name of the region scoping this request.
|
467
449
|
# @param request_id [::String]
|
468
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
469
|
-
#
|
470
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
471
|
-
#
|
472
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
450
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
473
451
|
# @yield [result, response] Access the result along with the Faraday response object
|
474
452
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
475
453
|
# @yieldparam response [::Faraday::Response]
|
@@ -539,11 +517,7 @@ module Google
|
|
539
517
|
# @param region [::String]
|
540
518
|
# Name of the region scoping this request.
|
541
519
|
# @param request_id [::String]
|
542
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
543
|
-
#
|
544
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
545
|
-
#
|
546
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
520
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
547
521
|
# @yield [result, response] Access the result along with the Faraday response object
|
548
522
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
549
523
|
# @yieldparam response [::Faraday::Response]
|
@@ -173,11 +173,7 @@ module Google
|
|
173
173
|
# Service calls
|
174
174
|
|
175
175
|
##
|
176
|
-
# Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.
|
177
|
-
#
|
178
|
-
# If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
|
179
|
-
#
|
180
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
176
|
+
# Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
|
181
177
|
#
|
182
178
|
# @overload abandon_instances(request, options = nil)
|
183
179
|
# Pass arguments to `abandon_instances` via a request object, either of type
|
@@ -205,11 +201,7 @@ module Google
|
|
205
201
|
# @param region_instance_group_managers_abandon_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersAbandonInstancesRequest, ::Hash]
|
206
202
|
# The body resource for this request
|
207
203
|
# @param request_id [::String]
|
208
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
209
|
-
#
|
210
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
211
|
-
#
|
212
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
204
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
213
205
|
# @yield [result, response] Access the result along with the Faraday response object
|
214
206
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
215
207
|
# @yieldparam response [::Faraday::Response]
|
@@ -347,11 +339,7 @@ module Google
|
|
347
339
|
# @param region_instance_group_managers_create_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersCreateInstancesRequest, ::Hash]
|
348
340
|
# The body resource for this request
|
349
341
|
# @param request_id [::String]
|
350
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
351
|
-
#
|
352
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request.
|
353
|
-
#
|
354
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
342
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
355
343
|
# @yield [result, response] Access the result along with the Faraday response object
|
356
344
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
357
345
|
# @yieldparam response [::Faraday::Response]
|
@@ -419,11 +407,7 @@ module Google
|
|
419
407
|
# @param region [::String]
|
420
408
|
# Name of the region scoping this request.
|
421
409
|
# @param request_id [::String]
|
422
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
423
|
-
#
|
424
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
425
|
-
#
|
426
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
410
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
427
411
|
# @yield [result, response] Access the result along with the Faraday response object
|
428
412
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
429
413
|
# @yieldparam response [::Faraday::Response]
|
@@ -465,11 +449,7 @@ module Google
|
|
465
449
|
end
|
466
450
|
|
467
451
|
##
|
468
|
-
# Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method.
|
469
|
-
#
|
470
|
-
# If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
|
471
|
-
#
|
472
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
452
|
+
# Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
|
473
453
|
#
|
474
454
|
# @overload delete_instances(request, options = nil)
|
475
455
|
# Pass arguments to `delete_instances` via a request object, either of type
|
@@ -497,11 +477,7 @@ module Google
|
|
497
477
|
# @param region_instance_group_managers_delete_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersDeleteInstancesRequest, ::Hash]
|
498
478
|
# The body resource for this request
|
499
479
|
# @param request_id [::String]
|
500
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
501
|
-
#
|
502
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
503
|
-
#
|
504
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
480
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
505
481
|
# @yield [result, response] Access the result along with the Faraday response object
|
506
482
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
507
483
|
# @yieldparam response [::Faraday::Response]
|
@@ -676,9 +652,7 @@ module Google
|
|
676
652
|
end
|
677
653
|
|
678
654
|
##
|
679
|
-
# Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.
|
680
|
-
#
|
681
|
-
# A regional managed instance group can contain up to 2000 instances.
|
655
|
+
# Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances.
|
682
656
|
#
|
683
657
|
# @overload insert(request, options = nil)
|
684
658
|
# Pass arguments to `insert` via a request object, either of type
|
@@ -704,11 +678,7 @@ module Google
|
|
704
678
|
# @param region [::String]
|
705
679
|
# Name of the region scoping this request.
|
706
680
|
# @param request_id [::String]
|
707
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
708
|
-
#
|
709
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
710
|
-
#
|
711
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
681
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
712
682
|
# @yield [result, response] Access the result along with the Faraday response object
|
713
683
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
714
684
|
# @yieldparam response [::Faraday::Response]
|
@@ -770,21 +740,11 @@ module Google
|
|
770
740
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
771
741
|
#
|
772
742
|
# @param filter [::String]
|
773
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
774
|
-
#
|
775
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
776
|
-
#
|
777
|
-
# You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
|
778
|
-
#
|
779
|
-
# To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
743
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
780
744
|
# @param max_results [::Integer]
|
781
745
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
782
746
|
# @param order_by [::String]
|
783
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
784
|
-
#
|
785
|
-
# You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
|
786
|
-
#
|
787
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
747
|
+
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
788
748
|
# @param page_token [::String]
|
789
749
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
790
750
|
# @param project [::String]
|
@@ -854,23 +814,13 @@ module Google
|
|
854
814
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
855
815
|
#
|
856
816
|
# @param filter [::String]
|
857
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
858
|
-
#
|
859
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
860
|
-
#
|
861
|
-
# You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
|
862
|
-
#
|
863
|
-
# To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
817
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
864
818
|
# @param instance_group_manager [::String]
|
865
|
-
# The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]\\{0,61}[a-z0-9])?)|
|
819
|
+
# The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]\\{0,61}[a-z0-9])?)|1-9\\{0,19}.
|
866
820
|
# @param max_results [::Integer]
|
867
821
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
868
822
|
# @param order_by [::String]
|
869
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
870
|
-
#
|
871
|
-
# You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
|
872
|
-
#
|
873
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
823
|
+
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
874
824
|
# @param page_token [::String]
|
875
825
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
876
826
|
# @param project [::String]
|
@@ -940,23 +890,13 @@ module Google
|
|
940
890
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
941
891
|
#
|
942
892
|
# @param filter [::String]
|
943
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
944
|
-
#
|
945
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
946
|
-
#
|
947
|
-
# You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
|
948
|
-
#
|
949
|
-
# To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
893
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
950
894
|
# @param instance_group_manager [::String]
|
951
895
|
# The name of the managed instance group.
|
952
896
|
# @param max_results [::Integer]
|
953
897
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
954
898
|
# @param order_by [::String]
|
955
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
956
|
-
#
|
957
|
-
# You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
|
958
|
-
#
|
959
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
899
|
+
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
960
900
|
# @param page_token [::String]
|
961
901
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
962
902
|
# @param project [::String]
|
@@ -1026,23 +966,13 @@ module Google
|
|
1026
966
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1027
967
|
#
|
1028
968
|
# @param filter [::String]
|
1029
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
1030
|
-
#
|
1031
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
1032
|
-
#
|
1033
|
-
# You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
|
1034
|
-
#
|
1035
|
-
# To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
969
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1036
970
|
# @param instance_group_manager [::String]
|
1037
971
|
# The name of the managed instance group. It should conform to RFC1035.
|
1038
972
|
# @param max_results [::Integer]
|
1039
973
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1040
974
|
# @param order_by [::String]
|
1041
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
1042
|
-
#
|
1043
|
-
# You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
|
1044
|
-
#
|
1045
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
975
|
+
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1046
976
|
# @param page_token [::String]
|
1047
977
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
1048
978
|
# @param project [::String]
|
@@ -1092,7 +1022,7 @@ module Google
|
|
1092
1022
|
end
|
1093
1023
|
|
1094
1024
|
##
|
1095
|
-
# Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
|
1025
|
+
# Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.
|
1096
1026
|
#
|
1097
1027
|
# @overload patch(request, options = nil)
|
1098
1028
|
# Pass arguments to `patch` via a request object, either of type
|
@@ -1120,11 +1050,7 @@ module Google
|
|
1120
1050
|
# @param region [::String]
|
1121
1051
|
# Name of the region scoping this request.
|
1122
1052
|
# @param request_id [::String]
|
1123
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1124
|
-
#
|
1125
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1126
|
-
#
|
1127
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1053
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1128
1054
|
# @yield [result, response] Access the result along with the Faraday response object
|
1129
1055
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
1130
1056
|
# @yieldparam response [::Faraday::Response]
|
@@ -1194,11 +1120,7 @@ module Google
|
|
1194
1120
|
# @param region_instance_group_manager_patch_instance_config_req_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagerPatchInstanceConfigReq, ::Hash]
|
1195
1121
|
# The body resource for this request
|
1196
1122
|
# @param request_id [::String]
|
1197
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1198
|
-
#
|
1199
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1200
|
-
#
|
1201
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1123
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1202
1124
|
# @yield [result, response] Access the result along with the Faraday response object
|
1203
1125
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
1204
1126
|
# @yieldparam response [::Faraday::Response]
|
@@ -1240,11 +1162,7 @@ module Google
|
|
1240
1162
|
end
|
1241
1163
|
|
1242
1164
|
##
|
1243
|
-
# Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances.
|
1244
|
-
#
|
1245
|
-
# If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
|
1246
|
-
#
|
1247
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
1165
|
+
# Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.
|
1248
1166
|
#
|
1249
1167
|
# @overload recreate_instances(request, options = nil)
|
1250
1168
|
# Pass arguments to `recreate_instances` via a request object, either of type
|
@@ -1272,11 +1190,7 @@ module Google
|
|
1272
1190
|
# @param region_instance_group_managers_recreate_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersRecreateRequest, ::Hash]
|
1273
1191
|
# The body resource for this request
|
1274
1192
|
# @param request_id [::String]
|
1275
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1276
|
-
#
|
1277
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1278
|
-
#
|
1279
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1193
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1280
1194
|
# @yield [result, response] Access the result along with the Faraday response object
|
1281
1195
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
1282
1196
|
# @yieldparam response [::Faraday::Response]
|
@@ -1318,11 +1232,7 @@ module Google
|
|
1318
1232
|
end
|
1319
1233
|
|
1320
1234
|
##
|
1321
|
-
# Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances.
|
1322
|
-
#
|
1323
|
-
# The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.
|
1324
|
-
#
|
1325
|
-
# If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
|
1235
|
+
# Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
|
1326
1236
|
#
|
1327
1237
|
# @overload resize(request, options = nil)
|
1328
1238
|
# Pass arguments to `resize` via a request object, either of type
|
@@ -1348,11 +1258,7 @@ module Google
|
|
1348
1258
|
# @param region [::String]
|
1349
1259
|
# Name of the region scoping this request.
|
1350
1260
|
# @param request_id [::String]
|
1351
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1352
|
-
#
|
1353
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1354
|
-
#
|
1355
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1261
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1356
1262
|
# @param size [::Integer]
|
1357
1263
|
# Number of instances that should exist in this instance group manager.
|
1358
1264
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -1424,11 +1330,7 @@ module Google
|
|
1424
1330
|
# @param region_instance_group_managers_set_template_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersSetTemplateRequest, ::Hash]
|
1425
1331
|
# The body resource for this request
|
1426
1332
|
# @param request_id [::String]
|
1427
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1428
|
-
#
|
1429
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1430
|
-
#
|
1431
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1333
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1432
1334
|
# @yield [result, response] Access the result along with the Faraday response object
|
1433
1335
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
1434
1336
|
# @yieldparam response [::Faraday::Response]
|
@@ -1498,11 +1400,7 @@ module Google
|
|
1498
1400
|
# @param region_instance_group_managers_set_target_pools_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagersSetTargetPoolsRequest, ::Hash]
|
1499
1401
|
# The body resource for this request
|
1500
1402
|
# @param request_id [::String]
|
1501
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1502
|
-
#
|
1503
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1504
|
-
#
|
1505
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1403
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1506
1404
|
# @yield [result, response] Access the result along with the Faraday response object
|
1507
1405
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
1508
1406
|
# @yieldparam response [::Faraday::Response]
|
@@ -1572,11 +1470,7 @@ module Google
|
|
1572
1470
|
# @param region_instance_group_manager_update_instance_config_req_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupManagerUpdateInstanceConfigReq, ::Hash]
|
1573
1471
|
# The body resource for this request
|
1574
1472
|
# @param request_id [::String]
|
1575
|
-
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
|
1576
|
-
#
|
1577
|
-
# For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
|
1578
|
-
#
|
1579
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1473
|
+
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1580
1474
|
# @yield [result, response] Access the result along with the Faraday response object
|
1581
1475
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
1582
1476
|
# @yieldparam response [::Faraday::Response]
|