google-cloud-compute-v1 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
  4. data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
  5. data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
  6. data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
  7. data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
  8. data/lib/google/cloud/compute/v1/advice.rb +47 -0
  9. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
  10. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
  11. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
  12. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
  13. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
  14. data/lib/google/cloud/compute/v1/compute_pb.rb +264 -25
  15. data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
  16. data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
  17. data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
  18. data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
  19. data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
  20. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
  21. data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
  22. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
  23. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
  24. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
  25. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
  26. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
  27. data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
  28. data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
  29. data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
  30. data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
  31. data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
  32. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
  33. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
  34. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
  35. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
  36. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
  37. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
  38. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
  39. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
  40. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
  41. data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
  42. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
  43. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
  44. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
  45. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
  46. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
  47. data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
  48. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
  49. data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
  50. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
  51. data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
  52. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
  53. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
  54. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
  55. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
  56. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
  57. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
  58. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
  59. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
  60. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
  61. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
  62. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
  63. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
  64. data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
  65. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
  66. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
  67. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
  68. data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
  69. data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
  70. data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
  71. data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
  72. data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
  73. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
  74. data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
  75. data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
  76. data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
  77. data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
  78. data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
  79. data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
  80. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
  81. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
  82. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
  83. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
  84. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
  85. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
  86. data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
  87. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
  88. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
  89. data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
  90. data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
  91. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
  92. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
  93. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
  94. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
  95. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
  96. data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
  97. data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
  98. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
  99. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
  100. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
  101. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
  102. data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
  103. data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
  104. data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
  105. data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
  106. data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
  107. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
  108. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
  109. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
  110. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
  111. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
  112. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
  113. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
  114. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
  115. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
  116. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
  117. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
  118. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
  119. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
  120. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
  121. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
  122. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
  123. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
  124. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
  125. data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
  126. data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
  127. data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
  128. data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
  129. data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
  130. data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
  131. data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
  132. data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
  133. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
  134. data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
  135. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
  136. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
  137. data/lib/google/cloud/compute/v1/rest.rb +10 -0
  138. data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
  139. data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
  140. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
  141. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
  142. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
  143. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
  144. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
  145. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
  146. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
  147. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
  148. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
  149. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
  150. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
  151. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
  152. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
  153. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
  154. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
  155. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
  156. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
  157. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
  158. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
  159. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
  160. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
  161. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
  162. data/lib/google/cloud/compute/v1/version.rb +1 -1
  163. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
  164. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
  165. data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
  166. data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
  167. data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
  168. data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
  169. data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
  170. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
  171. data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
  172. data/lib/google/cloud/compute/v1.rb +10 -0
  173. data/proto_docs/google/api/client.rb +149 -29
  174. data/proto_docs/google/cloud/compute/v1/compute.rb +43929 -5522
  175. metadata +52 -2
@@ -285,19 +285,97 @@ module Google
285
285
  # the default parameter values, pass an empty Hash as a request object (see above).
286
286
  #
287
287
  # @param filter [::String]
288
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your 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 `:*` 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) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
288
+ # A filter expression that filters resources listed in the response. Most
289
+ # Compute resources support two types of filter expressions:
290
+ # expressions that support regular expressions and expressions that follow
291
+ # API improvement proposal AIP-160.
292
+ # These two types of filter expressions cannot be mixed in one request.
293
+ #
294
+ # If you want to use AIP-160, your expression must specify the field name, an
295
+ # operator, and the value that you want to use for filtering. The value
296
+ # must be a string, a number, or a boolean. The operator
297
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
298
+ #
299
+ # For example, if you are filtering Compute Engine instances, you can
300
+ # exclude instances named `example-instance` by specifying
301
+ # `name != example-instance`.
302
+ #
303
+ # The `:*` comparison can be used to test whether a key has been defined.
304
+ # For example, to find all objects with `owner` label use:
305
+ # ```
306
+ # labels.owner:*
307
+ # ```
308
+ #
309
+ # You can also filter nested fields. For example, you could specify
310
+ # `scheduling.automaticRestart = false` to include instances only
311
+ # if they are not scheduled for automatic restarts. You can use filtering
312
+ # on nested fields to filter based onresource labels.
313
+ #
314
+ # To filter on multiple expressions, provide each separate expression within
315
+ # parentheses. For example:
316
+ # ```
317
+ # (scheduling.automaticRestart = true)
318
+ # (cpuPlatform = "Intel Skylake")
319
+ # ```
320
+ # By default, each expression is an `AND` expression. However, you
321
+ # can include `AND` and `OR` expressions explicitly.
322
+ # For example:
323
+ # ```
324
+ # (cpuPlatform = "Intel Skylake") OR
325
+ # (cpuPlatform = "Intel Broadwell") AND
326
+ # (scheduling.automaticRestart = true)
327
+ # ```
328
+ #
329
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
330
+ # (not equal) operator against a single un-parenthesized expression with or
331
+ # without quotes or against multiple parenthesized expressions. Examples:
332
+ #
333
+ # `fieldname eq unquoted literal`
334
+ # `fieldname eq 'single quoted literal'`
335
+ # `fieldname eq "double quoted literal"`
336
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
337
+ #
338
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
339
+ # The literal value must match the entire field.
340
+ #
341
+ # For example, to filter for instances that do not end with name "instance",
342
+ # you would use `name ne .*instance`.
343
+ #
344
+ # You cannot combine constraints on multiple fields using regular
345
+ # expressions.
289
346
  # @param max_results [::Integer]
290
- # 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`)
347
+ # The maximum number of results per page that should be returned.
348
+ # If the number of available results is larger than `maxResults`,
349
+ # Compute Engine returns a `nextPageToken` that can be used to get
350
+ # the next page of results in subsequent list requests. Acceptable values are
351
+ # `0` to `500`, inclusive. (Default: `500`)
291
352
  # @param order_by [::String]
292
- # 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.
353
+ # Sorts list results by a certain order. By default, results
354
+ # are returned in alphanumerical order based on the resource name.
355
+ #
356
+ # You can also sort results in descending order based on the creation
357
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
358
+ # results based on the `creationTimestamp` field in
359
+ # reverse chronological order (newest result first). Use this to sort
360
+ # resources like operations so that the newest operation is returned first.
361
+ #
362
+ # Currently, only sorting by `name` or
363
+ # `creationTimestamp desc` is supported.
293
364
  # @param page_token [::String]
294
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
365
+ # Specifies a page token to use. Set `pageToken` to the
366
+ # `nextPageToken` returned by a previous list request to get
367
+ # the next page of results.
295
368
  # @param project [::String]
296
369
  # Project ID for this request.
297
370
  # @param region [::String]
298
371
  # The name of the region for this request.
299
372
  # @param return_partial_success [::Boolean]
300
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
373
+ # Opt-in for partial success behavior which provides partial results in case
374
+ # of failure. The default value is false.
375
+ #
376
+ # For example, when partial success behavior is enabled, aggregatedList for a
377
+ # single zone scope either returns all resources in the zone or no resources,
378
+ # with an error code.
301
379
  # @yield [result, operation] Access the result along with the TransportOperation object
302
380
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::DiskType>]
303
381
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -233,7 +233,9 @@ module Google
233
233
  # Service calls
234
234
 
235
235
  ##
236
- # Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
236
+ # Adds existing resource policies to a regional disk. You can only add one
237
+ # policy which will be applied to this disk for scheduling snapshot
238
+ # creation.
237
239
  #
238
240
  # @overload add_resource_policies(request, options = nil)
239
241
  # Pass arguments to `add_resource_policies` via a request object, either of type
@@ -259,7 +261,19 @@ module Google
259
261
  # @param region_disks_add_resource_policies_request_resource [::Google::Cloud::Compute::V1::RegionDisksAddResourcePoliciesRequest, ::Hash]
260
262
  # The body resource for this request
261
263
  # @param request_id [::String]
262
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. 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).
264
+ # An optional request ID to identify requests. Specify a unique request ID so
265
+ # that if you must retry your request, the server will know to ignore the
266
+ # request if it has already been completed.
267
+ #
268
+ # For example, consider a situation where you make an initial request and
269
+ # the request times out. If you make the request again with the same
270
+ # request ID, the server can check if original operation with the same
271
+ # request ID was received, and if so, will ignore the second request. This
272
+ # prevents clients from accidentally creating duplicate commitments.
273
+ #
274
+ # The request ID must be
275
+ # a valid UUID with the exception that zero UUID is not supported
276
+ # (00000000-0000-0000-0000-000000000000).
263
277
  # @yield [result, operation] Access the result along with the TransportOperation object
264
278
  # @yieldparam result [::Gapic::GenericLRO::Operation]
265
279
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -353,7 +367,19 @@ module Google
353
367
  # @param region [::String]
354
368
  # The name of the region for this request.
355
369
  # @param request_id [::String]
356
- # 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).
370
+ # An optional request ID to identify requests. Specify a unique request ID so
371
+ # that if you must retry your request, the server will know to ignore the
372
+ # request if it has already been completed.
373
+ #
374
+ # For example, consider a situation where you make an initial request and
375
+ # the request times out. If you make the request again with the same
376
+ # request ID, the server can check if original operation with the same
377
+ # request ID was received, and if so, will ignore the second request. This
378
+ # prevents clients from accidentally creating duplicate commitments.
379
+ #
380
+ # The request ID must be
381
+ # a valid UUID with the exception that zero UUID is not supported
382
+ # (00000000-0000-0000-0000-000000000000).
357
383
  # @yield [result, operation] Access the result along with the TransportOperation object
358
384
  # @yieldparam result [::Gapic::GenericLRO::Operation]
359
385
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -423,7 +449,10 @@ module Google
423
449
  end
424
450
 
425
451
  ##
426
- # Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
452
+ # Creates a snapshot of a specified persistent disk. For regular snapshot
453
+ # creation, consider using snapshots.insert
454
+ # instead, as that method supports more features, such as creating snapshots
455
+ # in a project different from the source disk project.
427
456
  #
428
457
  # @overload create_snapshot(request, options = nil)
429
458
  # Pass arguments to `create_snapshot` via a request object, either of type
@@ -447,7 +476,19 @@ module Google
447
476
  # @param region [::String]
448
477
  # Name of the region for this request.
449
478
  # @param request_id [::String]
450
- # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
479
+ # An optional request ID to identify requests. Specify a unique request ID so
480
+ # that if you must retry your request, the server will know to ignore the
481
+ # request if it has already been completed.
482
+ #
483
+ # For example, consider a situation where you make an initial request and
484
+ # the request times out. If you make the request again with the same
485
+ # request ID, the server can check if original operation with the same
486
+ # request ID was received, and if so, will ignore the second request. This
487
+ # prevents clients from accidentally creating duplicate commitments.
488
+ #
489
+ # The request ID must be
490
+ # a valid UUID with the exception that zero UUID is not supported
491
+ # (00000000-0000-0000-0000-000000000000).
451
492
  # @param snapshot_resource [::Google::Cloud::Compute::V1::Snapshot, ::Hash]
452
493
  # The body resource for this request
453
494
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -519,7 +560,11 @@ module Google
519
560
  end
520
561
 
521
562
  ##
522
- # Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
563
+ # Deletes the specified regional persistent disk. Deleting a regional disk
564
+ # removes all the replicas of its data permanently and is irreversible.
565
+ # However, deleting a disk does not delete anysnapshots
566
+ # previously made from the disk. You must separatelydelete
567
+ # snapshots.
523
568
  #
524
569
  # @overload delete(request, options = nil)
525
570
  # Pass arguments to `delete` via a request object, either of type
@@ -543,7 +588,19 @@ module Google
543
588
  # @param region [::String]
544
589
  # Name of the region for this request.
545
590
  # @param request_id [::String]
546
- # 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).
591
+ # An optional request ID to identify requests. Specify a unique request ID so
592
+ # that if you must retry your request, the server will know to ignore the
593
+ # request if it has already been completed.
594
+ #
595
+ # For example, consider a situation where you make an initial request and
596
+ # the request times out. If you make the request again with the same
597
+ # request ID, the server can check if original operation with the same
598
+ # request ID was received, and if so, will ignore the second request. This
599
+ # prevents clients from accidentally creating duplicate commitments.
600
+ #
601
+ # The request ID must be
602
+ # a valid UUID with the exception that zero UUID is not supported
603
+ # (00000000-0000-0000-0000-000000000000).
547
604
  # @yield [result, operation] Access the result along with the TransportOperation object
548
605
  # @yieldparam result [::Gapic::GenericLRO::Operation]
549
606
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -695,7 +752,8 @@ module Google
695
752
  end
696
753
 
697
754
  ##
698
- # Gets the access control policy for a resource. May be empty if no such policy or resource exists.
755
+ # Gets the access control policy for a resource. May be empty if no such
756
+ # policy or resource exists.
699
757
  #
700
758
  # @overload get_iam_policy(request, options = nil)
701
759
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -779,7 +837,8 @@ module Google
779
837
  end
780
838
 
781
839
  ##
782
- # Creates a persistent regional disk in the specified project using the data included in the request.
840
+ # Creates a persistent regional disk in the specified project using the data
841
+ # included in the request.
783
842
  #
784
843
  # @overload insert(request, options = nil)
785
844
  # Pass arguments to `insert` via a request object, either of type
@@ -803,7 +862,19 @@ module Google
803
862
  # @param region [::String]
804
863
  # Name of the region for this request.
805
864
  # @param request_id [::String]
806
- # 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).
865
+ # An optional request ID to identify requests. Specify a unique request ID so
866
+ # that if you must retry your request, the server will know to ignore the
867
+ # request if it has already been completed.
868
+ #
869
+ # For example, consider a situation where you make an initial request and
870
+ # the request times out. If you make the request again with the same
871
+ # request ID, the server can check if original operation with the same
872
+ # request ID was received, and if so, will ignore the second request. This
873
+ # prevents clients from accidentally creating duplicate commitments.
874
+ #
875
+ # The request ID must be
876
+ # a valid UUID with the exception that zero UUID is not supported
877
+ # (00000000-0000-0000-0000-000000000000).
807
878
  # @param source_image [::String]
808
879
  # Source image to restore onto a disk. This field is optional.
809
880
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -875,7 +946,8 @@ module Google
875
946
  end
876
947
 
877
948
  ##
878
- # Retrieves the list of persistent disks contained within the specified region.
949
+ # Retrieves the list of persistent disks contained within
950
+ # the specified region.
879
951
  #
880
952
  # @overload list(request, options = nil)
881
953
  # Pass arguments to `list` via a request object, either of type
@@ -893,19 +965,97 @@ module Google
893
965
  # the default parameter values, pass an empty Hash as a request object (see above).
894
966
  #
895
967
  # @param filter [::String]
896
- # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your 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 `:*` 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) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
968
+ # A filter expression that filters resources listed in the response. Most
969
+ # Compute resources support two types of filter expressions:
970
+ # expressions that support regular expressions and expressions that follow
971
+ # API improvement proposal AIP-160.
972
+ # These two types of filter expressions cannot be mixed in one request.
973
+ #
974
+ # If you want to use AIP-160, your expression must specify the field name, an
975
+ # operator, and the value that you want to use for filtering. The value
976
+ # must be a string, a number, or a boolean. The operator
977
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
978
+ #
979
+ # For example, if you are filtering Compute Engine instances, you can
980
+ # exclude instances named `example-instance` by specifying
981
+ # `name != example-instance`.
982
+ #
983
+ # The `:*` comparison can be used to test whether a key has been defined.
984
+ # For example, to find all objects with `owner` label use:
985
+ # ```
986
+ # labels.owner:*
987
+ # ```
988
+ #
989
+ # You can also filter nested fields. For example, you could specify
990
+ # `scheduling.automaticRestart = false` to include instances only
991
+ # if they are not scheduled for automatic restarts. You can use filtering
992
+ # on nested fields to filter based onresource labels.
993
+ #
994
+ # To filter on multiple expressions, provide each separate expression within
995
+ # parentheses. For example:
996
+ # ```
997
+ # (scheduling.automaticRestart = true)
998
+ # (cpuPlatform = "Intel Skylake")
999
+ # ```
1000
+ # By default, each expression is an `AND` expression. However, you
1001
+ # can include `AND` and `OR` expressions explicitly.
1002
+ # For example:
1003
+ # ```
1004
+ # (cpuPlatform = "Intel Skylake") OR
1005
+ # (cpuPlatform = "Intel Broadwell") AND
1006
+ # (scheduling.automaticRestart = true)
1007
+ # ```
1008
+ #
1009
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
1010
+ # (not equal) operator against a single un-parenthesized expression with or
1011
+ # without quotes or against multiple parenthesized expressions. Examples:
1012
+ #
1013
+ # `fieldname eq unquoted literal`
1014
+ # `fieldname eq 'single quoted literal'`
1015
+ # `fieldname eq "double quoted literal"`
1016
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
1017
+ #
1018
+ # The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1019
+ # The literal value must match the entire field.
1020
+ #
1021
+ # For example, to filter for instances that do not end with name "instance",
1022
+ # you would use `name ne .*instance`.
1023
+ #
1024
+ # You cannot combine constraints on multiple fields using regular
1025
+ # expressions.
897
1026
  # @param max_results [::Integer]
898
- # 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`)
1027
+ # The maximum number of results per page that should be returned.
1028
+ # If the number of available results is larger than `maxResults`,
1029
+ # Compute Engine returns a `nextPageToken` that can be used to get
1030
+ # the next page of results in subsequent list requests. Acceptable values are
1031
+ # `0` to `500`, inclusive. (Default: `500`)
899
1032
  # @param order_by [::String]
900
- # 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.
1033
+ # Sorts list results by a certain order. By default, results
1034
+ # are returned in alphanumerical order based on the resource name.
1035
+ #
1036
+ # You can also sort results in descending order based on the creation
1037
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1038
+ # results based on the `creationTimestamp` field in
1039
+ # reverse chronological order (newest result first). Use this to sort
1040
+ # resources like operations so that the newest operation is returned first.
1041
+ #
1042
+ # Currently, only sorting by `name` or
1043
+ # `creationTimestamp desc` is supported.
901
1044
  # @param page_token [::String]
902
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1045
+ # Specifies a page token to use. Set `pageToken` to the
1046
+ # `nextPageToken` returned by a previous list request to get
1047
+ # the next page of results.
903
1048
  # @param project [::String]
904
1049
  # Project ID for this request.
905
1050
  # @param region [::String]
906
1051
  # Name of the region for this request.
907
1052
  # @param return_partial_success [::Boolean]
908
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
1053
+ # Opt-in for partial success behavior which provides partial results in case
1054
+ # of failure. The default value is false.
1055
+ #
1056
+ # For example, when partial success behavior is enabled, aggregatedList for a
1057
+ # single zone scope either returns all resources in the zone or no resources,
1058
+ # with an error code.
909
1059
  # @yield [result, operation] Access the result along with the TransportOperation object
910
1060
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Disk>]
911
1061
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -993,7 +1143,19 @@ module Google
993
1143
  # @param region_disks_remove_resource_policies_request_resource [::Google::Cloud::Compute::V1::RegionDisksRemoveResourcePoliciesRequest, ::Hash]
994
1144
  # The body resource for this request
995
1145
  # @param request_id [::String]
996
- # 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).
1146
+ # An optional request ID to identify requests. Specify a unique request ID so
1147
+ # that if you must retry your request, the server will know to ignore the
1148
+ # request if it has already been completed.
1149
+ #
1150
+ # For example, consider a situation where you make an initial request and
1151
+ # the request times out. If you make the request again with the same
1152
+ # request ID, the server can check if original operation with the same
1153
+ # request ID was received, and if so, will ignore the second request. This
1154
+ # prevents clients from accidentally creating duplicate commitments.
1155
+ #
1156
+ # The request ID must be
1157
+ # a valid UUID with the exception that zero UUID is not supported
1158
+ # (00000000-0000-0000-0000-000000000000).
997
1159
  # @yield [result, operation] Access the result along with the TransportOperation object
998
1160
  # @yieldparam result [::Gapic::GenericLRO::Operation]
999
1161
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1089,7 +1251,19 @@ module Google
1089
1251
  # @param region_disks_resize_request_resource [::Google::Cloud::Compute::V1::RegionDisksResizeRequest, ::Hash]
1090
1252
  # The body resource for this request
1091
1253
  # @param request_id [::String]
1092
- # 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).
1254
+ # An optional request ID to identify requests. Specify a unique request ID so
1255
+ # that if you must retry your request, the server will know to ignore the
1256
+ # request if it has already been completed.
1257
+ #
1258
+ # For example, consider a situation where you make an initial request and
1259
+ # the request times out. If you make the request again with the same
1260
+ # request ID, the server can check if original operation with the same
1261
+ # request ID was received, and if so, will ignore the second request. This
1262
+ # prevents clients from accidentally creating duplicate commitments.
1263
+ #
1264
+ # The request ID must be
1265
+ # a valid UUID with the exception that zero UUID is not supported
1266
+ # (00000000-0000-0000-0000-000000000000).
1093
1267
  # @yield [result, operation] Access the result along with the TransportOperation object
1094
1268
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1095
1269
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1159,7 +1333,8 @@ module Google
1159
1333
  end
1160
1334
 
1161
1335
  ##
1162
- # Sets the access control policy on the specified resource. Replaces any existing policy.
1336
+ # Sets the access control policy on the specified resource.
1337
+ # Replaces any existing policy.
1163
1338
  #
1164
1339
  # @overload set_iam_policy(request, options = nil)
1165
1340
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -1267,7 +1442,19 @@ module Google
1267
1442
  # @param region_set_labels_request_resource [::Google::Cloud::Compute::V1::RegionSetLabelsRequest, ::Hash]
1268
1443
  # The body resource for this request
1269
1444
  # @param request_id [::String]
1270
- # 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).
1445
+ # An optional request ID to identify requests. Specify a unique request ID so
1446
+ # that if you must retry your request, the server will know to ignore the
1447
+ # request if it has already been completed.
1448
+ #
1449
+ # For example, consider a situation where you make an initial request and
1450
+ # the request times out. If you make the request again with the same
1451
+ # request ID, the server can check if original operation with the same
1452
+ # request ID was received, and if so, will ignore the second request. This
1453
+ # prevents clients from accidentally creating duplicate commitments.
1454
+ #
1455
+ # The request ID must be
1456
+ # a valid UUID with the exception that zero UUID is not supported
1457
+ # (00000000-0000-0000-0000-000000000000).
1271
1458
  # @param resource [::String]
1272
1459
  # Name or id of the resource for this request.
1273
1460
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1339,7 +1526,8 @@ module Google
1339
1526
  end
1340
1527
 
1341
1528
  ##
1342
- # Starts asynchronous replication. Must be invoked on the primary disk.
1529
+ # Starts asynchronous replication.
1530
+ # Must be invoked on the primary disk.
1343
1531
  #
1344
1532
  # @overload start_async_replication(request, options = nil)
1345
1533
  # Pass arguments to `start_async_replication` via a request object, either of type
@@ -1365,7 +1553,19 @@ module Google
1365
1553
  # @param region_disks_start_async_replication_request_resource [::Google::Cloud::Compute::V1::RegionDisksStartAsyncReplicationRequest, ::Hash]
1366
1554
  # The body resource for this request
1367
1555
  # @param request_id [::String]
1368
- # 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).
1556
+ # An optional request ID to identify requests. Specify a unique request ID so
1557
+ # that if you must retry your request, the server will know to ignore the
1558
+ # request if it has already been completed.
1559
+ #
1560
+ # For example, consider a situation where you make an initial request and
1561
+ # the request times out. If you make the request again with the same
1562
+ # request ID, the server can check if original operation with the same
1563
+ # request ID was received, and if so, will ignore the second request. This
1564
+ # prevents clients from accidentally creating duplicate commitments.
1565
+ #
1566
+ # The request ID must be
1567
+ # a valid UUID with the exception that zero UUID is not supported
1568
+ # (00000000-0000-0000-0000-000000000000).
1369
1569
  # @yield [result, operation] Access the result along with the TransportOperation object
1370
1570
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1371
1571
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1435,7 +1635,8 @@ module Google
1435
1635
  end
1436
1636
 
1437
1637
  ##
1438
- # Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
1638
+ # Stops asynchronous replication.
1639
+ # Can be invoked either on the primary or on the secondary disk.
1439
1640
  #
1440
1641
  # @overload stop_async_replication(request, options = nil)
1441
1642
  # Pass arguments to `stop_async_replication` via a request object, either of type
@@ -1459,7 +1660,19 @@ module Google
1459
1660
  # @param region [::String]
1460
1661
  # The name of the region for this request.
1461
1662
  # @param request_id [::String]
1462
- # 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).
1663
+ # An optional request ID to identify requests. Specify a unique request ID so
1664
+ # that if you must retry your request, the server will know to ignore the
1665
+ # request if it has already been completed.
1666
+ #
1667
+ # For example, consider a situation where you make an initial request and
1668
+ # the request times out. If you make the request again with the same
1669
+ # request ID, the server can check if original operation with the same
1670
+ # request ID was received, and if so, will ignore the second request. This
1671
+ # prevents clients from accidentally creating duplicate commitments.
1672
+ #
1673
+ # The request ID must be
1674
+ # a valid UUID with the exception that zero UUID is not supported
1675
+ # (00000000-0000-0000-0000-000000000000).
1463
1676
  # @yield [result, operation] Access the result along with the TransportOperation object
1464
1677
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1465
1678
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1529,7 +1742,8 @@ module Google
1529
1742
  end
1530
1743
 
1531
1744
  ##
1532
- # Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
1745
+ # Stops asynchronous replication for a consistency group of disks.
1746
+ # Can be invoked either in the primary or secondary scope.
1533
1747
  #
1534
1748
  # @overload stop_group_async_replication(request, options = nil)
1535
1749
  # Pass arguments to `stop_group_async_replication` via a request object, either of type
@@ -1551,9 +1765,22 @@ module Google
1551
1765
  # @param project [::String]
1552
1766
  # Project ID for this request.
1553
1767
  # @param region [::String]
1554
- # The name of the region for this request. This must be the region of the primary or secondary disks in the consistency group.
1768
+ # The name of the region for this request. This must be the region of the
1769
+ # primary or secondary disks in the consistency group.
1555
1770
  # @param request_id [::String]
1556
- # 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).
1771
+ # An optional request ID to identify requests. Specify a unique request ID so
1772
+ # that if you must retry your request, the server will know to ignore the
1773
+ # request if it has already been completed.
1774
+ #
1775
+ # For example, consider a situation where you make an initial request and
1776
+ # the request times out. If you make the request again with the same
1777
+ # request ID, the server can check if original operation with the same
1778
+ # request ID was received, and if so, will ignore the second request. This
1779
+ # prevents clients from accidentally creating duplicate commitments.
1780
+ #
1781
+ # The request ID must be
1782
+ # a valid UUID with the exception that zero UUID is not supported
1783
+ # (00000000-0000-0000-0000-000000000000).
1557
1784
  # @yield [result, operation] Access the result along with the TransportOperation object
1558
1785
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1559
1786
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1707,7 +1934,8 @@ module Google
1707
1934
  end
1708
1935
 
1709
1936
  ##
1710
- # Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
1937
+ # Update the specified disk with the data included in the request. Update is
1938
+ # performed only on selected fields included as part of update-mask.
1711
1939
  #
1712
1940
  # @overload update(request, options = nil)
1713
1941
  # Pass arguments to `update` via a request object, either of type
@@ -1734,7 +1962,19 @@ module Google
1734
1962
  # @param region [::String]
1735
1963
  # The name of the region for this request.
1736
1964
  # @param request_id [::String]
1737
- # 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).
1965
+ # An optional request ID to identify requests. Specify a unique request ID so
1966
+ # that if you must retry your request, the server will know to ignore the
1967
+ # request if it has already been completed.
1968
+ #
1969
+ # For example, consider a situation where you make an initial request and
1970
+ # the request times out. If you make the request again with the same
1971
+ # request ID, the server can check if original operation with the same
1972
+ # request ID was received, and if so, will ignore the second request. This
1973
+ # prevents clients from accidentally creating duplicate commitments.
1974
+ #
1975
+ # The request ID must be
1976
+ # a valid UUID with the exception that zero UUID is not supported
1977
+ # (00000000-0000-0000-0000-000000000000).
1738
1978
  # @param update_mask [::String]
1739
1979
  # update_mask indicates fields to be updated as part of this request.
1740
1980
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Compute
24
+ module V1
25
+ module RegionHealthAggregationPolicies
26
+ # Credentials for the RegionHealthAggregationPolicies API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/compute",
30
+ "https://www.googleapis.com/auth/cloud-platform"
31
+ ]
32
+ self.env_vars = [
33
+ "COMPUTE_CREDENTIALS",
34
+ "COMPUTE_KEYFILE",
35
+ "GOOGLE_CLOUD_CREDENTIALS",
36
+ "GOOGLE_CLOUD_KEYFILE",
37
+ "GCLOUD_KEYFILE",
38
+ "COMPUTE_CREDENTIALS_JSON",
39
+ "COMPUTE_KEYFILE_JSON",
40
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
41
+ "GOOGLE_CLOUD_KEYFILE_JSON",
42
+ "GCLOUD_KEYFILE_JSON"
43
+ ]
44
+ self.paths = [
45
+ "~/.config/google_cloud/application_default_credentials.json"
46
+ ]
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end