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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +4 -4
  5. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +4 -24
  6. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +6 -34
  7. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +8 -44
  8. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +85 -42
  9. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +46 -0
  10. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +91 -66
  11. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +46 -0
  12. data/lib/google/cloud/compute/v1/compute_pb.rb +8335 -7443
  13. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +4 -24
  14. data/lib/google/cloud/compute/v1/disks/rest/client.rb +12 -60
  15. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +4 -22
  16. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +13 -63
  17. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +6 -32
  18. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +9 -49
  19. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +4 -22
  20. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +7 -33
  21. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +8 -44
  22. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +6 -30
  23. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -12
  24. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +5 -27
  25. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +8 -44
  26. data/lib/google/cloud/compute/v1/image_family_views/credentials.rb +53 -0
  27. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +318 -0
  28. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +89 -0
  29. data/lib/google/cloud/compute/v1/image_family_views/rest.rb +33 -0
  30. data/lib/google/cloud/compute/v1/image_family_views.rb +44 -0
  31. data/lib/google/cloud/compute/v1/images/rest/client.rb +7 -35
  32. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +30 -150
  33. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +16 -72
  34. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +4 -22
  35. data/lib/google/cloud/compute/v1/instances/rest/client.rb +272 -197
  36. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +134 -0
  37. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +7 -39
  38. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -12
  39. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +5 -27
  40. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
  41. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +11 -29
  42. data/lib/google/cloud/compute/v1/machine_images/credentials.rb +52 -0
  43. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +777 -0
  44. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +363 -0
  45. data/lib/google/cloud/compute/v1/machine_images/rest.rb +33 -0
  46. data/lib/google/cloud/compute/v1/machine_images.rb +44 -0
  47. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +4 -24
  48. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +10 -56
  49. data/lib/google/cloud/compute/v1/networks/rest/client.rb +14 -61
  50. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +12 -66
  51. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +6 -34
  52. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +4 -24
  53. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +7 -39
  54. data/lib/google/cloud/compute/v1/projects/rest/client.rb +15 -71
  55. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +5 -27
  56. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +7 -39
  57. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +6 -32
  58. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +9 -35
  59. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +88 -30
  60. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +48 -0
  61. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +2 -12
  62. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +10 -48
  63. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +5 -27
  64. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +6 -32
  65. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +27 -133
  66. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +5 -29
  67. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +1 -5
  68. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +4 -22
  69. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +4 -22
  70. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +3 -17
  71. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +4 -22
  72. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +5 -27
  73. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +6 -32
  74. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +2 -12
  75. data/lib/google/cloud/compute/v1/regions/rest/client.rb +4 -14
  76. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +89 -39
  77. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +48 -0
  78. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +6 -34
  79. data/lib/google/cloud/compute/v1/routers/rest/client.rb +10 -56
  80. data/lib/google/cloud/compute/v1/routes/rest/client.rb +4 -22
  81. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +7 -39
  82. data/lib/google/cloud/compute/v1/service_attachments/credentials.rb +52 -0
  83. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +954 -0
  84. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +458 -0
  85. data/lib/google/cloud/compute/v1/service_attachments/rest.rb +33 -0
  86. data/lib/google/cloud/compute/v1/service_attachments.rb +44 -0
  87. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +79 -20
  88. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +46 -0
  89. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +6 -34
  90. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +7 -39
  91. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +11 -61
  92. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +5 -27
  93. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +9 -45
  94. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +12 -60
  95. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +6 -34
  96. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +11 -59
  97. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +8 -42
  98. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +6 -32
  99. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +6 -34
  100. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +10 -52
  101. data/lib/google/cloud/compute/v1/version.rb +1 -1
  102. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +7 -39
  103. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +6 -34
  104. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +3 -17
  105. data/lib/google/cloud/compute/v1/zones/rest/client.rb +2 -12
  106. data/lib/google/cloud/compute/v1.rb +3 -0
  107. data/proto_docs/README.md +1 -1
  108. data/proto_docs/google/api/field_behavior.rb +6 -0
  109. data/proto_docs/google/api/resource.rb +10 -71
  110. data/proto_docs/google/cloud/compute/v1/compute.rb +20013 -21099
  111. data/proto_docs/google/cloud/extended_operations.rb +51 -0
  112. metadata +34 -4
@@ -225,21 +225,11 @@ module Google
225
225
  # the default parameter values, pass an empty Hash as a request object (see above).
226
226
  #
227
227
  # @param filter [::String]
228
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
229
- #
230
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
231
- #
232
- # 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.
233
- #
234
- # 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) ```
228
+ # 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) ```
235
229
  # @param max_results [::Integer]
236
230
  # 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`)
237
231
  # @param order_by [::String]
238
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
239
- #
240
- # 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.
241
- #
242
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
232
+ # 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.
243
233
  # @param page_token [::String]
244
234
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
245
235
  # @param project [::String]
@@ -309,23 +299,13 @@ module Google
309
299
  # the default parameter values, pass an empty Hash as a request object (see above).
310
300
  #
311
301
  # @param filter [::String]
312
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
313
- #
314
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
315
- #
316
- # 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.
317
- #
318
- # 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) ```
302
+ # 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) ```
319
303
  # @param instance_group [::String]
320
304
  # Name of the regional instance group for which we want to list the instances.
321
305
  # @param max_results [::Integer]
322
306
  # 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`)
323
307
  # @param order_by [::String]
324
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
325
- #
326
- # 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.
327
- #
328
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
308
+ # 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.
329
309
  # @param page_token [::String]
330
310
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
331
311
  # @param project [::String]
@@ -405,11 +385,7 @@ module Google
405
385
  # @param region_instance_groups_set_named_ports_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupsSetNamedPortsRequest, ::Hash]
406
386
  # The body resource for this request
407
387
  # @param request_id [::String]
408
- # 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.
409
- #
410
- # 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.
411
- #
412
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
388
+ # 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).
413
389
  # @yield [result, response] Access the result along with the Faraday response object
414
390
  # @yieldparam result [::Gapic::Rest::BaseOperation]
415
391
  # @yieldparam response [::Faraday::Response]
@@ -154,11 +154,7 @@ module Google
154
154
  # @param region [::String]
155
155
  # The name of the region for this request.
156
156
  # @param request_id [::String]
157
- # 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.
158
- #
159
- # 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.
160
- #
161
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
157
+ # 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).
162
158
  # @yield [result, response] Access the result along with the Faraday response object
163
159
  # @yieldparam result [::Gapic::Rest::BaseOperation]
164
160
  # @yieldparam response [::Faraday::Response]
@@ -166,11 +166,7 @@ module Google
166
166
  # @param region [::String]
167
167
  # The name of the region where the network endpoint group is located. It should comply with RFC1035.
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]
@@ -303,11 +299,7 @@ module Google
303
299
  # @param region [::String]
304
300
  # The name of the region where you want to create the network endpoint group. It should comply with RFC1035.
305
301
  # @param request_id [::String]
306
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
307
- #
308
- # 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.
309
- #
310
- # 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).
311
303
  # @yield [result, response] Access the result along with the Faraday response object
312
304
  # @yieldparam result [::Gapic::Rest::BaseOperation]
313
305
  # @yieldparam response [::Faraday::Response]
@@ -369,21 +361,11 @@ module Google
369
361
  # the default parameter values, pass an empty Hash as a request object (see above).
370
362
  #
371
363
  # @param filter [::String]
372
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
373
- #
374
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
375
- #
376
- # 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.
377
- #
378
- # 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) ```
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) ```
379
365
  # @param max_results [::Integer]
380
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`)
381
367
  # @param order_by [::String]
382
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
383
- #
384
- # 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.
385
- #
386
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
368
+ # 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.
387
369
  # @param page_token [::String]
388
370
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
389
371
  # @param project [::String]
@@ -166,11 +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.
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]
@@ -303,11 +299,7 @@ module Google
303
299
  # @param region [::String]
304
300
  # Name of the region scoping this request.
305
301
  # @param request_id [::String]
306
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
307
- #
308
- # 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.
309
- #
310
- # 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).
311
303
  # @yield [result, response] Access the result along with the Faraday response object
312
304
  # @yieldparam result [::Gapic::Rest::BaseOperation]
313
305
  # @yieldparam response [::Faraday::Response]
@@ -369,21 +361,11 @@ module Google
369
361
  # the default parameter values, pass an empty Hash as a request object (see above).
370
362
  #
371
363
  # @param filter [::String]
372
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
373
- #
374
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
375
- #
376
- # 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.
377
- #
378
- # 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) ```
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) ```
379
365
  # @param max_results [::Integer]
380
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`)
381
367
  # @param order_by [::String]
382
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
383
- #
384
- # 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.
385
- #
386
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
368
+ # 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.
387
369
  # @param page_token [::String]
388
370
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
389
371
  # @param project [::String]
@@ -290,21 +290,11 @@ 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, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
294
- #
295
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
296
- #
297
- # 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.
298
- #
299
- # 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) ```
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) ```
300
294
  # @param max_results [::Integer]
301
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`)
302
296
  # @param order_by [::String]
303
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
304
- #
305
- # 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.
306
- #
307
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
297
+ # 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.
308
298
  # @param page_token [::String]
309
299
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
310
300
  # @param project [::String]
@@ -354,11 +344,7 @@ module Google
354
344
  end
355
345
 
356
346
  ##
357
- # Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress.
358
- #
359
- # This method is called on a best-effort basis. Specifically:
360
- # - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds.
361
- # - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`.
347
+ # Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`.
362
348
  #
363
349
  # @overload wait(request, options = nil)
364
350
  # Pass arguments to `wait` via a request object, either of type
@@ -164,11 +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.
168
- #
169
- # 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.
170
- #
171
- # 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).
172
168
  # @param ssl_certificate [::String]
173
169
  # Name of the SslCertificate resource to delete.
174
170
  # @yield [result, response] Access the result along with the Faraday response object
@@ -301,11 +297,7 @@ module Google
301
297
  # @param region [::String]
302
298
  # Name of the region scoping this request.
303
299
  # @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.
305
- #
306
- # 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.
307
- #
308
- # 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).
309
301
  # @param ssl_certificate_resource [::Google::Cloud::Compute::V1::SslCertificate, ::Hash]
310
302
  # The body resource for this request
311
303
  # @yield [result, response] Access the result along with the Faraday response object
@@ -369,21 +361,11 @@ module Google
369
361
  # the default parameter values, pass an empty Hash as a request object (see above).
370
362
  #
371
363
  # @param filter [::String]
372
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
373
- #
374
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
375
- #
376
- # 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.
377
- #
378
- # 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) ```
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) ```
379
365
  # @param max_results [::Integer]
380
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`)
381
367
  # @param order_by [::String]
382
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
383
- #
384
- # 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.
385
- #
386
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
368
+ # 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.
387
369
  # @param page_token [::String]
388
370
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
389
371
  # @param project [::String]
@@ -166,11 +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.
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
  # @param target_http_proxy [::String]
175
171
  # Name of the TargetHttpProxy resource to delete.
176
172
  # @yield [result, response] Access the result along with the Faraday response object
@@ -303,11 +299,7 @@ module Google
303
299
  # @param region [::String]
304
300
  # Name of the region scoping this request.
305
301
  # @param request_id [::String]
306
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
307
- #
308
- # 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.
309
- #
310
- # 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).
311
303
  # @param target_http_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpProxy, ::Hash]
312
304
  # The body resource for this request
313
305
  # @yield [result, response] Access the result along with the Faraday response object
@@ -371,21 +363,11 @@ module Google
371
363
  # the default parameter values, pass an empty Hash as a request object (see above).
372
364
  #
373
365
  # @param filter [::String]
374
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
375
- #
376
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
377
- #
378
- # You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
379
- #
380
- # To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
366
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
381
367
  # @param max_results [::Integer]
382
368
  # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
383
369
  # @param order_by [::String]
384
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
385
- #
386
- # You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
387
- #
388
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
370
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
389
371
  # @param page_token [::String]
390
372
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
391
373
  # @param project [::String]
@@ -459,11 +441,7 @@ module Google
459
441
  # @param region [::String]
460
442
  # Name of the region scoping this request.
461
443
  # @param request_id [::String]
462
- # 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.
463
- #
464
- # 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.
465
- #
466
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
444
+ # 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).
467
445
  # @param target_http_proxy [::String]
468
446
  # Name of the TargetHttpProxy to set a URL map for.
469
447
  # @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
@@ -168,11 +168,7 @@ module Google
168
168
  # @param region [::String]
169
169
  # Name of the region scoping this request.
170
170
  # @param request_id [::String]
171
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
172
- #
173
- # For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
174
- #
175
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
171
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
176
172
  # @param target_https_proxy [::String]
177
173
  # Name of the TargetHttpsProxy resource to delete.
178
174
  # @yield [result, response] Access the result along with the Faraday response object
@@ -305,11 +301,7 @@ module Google
305
301
  # @param region [::String]
306
302
  # Name of the region scoping this request.
307
303
  # @param request_id [::String]
308
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
309
- #
310
- # For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
311
- #
312
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
304
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
313
305
  # @param target_https_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpsProxy, ::Hash]
314
306
  # The body resource for this request
315
307
  # @yield [result, response] Access the result along with the Faraday response object
@@ -373,21 +365,11 @@ module Google
373
365
  # the default parameter values, pass an empty Hash as a request object (see above).
374
366
  #
375
367
  # @param filter [::String]
376
- # A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
377
- #
378
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
379
- #
380
- # You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
381
- #
382
- # To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
368
+ # A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
383
369
  # @param max_results [::Integer]
384
370
  # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
385
371
  # @param order_by [::String]
386
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
387
- #
388
- # You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
389
- #
390
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
372
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
391
373
  # @param page_token [::String]
392
374
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
393
375
  # @param project [::String]
@@ -463,11 +445,7 @@ module Google
463
445
  # @param region_target_https_proxies_set_ssl_certificates_request_resource [::Google::Cloud::Compute::V1::RegionTargetHttpsProxiesSetSslCertificatesRequest, ::Hash]
464
446
  # The body resource for this request
465
447
  # @param request_id [::String]
466
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
467
- #
468
- # For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
469
- #
470
- # The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
448
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
471
449
  # @param target_https_proxy [::String]
472
450
  # Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
473
451
  # @yield [result, response] Access the result along with the Faraday response object
@@ -535,11 +513,7 @@ module Google
535
513
  # @param region [::String]
536
514
  # Name of the region scoping this request.
537
515
  # @param request_id [::String]
538
- # 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.
539
- #
540
- # 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.
541
- #
542
- # 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).
543
517
  # @param target_https_proxy [::String]
544
518
  # Name of the TargetHttpsProxy to set a URL map for.
545
519
  # @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
@@ -367,21 +367,11 @@ 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, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
371
- #
372
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
373
- #
374
- # 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.
375
- #
376
- # 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) ```
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) ```
377
371
  # @param max_results [::Integer]
378
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`)
379
373
  # @param order_by [::String]
380
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
381
- #
382
- # 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.
383
- #
384
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
374
+ # 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.
385
375
  # @param page_token [::String]
386
376
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
387
377
  # @param project [::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,21 +219,11 @@ 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, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
223
- #
224
- # For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
225
- #
226
- # 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.
227
- #
228
- # 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) ```
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) ```
229
223
  # @param max_results [::Integer]
230
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`)
231
225
  # @param order_by [::String]
232
- # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
233
- #
234
- # 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.
235
- #
236
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
226
+ # 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.
237
227
  # @param page_token [::String]
238
228
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
239
229
  # @param project [::String]