google-cloud-compute-v1 1.0.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/README.md +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +78 -1
- 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 +79 -2
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +534 -2
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +2 -2
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +5 -5
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +162 -6
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +91 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
- 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 +2 -2
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +5 -5
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +84 -2
- 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 +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +5 -5
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +84 -2
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +5 -5
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +76 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1.rb +1 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +1647 -330
- metadata +8 -3
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
362
362
|
#
|
363
363
|
# @param filter [::String]
|
364
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
364
|
+
# 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) ```
|
365
365
|
# @param max_results [::Integer]
|
366
366
|
# 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`)
|
367
367
|
# @param order_by [::String]
|
@@ -166,7 +166,7 @@ module Google
|
|
166
166
|
# @param region [::String]
|
167
167
|
# Name of the region scoping this request.
|
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. 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).
|
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).
|
170
170
|
# @yield [result, response] Access the result along with the Faraday response object
|
171
171
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
172
172
|
# @yieldparam response [::Faraday::Response]
|
@@ -299,7 +299,7 @@ module Google
|
|
299
299
|
# @param region [::String]
|
300
300
|
# Name of the region scoping this request.
|
301
301
|
# @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. 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).
|
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. 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).
|
303
303
|
# @yield [result, response] Access the result along with the Faraday response object
|
304
304
|
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
305
305
|
# @yieldparam response [::Faraday::Response]
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
362
362
|
#
|
363
363
|
# @param filter [::String]
|
364
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
364
|
+
# 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) ```
|
365
365
|
# @param max_results [::Integer]
|
366
366
|
# 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`)
|
367
367
|
# @param order_by [::String]
|
@@ -290,7 +290,7 @@ module Google
|
|
290
290
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
291
291
|
#
|
292
292
|
# @param filter [::String]
|
293
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
293
|
+
# 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) ```
|
294
294
|
# @param max_results [::Integer]
|
295
295
|
# 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`)
|
296
296
|
# @param order_by [::String]
|
@@ -164,7 +164,7 @@ module Google
|
|
164
164
|
# @param region [::String]
|
165
165
|
# Name of the region scoping this request.
|
166
166
|
# @param request_id [::String]
|
167
|
-
# 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).
|
167
|
+
# 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).
|
168
168
|
# @param ssl_certificate [::String]
|
169
169
|
# Name of the SslCertificate resource to delete.
|
170
170
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -297,7 +297,7 @@ module Google
|
|
297
297
|
# @param region [::String]
|
298
298
|
# Name of the region scoping this request.
|
299
299
|
# @param request_id [::String]
|
300
|
-
# 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).
|
300
|
+
# 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).
|
301
301
|
# @param ssl_certificate_resource [::Google::Cloud::Compute::V1::SslCertificate, ::Hash]
|
302
302
|
# The body resource for this request
|
303
303
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
362
362
|
#
|
363
363
|
# @param filter [::String]
|
364
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
364
|
+
# 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) ```
|
365
365
|
# @param max_results [::Integer]
|
366
366
|
# 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`)
|
367
367
|
# @param order_by [::String]
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
364
364
|
#
|
365
365
|
# @param filter [::String]
|
366
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
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) ```
|
367
367
|
# @param max_results [::Integer]
|
368
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`)
|
369
369
|
# @param order_by [::String]
|
@@ -168,7 +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. 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).
|
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).
|
172
172
|
# @param target_https_proxy [::String]
|
173
173
|
# Name of the TargetHttpsProxy resource to delete.
|
174
174
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -301,7 +301,7 @@ module Google
|
|
301
301
|
# @param region [::String]
|
302
302
|
# Name of the region scoping this request.
|
303
303
|
# @param request_id [::String]
|
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).
|
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).
|
305
305
|
# @param target_https_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpsProxy, ::Hash]
|
306
306
|
# The body resource for this request
|
307
307
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
366
366
|
#
|
367
367
|
# @param filter [::String]
|
368
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
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) ```
|
369
369
|
# @param max_results [::Integer]
|
370
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`)
|
371
371
|
# @param order_by [::String]
|
@@ -445,7 +445,7 @@ module Google
|
|
445
445
|
# @param region_target_https_proxies_set_ssl_certificates_request_resource [::Google::Cloud::Compute::V1::RegionTargetHttpsProxiesSetSslCertificatesRequest, ::Hash]
|
446
446
|
# The body resource for this request
|
447
447
|
# @param request_id [::String]
|
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).
|
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).
|
449
449
|
# @param target_https_proxy [::String]
|
450
450
|
# Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
|
451
451
|
# @yield [result, response] Access the result along with the Faraday response object
|
@@ -513,7 +513,7 @@ module Google
|
|
513
513
|
# @param region [::String]
|
514
514
|
# Name of the region scoping this request.
|
515
515
|
# @param request_id [::String]
|
516
|
-
# 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).
|
516
|
+
# 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).
|
517
517
|
# @param target_https_proxy [::String]
|
518
518
|
# Name of the TargetHttpsProxy to set a URL map for.
|
519
519
|
# @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
|
@@ -367,7 +367,7 @@ module Google
|
|
367
367
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
368
368
|
#
|
369
369
|
# @param filter [::String]
|
370
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
370
|
+
# 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) ```
|
371
371
|
# @param max_results [::Integer]
|
372
372
|
# 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`)
|
373
373
|
# @param order_by [::String]
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
# Service calls
|
137
137
|
|
138
138
|
##
|
139
|
-
# Returns the specified Region resource. Gets a list of available regions by making a list() request.
|
139
|
+
# Returns the specified Region resource. Gets a list of available regions by making a list() request. 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.
|
140
140
|
#
|
141
141
|
# @overload get(request, options = nil)
|
142
142
|
# Pass arguments to `get` via a request object, either of type
|
@@ -199,7 +199,7 @@ module Google
|
|
199
199
|
end
|
200
200
|
|
201
201
|
##
|
202
|
-
# Retrieves the list of region resources available to the specified project.
|
202
|
+
# Retrieves the list of region resources available to the specified project. 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 `items.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.
|
203
203
|
#
|
204
204
|
# @overload list(request, options = nil)
|
205
205
|
# Pass arguments to `list` via a request object, either of type
|
@@ -219,7 +219,7 @@ module Google
|
|
219
219
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
220
220
|
#
|
221
221
|
# @param filter [::String]
|
222
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
222
|
+
# 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) ```
|
223
223
|
# @param max_results [::Integer]
|
224
224
|
# 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`)
|
225
225
|
# @param order_by [::String]
|
@@ -94,6 +94,8 @@ module Google
|
|
94
94
|
|
95
95
|
default_config.rpcs.test_iam_permissions.timeout = 600.0
|
96
96
|
|
97
|
+
default_config.rpcs.update.timeout = 600.0
|
98
|
+
|
97
99
|
default_config
|
98
100
|
end
|
99
101
|
yield @configure if block_given?
|
@@ -176,7 +178,7 @@ module Google
|
|
176
178
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
177
179
|
#
|
178
180
|
# @param filter [::String]
|
179
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
181
|
+
# 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) ```
|
180
182
|
# @param include_all_scopes [::Boolean]
|
181
183
|
# 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.
|
182
184
|
# @param max_results [::Integer]
|
@@ -518,7 +520,7 @@ module Google
|
|
518
520
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
519
521
|
#
|
520
522
|
# @param filter [::String]
|
521
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
523
|
+
# 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) ```
|
522
524
|
# @param max_results [::Integer]
|
523
525
|
# 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`)
|
524
526
|
# @param order_by [::String]
|
@@ -775,6 +777,79 @@ module Google
|
|
775
777
|
raise ::Google::Cloud::Error.from_error(gapic_error)
|
776
778
|
end
|
777
779
|
|
780
|
+
##
|
781
|
+
# Update share settings of the reservation.
|
782
|
+
#
|
783
|
+
# @overload update(request, options = nil)
|
784
|
+
# Pass arguments to `update` via a request object, either of type
|
785
|
+
# {::Google::Cloud::Compute::V1::UpdateReservationRequest} or an equivalent Hash.
|
786
|
+
#
|
787
|
+
# @param request [::Google::Cloud::Compute::V1::UpdateReservationRequest, ::Hash]
|
788
|
+
# A request object representing the call parameters. Required. To specify no
|
789
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
790
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
791
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
792
|
+
# Note: currently retry functionality is not implemented. While it is possible
|
793
|
+
# to set it using ::Gapic::CallOptions, it will not be applied
|
794
|
+
#
|
795
|
+
# @overload update(paths: nil, project: nil, request_id: nil, reservation: nil, reservation_resource: nil, update_mask: nil, zone: nil)
|
796
|
+
# Pass arguments to `update` via keyword arguments. Note that at
|
797
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
798
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
799
|
+
#
|
800
|
+
# @param paths [::String]
|
801
|
+
# @param project [::String]
|
802
|
+
# Project ID for this request.
|
803
|
+
# @param request_id [::String]
|
804
|
+
# 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).
|
805
|
+
# @param reservation [::String]
|
806
|
+
# Name of the reservation to update.
|
807
|
+
# @param reservation_resource [::Google::Cloud::Compute::V1::Reservation, ::Hash]
|
808
|
+
# The body resource for this request
|
809
|
+
# @param update_mask [::String]
|
810
|
+
# Update_mask indicates fields to be updated as part of this request.
|
811
|
+
# @param zone [::String]
|
812
|
+
# Name of the zone for this request.
|
813
|
+
# @yield [result, response] Access the result along with the Faraday response object
|
814
|
+
# @yieldparam result [::Gapic::Rest::BaseOperation]
|
815
|
+
# @yieldparam response [::Faraday::Response]
|
816
|
+
#
|
817
|
+
# @return [::Gapic::Rest::BaseOperation]
|
818
|
+
#
|
819
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
820
|
+
def update request, options = nil
|
821
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
822
|
+
|
823
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::UpdateReservationRequest
|
824
|
+
|
825
|
+
# Converts hash and nil to an options object
|
826
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
827
|
+
|
828
|
+
# Customize the options with defaults
|
829
|
+
call_metadata = @config.rpcs.update.metadata.to_h
|
830
|
+
|
831
|
+
# Set x-goog-api-client header
|
832
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
833
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
834
|
+
gapic_version: ::Google::Cloud::Compute::V1::VERSION,
|
835
|
+
transports_version_send: [:rest]
|
836
|
+
|
837
|
+
options.apply_defaults timeout: @config.rpcs.update.timeout,
|
838
|
+
metadata: call_metadata
|
839
|
+
|
840
|
+
options.apply_defaults timeout: @config.timeout,
|
841
|
+
metadata: @config.metadata
|
842
|
+
|
843
|
+
@reservations_stub.update request, options do |result, response|
|
844
|
+
result = ::Gapic::Rest::BaseOperation.new result
|
845
|
+
yield result, response if block_given?
|
846
|
+
return result
|
847
|
+
end
|
848
|
+
rescue ::Faraday::Error => e
|
849
|
+
gapic_error = ::Gapic::Rest::Error.wrap_faraday_error e
|
850
|
+
raise ::Google::Cloud::Error.from_error(gapic_error)
|
851
|
+
end
|
852
|
+
|
778
853
|
##
|
779
854
|
# Configuration class for the Reservations REST API.
|
780
855
|
#
|
@@ -919,6 +994,11 @@ module Google
|
|
919
994
|
# @return [::Gapic::Config::Method]
|
920
995
|
#
|
921
996
|
attr_reader :test_iam_permissions
|
997
|
+
##
|
998
|
+
# RPC-specific configuration for `update`
|
999
|
+
# @return [::Gapic::Config::Method]
|
1000
|
+
#
|
1001
|
+
attr_reader :update
|
922
1002
|
|
923
1003
|
# @private
|
924
1004
|
def initialize parent_rpcs = nil
|
@@ -940,6 +1020,8 @@ module Google
|
|
940
1020
|
@set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
|
941
1021
|
test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
|
942
1022
|
@test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
|
1023
|
+
update_config = parent_rpcs.update if parent_rpcs.respond_to? :update
|
1024
|
+
@update = ::Gapic::Config::Method.new update_config
|
943
1025
|
|
944
1026
|
yield self if block_given?
|
945
1027
|
end
|
@@ -449,6 +449,54 @@ module Google
|
|
449
449
|
|
450
450
|
[uri, body, query_string_params]
|
451
451
|
end
|
452
|
+
|
453
|
+
##
|
454
|
+
# Baseline implementation for the update REST call
|
455
|
+
#
|
456
|
+
# @param request_pb [::Google::Cloud::Compute::V1::UpdateReservationRequest]
|
457
|
+
# A request object representing the call parameters. Required.
|
458
|
+
# @param options [::Gapic::CallOptions]
|
459
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
460
|
+
#
|
461
|
+
# @yield [result, response] Access the result along with the Faraday response object
|
462
|
+
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
463
|
+
# @yieldparam response [::Faraday::Response]
|
464
|
+
#
|
465
|
+
# @return [::Google::Cloud::Compute::V1::Operation]
|
466
|
+
# A result object deserialized from the server's reply
|
467
|
+
def update request_pb, options = nil
|
468
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
469
|
+
|
470
|
+
uri, body, query_string_params = transcode_update_request request_pb
|
471
|
+
response = @client_stub.make_patch_request(
|
472
|
+
uri: uri,
|
473
|
+
body: body,
|
474
|
+
params: query_string_params,
|
475
|
+
options: options
|
476
|
+
)
|
477
|
+
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
478
|
+
|
479
|
+
yield result, response if block_given?
|
480
|
+
result
|
481
|
+
end
|
482
|
+
|
483
|
+
##
|
484
|
+
# GRPC transcoding helper method for the update REST call
|
485
|
+
#
|
486
|
+
# @param request_pb [::Google::Cloud::Compute::V1::UpdateReservationRequest]
|
487
|
+
# A request object representing the call parameters. Required.
|
488
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
489
|
+
# Uri, Body, Query string parameters
|
490
|
+
def transcode_update_request request_pb
|
491
|
+
uri = "/compute/v1/projects/#{request_pb.project}/zones/#{request_pb.zone}/reservations/#{request_pb.reservation}"
|
492
|
+
body = request_pb.reservation_resource.to_json
|
493
|
+
query_string_params = {}
|
494
|
+
query_string_params["paths"] = request_pb.paths.to_s if request_pb.has_paths?
|
495
|
+
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
|
496
|
+
query_string_params["updateMask"] = request_pb.update_mask.to_s if request_pb.has_update_mask?
|
497
|
+
|
498
|
+
[uri, body, query_string_params]
|
499
|
+
end
|
452
500
|
end
|
453
501
|
end
|
454
502
|
end
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
175
175
|
#
|
176
176
|
# @param filter [::String]
|
177
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
177
|
+
# 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) ```
|
178
178
|
# @param include_all_scopes [::Boolean]
|
179
179
|
# 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.
|
180
180
|
# @param max_results [::Integer]
|
@@ -516,7 +516,7 @@ module Google
|
|
516
516
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
517
517
|
#
|
518
518
|
# @param filter [::String]
|
519
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
519
|
+
# 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) ```
|
520
520
|
# @param max_results [::Integer]
|
521
521
|
# 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`)
|
522
522
|
# @param order_by [::String]
|
@@ -181,7 +181,7 @@ module Google
|
|
181
181
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
182
182
|
#
|
183
183
|
# @param filter [::String]
|
184
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
184
|
+
# 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) ```
|
185
185
|
# @param include_all_scopes [::Boolean]
|
186
186
|
# 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.
|
187
187
|
# @param max_results [::Integer]
|
@@ -388,7 +388,7 @@ module Google
|
|
388
388
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
389
389
|
#
|
390
390
|
# @param filter [::String]
|
391
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
391
|
+
# 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) ```
|
392
392
|
# @param max_results [::Integer]
|
393
393
|
# 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`)
|
394
394
|
# @param order_by [::String]
|
@@ -597,7 +597,7 @@ module Google
|
|
597
597
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
598
598
|
#
|
599
599
|
# @param filter [::String]
|
600
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
600
|
+
# 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) ```
|
601
601
|
# @param max_results [::Integer]
|
602
602
|
# 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`)
|
603
603
|
# @param order_by [::String]
|
@@ -355,7 +355,7 @@ module Google
|
|
355
355
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
356
356
|
#
|
357
357
|
# @param filter [::String]
|
358
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
358
|
+
# 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) ```
|
359
359
|
# @param max_results [::Integer]
|
360
360
|
# 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`)
|
361
361
|
# @param order_by [::String]
|
@@ -504,7 +504,7 @@ module Google
|
|
504
504
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
505
505
|
#
|
506
506
|
# @param filter [::String]
|
507
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
507
|
+
# 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) ```
|
508
508
|
# @param max_results [::Integer]
|
509
509
|
# 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`)
|
510
510
|
# @param order_by [::String]
|
@@ -576,7 +576,7 @@ module Google
|
|
576
576
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
577
577
|
#
|
578
578
|
# @param filter [::String]
|
579
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
579
|
+
# 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) ```
|
580
580
|
# @param max_results [::Integer]
|
581
581
|
# 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`)
|
582
582
|
# @param order_by [::String]
|