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
@@ -161,23 +161,13 @@ module Google
|
|
161
161
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
162
162
|
#
|
163
163
|
# @param filter [::String]
|
164
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
165
|
-
#
|
166
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
167
|
-
#
|
168
|
-
# 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.
|
169
|
-
#
|
170
|
-
# 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) ```
|
164
|
+
# 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) ```
|
171
165
|
# @param include_all_scopes [::Boolean]
|
172
166
|
# Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
|
173
167
|
# @param max_results [::Integer]
|
174
168
|
# 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`)
|
175
169
|
# @param order_by [::String]
|
176
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
177
|
-
#
|
178
|
-
# 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.
|
179
|
-
#
|
180
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
170
|
+
# 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.
|
181
171
|
# @param page_token [::String]
|
182
172
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
183
173
|
# @param project [::String]
|
@@ -310,21 +300,11 @@ module Google
|
|
310
300
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
311
301
|
#
|
312
302
|
# @param filter [::String]
|
313
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
314
|
-
#
|
315
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
316
|
-
#
|
317
|
-
# 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.
|
318
|
-
#
|
319
|
-
# 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) ```
|
303
|
+
# 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) ```
|
320
304
|
# @param max_results [::Integer]
|
321
305
|
# 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`)
|
322
306
|
# @param order_by [::String]
|
323
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
324
|
-
#
|
325
|
-
# 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.
|
326
|
-
#
|
327
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
307
|
+
# 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.
|
328
308
|
# @param page_token [::String]
|
329
309
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
330
310
|
# @param project [::String]
|
@@ -169,23 +169,13 @@ module Google
|
|
169
169
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
170
170
|
#
|
171
171
|
# @param filter [::String]
|
172
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
173
|
-
#
|
174
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
175
|
-
#
|
176
|
-
# 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.
|
177
|
-
#
|
178
|
-
# 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) ```
|
172
|
+
# 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) ```
|
179
173
|
# @param include_all_scopes [::Boolean]
|
180
174
|
# Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
|
181
175
|
# @param max_results [::Integer]
|
182
176
|
# 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`)
|
183
177
|
# @param order_by [::String]
|
184
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
185
|
-
#
|
186
|
-
# 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.
|
187
|
-
#
|
188
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
178
|
+
# 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.
|
189
179
|
# @param page_token [::String]
|
190
180
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
191
181
|
# @param project [::String]
|
@@ -259,11 +249,7 @@ module Google
|
|
259
249
|
# @param region [::String]
|
260
250
|
# Name of the region for this request.
|
261
251
|
# @param request_id [::String]
|
262
|
-
# 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.
|
263
|
-
#
|
264
|
-
# 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.
|
265
|
-
#
|
266
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
252
|
+
# 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).
|
267
253
|
# @yield [result, response] Access the result along with the Faraday response object
|
268
254
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
269
255
|
# @yieldparam response [::Faraday::Response]
|
@@ -396,11 +382,7 @@ module Google
|
|
396
382
|
# @param region [::String]
|
397
383
|
# Name of the region for this request.
|
398
384
|
# @param request_id [::String]
|
399
|
-
# 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.
|
400
|
-
#
|
401
|
-
# 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.
|
402
|
-
#
|
403
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
385
|
+
# 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).
|
404
386
|
# @yield [result, response] Access the result along with the Faraday response object
|
405
387
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
406
388
|
# @yieldparam response [::Faraday::Response]
|
@@ -462,21 +444,11 @@ module Google
|
|
462
444
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
463
445
|
#
|
464
446
|
# @param filter [::String]
|
465
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
466
|
-
#
|
467
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
468
|
-
#
|
469
|
-
# 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.
|
470
|
-
#
|
471
|
-
# 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) ```
|
447
|
+
# 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) ```
|
472
448
|
# @param max_results [::Integer]
|
473
449
|
# 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`)
|
474
450
|
# @param order_by [::String]
|
475
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
476
|
-
#
|
477
|
-
# 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.
|
478
|
-
#
|
479
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
451
|
+
# 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.
|
480
452
|
# @param page_token [::String]
|
481
453
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
482
454
|
# @param project [::String]
|
@@ -554,11 +526,7 @@ module Google
|
|
554
526
|
# @param region [::String]
|
555
527
|
# Name of the region for this request.
|
556
528
|
# @param request_id [::String]
|
557
|
-
# 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.
|
558
|
-
#
|
559
|
-
# 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.
|
560
|
-
#
|
561
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
529
|
+
# 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).
|
562
530
|
# @yield [result, response] Access the result along with the Faraday response object
|
563
531
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
564
532
|
# @yieldparam response [::Faraday::Response]
|
@@ -183,11 +183,7 @@ module Google
|
|
183
183
|
# @param project [::String]
|
184
184
|
# Project ID for this request.
|
185
185
|
# @param request_id [::String]
|
186
|
-
# 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.
|
187
|
-
#
|
188
|
-
# 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.
|
189
|
-
#
|
190
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
186
|
+
# 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).
|
191
187
|
# @yield [result, response] Access the result along with the Faraday response object
|
192
188
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
193
189
|
# @yieldparam response [::Faraday::Response]
|
@@ -253,11 +249,7 @@ module Google
|
|
253
249
|
# @param projects_disable_xpn_resource_request_resource [::Google::Cloud::Compute::V1::ProjectsDisableXpnResourceRequest, ::Hash]
|
254
250
|
# The body resource for this request
|
255
251
|
# @param request_id [::String]
|
256
|
-
# 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.
|
257
|
-
#
|
258
|
-
# 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.
|
259
|
-
#
|
260
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
252
|
+
# 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).
|
261
253
|
# @yield [result, response] Access the result along with the Faraday response object
|
262
254
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
263
255
|
# @yieldparam response [::Faraday::Response]
|
@@ -321,11 +313,7 @@ module Google
|
|
321
313
|
# @param project [::String]
|
322
314
|
# Project ID for this request.
|
323
315
|
# @param request_id [::String]
|
324
|
-
# 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.
|
325
|
-
#
|
326
|
-
# 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.
|
327
|
-
#
|
328
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
316
|
+
# 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).
|
329
317
|
# @yield [result, response] Access the result along with the Faraday response object
|
330
318
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
331
319
|
# @yieldparam response [::Faraday::Response]
|
@@ -391,11 +379,7 @@ module Google
|
|
391
379
|
# @param projects_enable_xpn_resource_request_resource [::Google::Cloud::Compute::V1::ProjectsEnableXpnResourceRequest, ::Hash]
|
392
380
|
# The body resource for this request
|
393
381
|
# @param request_id [::String]
|
394
|
-
# 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.
|
395
|
-
#
|
396
|
-
# 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.
|
397
|
-
#
|
398
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
382
|
+
# 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).
|
399
383
|
# @yield [result, response] Access the result along with the Faraday response object
|
400
384
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
401
385
|
# @yieldparam response [::Faraday::Response]
|
@@ -437,7 +421,7 @@ module Google
|
|
437
421
|
end
|
438
422
|
|
439
423
|
##
|
440
|
-
# Returns the specified Project resource.
|
424
|
+
# Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.
|
441
425
|
#
|
442
426
|
# @overload get(request, options = nil)
|
443
427
|
# Pass arguments to `get` via a request object, either of type
|
@@ -579,21 +563,11 @@ module Google
|
|
579
563
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
580
564
|
#
|
581
565
|
# @param filter [::String]
|
582
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
583
|
-
#
|
584
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
585
|
-
#
|
586
|
-
# 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.
|
587
|
-
#
|
588
|
-
# 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) ```
|
566
|
+
# 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) ```
|
589
567
|
# @param max_results [::Integer]
|
590
568
|
# 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`)
|
591
569
|
# @param order_by [::String]
|
592
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
593
|
-
#
|
594
|
-
# 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.
|
595
|
-
#
|
596
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
570
|
+
# 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.
|
597
571
|
# @param page_token [::String]
|
598
572
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
599
573
|
# @param project [::String]
|
@@ -661,21 +635,11 @@ module Google
|
|
661
635
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
662
636
|
#
|
663
637
|
# @param filter [::String]
|
664
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
665
|
-
#
|
666
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
667
|
-
#
|
668
|
-
# 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.
|
669
|
-
#
|
670
|
-
# 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) ```
|
638
|
+
# 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) ```
|
671
639
|
# @param max_results [::Integer]
|
672
640
|
# 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`)
|
673
641
|
# @param order_by [::String]
|
674
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
675
|
-
#
|
676
|
-
# 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.
|
677
|
-
#
|
678
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
642
|
+
# 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.
|
679
643
|
# @param page_token [::String]
|
680
644
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
681
645
|
# @param project [::String]
|
@@ -749,11 +713,7 @@ module Google
|
|
749
713
|
# @param project [::String]
|
750
714
|
# Project ID for this request.
|
751
715
|
# @param request_id [::String]
|
752
|
-
# 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.
|
753
|
-
#
|
754
|
-
# 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.
|
755
|
-
#
|
756
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
716
|
+
# 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).
|
757
717
|
# @yield [result, response] Access the result along with the Faraday response object
|
758
718
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
759
719
|
# @yieldparam response [::Faraday::Response]
|
@@ -795,7 +755,7 @@ module Google
|
|
795
755
|
end
|
796
756
|
|
797
757
|
##
|
798
|
-
# Moves an instance and its attached persistent disks from one zone to another.
|
758
|
+
# Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
|
799
759
|
#
|
800
760
|
# @overload move_instance(request, options = nil)
|
801
761
|
# Pass arguments to `move_instance` via a request object, either of type
|
@@ -819,11 +779,7 @@ module Google
|
|
819
779
|
# @param project [::String]
|
820
780
|
# Project ID for this request.
|
821
781
|
# @param request_id [::String]
|
822
|
-
# 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.
|
823
|
-
#
|
824
|
-
# 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.
|
825
|
-
#
|
826
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
782
|
+
# 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).
|
827
783
|
# @yield [result, response] Access the result along with the Faraday response object
|
828
784
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
829
785
|
# @yieldparam response [::Faraday::Response]
|
@@ -889,11 +845,7 @@ module Google
|
|
889
845
|
# @param project [::String]
|
890
846
|
# Project ID for this request.
|
891
847
|
# @param request_id [::String]
|
892
|
-
# 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.
|
893
|
-
#
|
894
|
-
# 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.
|
895
|
-
#
|
896
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
848
|
+
# 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).
|
897
849
|
# @yield [result, response] Access the result along with the Faraday response object
|
898
850
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
899
851
|
# @yieldparam response [::Faraday::Response]
|
@@ -959,11 +911,7 @@ module Google
|
|
959
911
|
# @param projects_set_default_network_tier_request_resource [::Google::Cloud::Compute::V1::ProjectsSetDefaultNetworkTierRequest, ::Hash]
|
960
912
|
# The body resource for this request
|
961
913
|
# @param request_id [::String]
|
962
|
-
# 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.
|
963
|
-
#
|
964
|
-
# 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.
|
965
|
-
#
|
966
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
914
|
+
# 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).
|
967
915
|
# @yield [result, response] Access the result along with the Faraday response object
|
968
916
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
969
917
|
# @yieldparam response [::Faraday::Response]
|
@@ -1027,11 +975,7 @@ module Google
|
|
1027
975
|
# @param project [::String]
|
1028
976
|
# Project ID for this request.
|
1029
977
|
# @param request_id [::String]
|
1030
|
-
# 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.
|
1031
|
-
#
|
1032
|
-
# 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.
|
1033
|
-
#
|
1034
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
978
|
+
# 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).
|
1035
979
|
# @param usage_export_location_resource [::Google::Cloud::Compute::V1::UsageExportLocation, ::Hash]
|
1036
980
|
# The body resource for this request
|
1037
981
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -166,11 +166,7 @@ module Google
|
|
166
166
|
# @param public_advertised_prefix [::String]
|
167
167
|
# Name of the PublicAdvertisedPrefix resource to delete.
|
168
168
|
# @param request_id [::String]
|
169
|
-
# 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.
|
170
|
-
#
|
171
|
-
# 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.
|
172
|
-
#
|
173
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
169
|
+
# 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).
|
174
170
|
# @yield [result, response] Access the result along with the Faraday response object
|
175
171
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
176
172
|
# @yieldparam response [::Faraday::Response]
|
@@ -299,11 +295,7 @@ module Google
|
|
299
295
|
# @param public_advertised_prefix_resource [::Google::Cloud::Compute::V1::PublicAdvertisedPrefix, ::Hash]
|
300
296
|
# The body resource for this request
|
301
297
|
# @param request_id [::String]
|
302
|
-
# 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.
|
303
|
-
#
|
304
|
-
# 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.
|
305
|
-
#
|
306
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
298
|
+
# 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).
|
307
299
|
# @yield [result, response] Access the result along with the Faraday response object
|
308
300
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
309
301
|
# @yieldparam response [::Faraday::Response]
|
@@ -365,21 +357,11 @@ module Google
|
|
365
357
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
366
358
|
#
|
367
359
|
# @param filter [::String]
|
368
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
369
|
-
#
|
370
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
371
|
-
#
|
372
|
-
# 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.
|
373
|
-
#
|
374
|
-
# 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) ```
|
360
|
+
# 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) ```
|
375
361
|
# @param max_results [::Integer]
|
376
362
|
# 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`)
|
377
363
|
# @param order_by [::String]
|
378
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
379
|
-
#
|
380
|
-
# 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.
|
381
|
-
#
|
382
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
364
|
+
# 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.
|
383
365
|
# @param page_token [::String]
|
384
366
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
385
367
|
# @param project [::String]
|
@@ -453,11 +435,7 @@ module Google
|
|
453
435
|
# @param public_advertised_prefix_resource [::Google::Cloud::Compute::V1::PublicAdvertisedPrefix, ::Hash]
|
454
436
|
# The body resource for this request
|
455
437
|
# @param request_id [::String]
|
456
|
-
# 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.
|
457
|
-
#
|
458
|
-
# 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.
|
459
|
-
#
|
460
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
438
|
+
# 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).
|
461
439
|
# @yield [result, response] Access the result along with the Faraday response object
|
462
440
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
463
441
|
# @yieldparam response [::Faraday::Response]
|
@@ -167,23 +167,13 @@ module Google
|
|
167
167
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
168
168
|
#
|
169
169
|
# @param filter [::String]
|
170
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
171
|
-
#
|
172
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
173
|
-
#
|
174
|
-
# 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.
|
175
|
-
#
|
176
|
-
# 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) ```
|
170
|
+
# 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) ```
|
177
171
|
# @param include_all_scopes [::Boolean]
|
178
172
|
# Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
|
179
173
|
# @param max_results [::Integer]
|
180
174
|
# 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`)
|
181
175
|
# @param order_by [::String]
|
182
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
183
|
-
#
|
184
|
-
# 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.
|
185
|
-
#
|
186
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
176
|
+
# 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.
|
187
177
|
# @param page_token [::String]
|
188
178
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
189
179
|
# @param project [::String]
|
@@ -257,11 +247,7 @@ module Google
|
|
257
247
|
# @param region [::String]
|
258
248
|
# Name of the region of this request.
|
259
249
|
# @param request_id [::String]
|
260
|
-
# 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.
|
261
|
-
#
|
262
|
-
# 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.
|
263
|
-
#
|
264
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
250
|
+
# 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).
|
265
251
|
# @yield [result, response] Access the result along with the Faraday response object
|
266
252
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
267
253
|
# @yieldparam response [::Faraday::Response]
|
@@ -394,11 +380,7 @@ module Google
|
|
394
380
|
# @param region [::String]
|
395
381
|
# Name of the region of this request.
|
396
382
|
# @param request_id [::String]
|
397
|
-
# 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.
|
398
|
-
#
|
399
|
-
# 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.
|
400
|
-
#
|
401
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
383
|
+
# 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).
|
402
384
|
# @yield [result, response] Access the result along with the Faraday response object
|
403
385
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
404
386
|
# @yieldparam response [::Faraday::Response]
|
@@ -460,21 +442,11 @@ module Google
|
|
460
442
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
461
443
|
#
|
462
444
|
# @param filter [::String]
|
463
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
464
|
-
#
|
465
|
-
# For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
|
466
|
-
#
|
467
|
-
# 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.
|
468
|
-
#
|
469
|
-
# 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) ```
|
445
|
+
# 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) ```
|
470
446
|
# @param max_results [::Integer]
|
471
447
|
# 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`)
|
472
448
|
# @param order_by [::String]
|
473
|
-
# Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
|
474
|
-
#
|
475
|
-
# 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.
|
476
|
-
#
|
477
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
449
|
+
# 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.
|
478
450
|
# @param page_token [::String]
|
479
451
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
|
480
452
|
# @param project [::String]
|
@@ -552,11 +524,7 @@ module Google
|
|
552
524
|
# @param region [::String]
|
553
525
|
# Name of the region for this request.
|
554
526
|
# @param request_id [::String]
|
555
|
-
# 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.
|
556
|
-
#
|
557
|
-
# 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.
|
558
|
-
#
|
559
|
-
# The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
527
|
+
# 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).
|
560
528
|
# @yield [result, response] Access the result along with the Faraday response object
|
561
529
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
562
530
|
# @yieldparam response [::Faraday::Response]
|