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.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
- data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
- data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
- data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/advice.rb +47 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +264 -25
- data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
- data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
- data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
- data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
- data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/rest.rb +10 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +10 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +43929 -5522
- metadata +52 -2
|
@@ -240,7 +240,9 @@ module Google
|
|
|
240
240
|
# Service calls
|
|
241
241
|
|
|
242
242
|
##
|
|
243
|
-
# Adds existing resource policies to a disk. You can only add one
|
|
243
|
+
# Adds existing resource policies to a disk. You can only add one
|
|
244
|
+
# policy which will be applied to this disk for scheduling snapshot
|
|
245
|
+
# creation.
|
|
244
246
|
#
|
|
245
247
|
# @overload add_resource_policies(request, options = nil)
|
|
246
248
|
# Pass arguments to `add_resource_policies` via a request object, either of type
|
|
@@ -264,7 +266,19 @@ module Google
|
|
|
264
266
|
# @param project [::String]
|
|
265
267
|
# Project ID for this request.
|
|
266
268
|
# @param request_id [::String]
|
|
267
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
269
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
270
|
+
# that if you must retry your request, the server will know to ignore the
|
|
271
|
+
# request if it has already been completed.
|
|
272
|
+
#
|
|
273
|
+
# For example, consider a situation where you make an initial request and
|
|
274
|
+
# the request times out. If you make the request again with the same
|
|
275
|
+
# request ID, the server can check if original operation with the same
|
|
276
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
277
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
278
|
+
#
|
|
279
|
+
# The request ID must be
|
|
280
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
281
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
268
282
|
# @param zone [::String]
|
|
269
283
|
# The name of the zone for this request.
|
|
270
284
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -336,7 +350,10 @@ module Google
|
|
|
336
350
|
end
|
|
337
351
|
|
|
338
352
|
##
|
|
339
|
-
# Retrieves an aggregated list of persistent disks.
|
|
353
|
+
# Retrieves an aggregated list of persistent disks.
|
|
354
|
+
#
|
|
355
|
+
# To prevent failure, it is recommended that you set the
|
|
356
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
340
357
|
#
|
|
341
358
|
# @overload aggregated_list(request, options = nil)
|
|
342
359
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -354,21 +371,106 @@ module Google
|
|
|
354
371
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
355
372
|
#
|
|
356
373
|
# @param filter [::String]
|
|
357
|
-
# A filter expression that filters resources listed in the response. Most
|
|
374
|
+
# A filter expression that filters resources listed in the response. Most
|
|
375
|
+
# Compute resources support two types of filter expressions:
|
|
376
|
+
# expressions that support regular expressions and expressions that follow
|
|
377
|
+
# API improvement proposal AIP-160.
|
|
378
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
379
|
+
#
|
|
380
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
381
|
+
# operator, and the value that you want to use for filtering. The value
|
|
382
|
+
# must be a string, a number, or a boolean. The operator
|
|
383
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
384
|
+
#
|
|
385
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
386
|
+
# exclude instances named `example-instance` by specifying
|
|
387
|
+
# `name != example-instance`.
|
|
388
|
+
#
|
|
389
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
390
|
+
# For example, to find all objects with `owner` label use:
|
|
391
|
+
# ```
|
|
392
|
+
# labels.owner:*
|
|
393
|
+
# ```
|
|
394
|
+
#
|
|
395
|
+
# You can also filter nested fields. For example, you could specify
|
|
396
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
397
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
398
|
+
# on nested fields to filter based onresource labels.
|
|
399
|
+
#
|
|
400
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
401
|
+
# parentheses. For example:
|
|
402
|
+
# ```
|
|
403
|
+
# (scheduling.automaticRestart = true)
|
|
404
|
+
# (cpuPlatform = "Intel Skylake")
|
|
405
|
+
# ```
|
|
406
|
+
# By default, each expression is an `AND` expression. However, you
|
|
407
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
408
|
+
# For example:
|
|
409
|
+
# ```
|
|
410
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
411
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
412
|
+
# (scheduling.automaticRestart = true)
|
|
413
|
+
# ```
|
|
414
|
+
#
|
|
415
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
416
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
417
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
418
|
+
#
|
|
419
|
+
# `fieldname eq unquoted literal`
|
|
420
|
+
# `fieldname eq 'single quoted literal'`
|
|
421
|
+
# `fieldname eq "double quoted literal"`
|
|
422
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
423
|
+
#
|
|
424
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
425
|
+
# The literal value must match the entire field.
|
|
426
|
+
#
|
|
427
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
428
|
+
# you would use `name ne .*instance`.
|
|
429
|
+
#
|
|
430
|
+
# You cannot combine constraints on multiple fields using regular
|
|
431
|
+
# expressions.
|
|
358
432
|
# @param include_all_scopes [::Boolean]
|
|
359
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
433
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
434
|
+
# global) should be included in the response. For new resource types added
|
|
435
|
+
# after this field, the flag has no effect as new resource types will always
|
|
436
|
+
# include every visible scope for each scope type in response. For resource
|
|
437
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
438
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
439
|
+
# will be included.
|
|
360
440
|
# @param max_results [::Integer]
|
|
361
|
-
# The maximum number of results per page that should be returned.
|
|
441
|
+
# The maximum number of results per page that should be returned.
|
|
442
|
+
# If the number of available results is larger than `maxResults`,
|
|
443
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
444
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
445
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
362
446
|
# @param order_by [::String]
|
|
363
|
-
# Sorts list results by a certain order. By default, results
|
|
447
|
+
# Sorts list results by a certain order. By default, results
|
|
448
|
+
# are returned in alphanumerical order based on the resource name.
|
|
449
|
+
#
|
|
450
|
+
# You can also sort results in descending order based on the creation
|
|
451
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
452
|
+
# results based on the `creationTimestamp` field in
|
|
453
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
454
|
+
# resources like operations so that the newest operation is returned first.
|
|
455
|
+
#
|
|
456
|
+
# Currently, only sorting by `name` or
|
|
457
|
+
# `creationTimestamp desc` is supported.
|
|
364
458
|
# @param page_token [::String]
|
|
365
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
459
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
460
|
+
# `nextPageToken` returned by a previous list request to get
|
|
461
|
+
# the next page of results.
|
|
366
462
|
# @param project [::String]
|
|
367
463
|
# Project ID for this request.
|
|
368
464
|
# @param return_partial_success [::Boolean]
|
|
369
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
465
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
466
|
+
# of failure. The default value is false.
|
|
467
|
+
#
|
|
468
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
469
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
470
|
+
# with an error code.
|
|
370
471
|
# @param service_project_number [::Integer]
|
|
371
|
-
# The Shared VPC service project id or service project number for which
|
|
472
|
+
# The Shared VPC service project id or service project number for which
|
|
473
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
372
474
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
373
475
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::DisksScopedList>]
|
|
374
476
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -452,7 +554,19 @@ module Google
|
|
|
452
554
|
# @param project [::String]
|
|
453
555
|
# Project ID for this request.
|
|
454
556
|
# @param request_id [::String]
|
|
455
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
557
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
558
|
+
# that if you must retry your request, the server will know to ignore the
|
|
559
|
+
# request if it has already been completed.
|
|
560
|
+
#
|
|
561
|
+
# For example, consider a situation where you make an initial request and
|
|
562
|
+
# the request times out. If you make the request again with the same
|
|
563
|
+
# request ID, the server can check if original operation with the same
|
|
564
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
565
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
566
|
+
#
|
|
567
|
+
# The request ID must be
|
|
568
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
569
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
456
570
|
# @param zone [::String]
|
|
457
571
|
# The name of the zone for this request.
|
|
458
572
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -524,7 +638,8 @@ module Google
|
|
|
524
638
|
end
|
|
525
639
|
|
|
526
640
|
##
|
|
527
|
-
# Sets the labels on many disks at once. To learn more about labels, read
|
|
641
|
+
# Sets the labels on many disks at once. To learn more about labels, read theLabeling
|
|
642
|
+
# Resources documentation.
|
|
528
643
|
#
|
|
529
644
|
# @overload bulk_set_labels(request, options = nil)
|
|
530
645
|
# Pass arguments to `bulk_set_labels` via a request object, either of type
|
|
@@ -546,7 +661,19 @@ module Google
|
|
|
546
661
|
# @param project [::String]
|
|
547
662
|
# Project ID for this request.
|
|
548
663
|
# @param request_id [::String]
|
|
549
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
664
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
665
|
+
# that if you must retry your request, the server will know to ignore the
|
|
666
|
+
# request if it has already been completed.
|
|
667
|
+
#
|
|
668
|
+
# For example, consider a situation where you make an initial request and
|
|
669
|
+
# the request times out. If you make the request again with the same
|
|
670
|
+
# request ID, the server can check if original operation with the same
|
|
671
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
672
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
673
|
+
#
|
|
674
|
+
# The request ID must be
|
|
675
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
676
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
550
677
|
# @param resource [::String]
|
|
551
678
|
# Name or id of the resource for this request.
|
|
552
679
|
# @param zone [::String]
|
|
@@ -620,7 +747,10 @@ module Google
|
|
|
620
747
|
end
|
|
621
748
|
|
|
622
749
|
##
|
|
623
|
-
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
|
750
|
+
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
|
751
|
+
# creation, consider using snapshots.insert
|
|
752
|
+
# instead, as that method supports more features, such as creating snapshots
|
|
753
|
+
# in a project different from the source disk project.
|
|
624
754
|
#
|
|
625
755
|
# @overload create_snapshot(request, options = nil)
|
|
626
756
|
# Pass arguments to `create_snapshot` via a request object, either of type
|
|
@@ -640,11 +770,24 @@ module Google
|
|
|
640
770
|
# @param disk [::String]
|
|
641
771
|
# Name of the persistent disk to snapshot.
|
|
642
772
|
# @param guest_flush [::Boolean]
|
|
643
|
-
# [Input Only] Whether to attempt an application consistent snapshot by
|
|
773
|
+
# [Input Only] Whether to attempt an application consistent snapshot by
|
|
774
|
+
# informing the OS to prepare for the snapshot process.
|
|
644
775
|
# @param project [::String]
|
|
645
776
|
# Project ID for this request.
|
|
646
777
|
# @param request_id [::String]
|
|
647
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
778
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
779
|
+
# that if you must retry your request, the server will know to ignore the
|
|
780
|
+
# request if it has already been completed.
|
|
781
|
+
#
|
|
782
|
+
# For example, consider a situation where you make an initial request and
|
|
783
|
+
# the request times out. If you make the request again with the same
|
|
784
|
+
# request ID, the server can check if original operation with the same
|
|
785
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
786
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
787
|
+
#
|
|
788
|
+
# The request ID must be
|
|
789
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
790
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
648
791
|
# @param snapshot_resource [::Google::Cloud::Compute::V1::Snapshot, ::Hash]
|
|
649
792
|
# The body resource for this request
|
|
650
793
|
# @param zone [::String]
|
|
@@ -718,7 +861,11 @@ module Google
|
|
|
718
861
|
end
|
|
719
862
|
|
|
720
863
|
##
|
|
721
|
-
# Deletes the specified persistent disk. Deleting a disk removes its data
|
|
864
|
+
# Deletes the specified persistent disk. Deleting a disk removes its data
|
|
865
|
+
# permanently and is irreversible. However, deleting a disk does not
|
|
866
|
+
# delete any snapshots
|
|
867
|
+
# previously made from the disk. You must separatelydelete
|
|
868
|
+
# snapshots.
|
|
722
869
|
#
|
|
723
870
|
# @overload delete(request, options = nil)
|
|
724
871
|
# Pass arguments to `delete` via a request object, either of type
|
|
@@ -740,7 +887,19 @@ module Google
|
|
|
740
887
|
# @param project [::String]
|
|
741
888
|
# Project ID for this request.
|
|
742
889
|
# @param request_id [::String]
|
|
743
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
890
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
891
|
+
# that if you must retry your request, the server will know to ignore the
|
|
892
|
+
# request if it has already been completed.
|
|
893
|
+
#
|
|
894
|
+
# For example, consider a situation where you make an initial request and
|
|
895
|
+
# the request times out. If you make the request again with the same
|
|
896
|
+
# request ID, the server can check if original operation with the same
|
|
897
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
898
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
899
|
+
#
|
|
900
|
+
# The request ID must be
|
|
901
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
902
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
744
903
|
# @param zone [::String]
|
|
745
904
|
# The name of the zone for this request.
|
|
746
905
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -894,7 +1053,8 @@ module Google
|
|
|
894
1053
|
end
|
|
895
1054
|
|
|
896
1055
|
##
|
|
897
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
1056
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
1057
|
+
# policy or resource exists.
|
|
898
1058
|
#
|
|
899
1059
|
# @overload get_iam_policy(request, options = nil)
|
|
900
1060
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -978,7 +1138,11 @@ module Google
|
|
|
978
1138
|
end
|
|
979
1139
|
|
|
980
1140
|
##
|
|
981
|
-
# Creates a persistent disk in the specified project using the data
|
|
1141
|
+
# Creates a persistent disk in the specified project using the data
|
|
1142
|
+
# in the request. You can create a disk from a source
|
|
1143
|
+
# (sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by
|
|
1144
|
+
# omitting all properties. You can also create a disk that is larger than
|
|
1145
|
+
# the default size by specifying the sizeGb property.
|
|
982
1146
|
#
|
|
983
1147
|
# @overload insert(request, options = nil)
|
|
984
1148
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -1000,7 +1164,19 @@ module Google
|
|
|
1000
1164
|
# @param project [::String]
|
|
1001
1165
|
# Project ID for this request.
|
|
1002
1166
|
# @param request_id [::String]
|
|
1003
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1167
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1168
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1169
|
+
# request if it has already been completed.
|
|
1170
|
+
#
|
|
1171
|
+
# For example, consider a situation where you make an initial request and
|
|
1172
|
+
# the request times out. If you make the request again with the same
|
|
1173
|
+
# request ID, the server can check if original operation with the same
|
|
1174
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1175
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1176
|
+
#
|
|
1177
|
+
# The request ID must be
|
|
1178
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1179
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1004
1180
|
# @param source_image [::String]
|
|
1005
1181
|
# Source image to restore onto a disk. This field is optional.
|
|
1006
1182
|
# @param zone [::String]
|
|
@@ -1074,7 +1250,8 @@ module Google
|
|
|
1074
1250
|
end
|
|
1075
1251
|
|
|
1076
1252
|
##
|
|
1077
|
-
# Retrieves a list of persistent disks contained within
|
|
1253
|
+
# Retrieves a list of persistent disks contained within
|
|
1254
|
+
# the specified zone.
|
|
1078
1255
|
#
|
|
1079
1256
|
# @overload list(request, options = nil)
|
|
1080
1257
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -1092,17 +1269,95 @@ module Google
|
|
|
1092
1269
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1093
1270
|
#
|
|
1094
1271
|
# @param filter [::String]
|
|
1095
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1272
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1273
|
+
# Compute resources support two types of filter expressions:
|
|
1274
|
+
# expressions that support regular expressions and expressions that follow
|
|
1275
|
+
# API improvement proposal AIP-160.
|
|
1276
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1277
|
+
#
|
|
1278
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1279
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1280
|
+
# must be a string, a number, or a boolean. The operator
|
|
1281
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1282
|
+
#
|
|
1283
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1284
|
+
# exclude instances named `example-instance` by specifying
|
|
1285
|
+
# `name != example-instance`.
|
|
1286
|
+
#
|
|
1287
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1288
|
+
# For example, to find all objects with `owner` label use:
|
|
1289
|
+
# ```
|
|
1290
|
+
# labels.owner:*
|
|
1291
|
+
# ```
|
|
1292
|
+
#
|
|
1293
|
+
# You can also filter nested fields. For example, you could specify
|
|
1294
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1295
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1296
|
+
# on nested fields to filter based onresource labels.
|
|
1297
|
+
#
|
|
1298
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1299
|
+
# parentheses. For example:
|
|
1300
|
+
# ```
|
|
1301
|
+
# (scheduling.automaticRestart = true)
|
|
1302
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1303
|
+
# ```
|
|
1304
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1305
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1306
|
+
# For example:
|
|
1307
|
+
# ```
|
|
1308
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1309
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1310
|
+
# (scheduling.automaticRestart = true)
|
|
1311
|
+
# ```
|
|
1312
|
+
#
|
|
1313
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1314
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1315
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1316
|
+
#
|
|
1317
|
+
# `fieldname eq unquoted literal`
|
|
1318
|
+
# `fieldname eq 'single quoted literal'`
|
|
1319
|
+
# `fieldname eq "double quoted literal"`
|
|
1320
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1321
|
+
#
|
|
1322
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1323
|
+
# The literal value must match the entire field.
|
|
1324
|
+
#
|
|
1325
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1326
|
+
# you would use `name ne .*instance`.
|
|
1327
|
+
#
|
|
1328
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1329
|
+
# expressions.
|
|
1096
1330
|
# @param max_results [::Integer]
|
|
1097
|
-
# The maximum number of results per page that should be returned.
|
|
1331
|
+
# The maximum number of results per page that should be returned.
|
|
1332
|
+
# If the number of available results is larger than `maxResults`,
|
|
1333
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1334
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1335
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
1098
1336
|
# @param order_by [::String]
|
|
1099
|
-
# Sorts list results by a certain order. By default, results
|
|
1337
|
+
# Sorts list results by a certain order. By default, results
|
|
1338
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1339
|
+
#
|
|
1340
|
+
# You can also sort results in descending order based on the creation
|
|
1341
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1342
|
+
# results based on the `creationTimestamp` field in
|
|
1343
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1344
|
+
# resources like operations so that the newest operation is returned first.
|
|
1345
|
+
#
|
|
1346
|
+
# Currently, only sorting by `name` or
|
|
1347
|
+
# `creationTimestamp desc` is supported.
|
|
1100
1348
|
# @param page_token [::String]
|
|
1101
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1349
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1350
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1351
|
+
# the next page of results.
|
|
1102
1352
|
# @param project [::String]
|
|
1103
1353
|
# Project ID for this request.
|
|
1104
1354
|
# @param return_partial_success [::Boolean]
|
|
1105
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1355
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1356
|
+
# of failure. The default value is false.
|
|
1357
|
+
#
|
|
1358
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1359
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1360
|
+
# with an error code.
|
|
1106
1361
|
# @param zone [::String]
|
|
1107
1362
|
# The name of the zone for this request.
|
|
1108
1363
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1190,7 +1445,19 @@ module Google
|
|
|
1190
1445
|
# @param project [::String]
|
|
1191
1446
|
# Project ID for this request.
|
|
1192
1447
|
# @param request_id [::String]
|
|
1193
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1448
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1449
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1450
|
+
# request if it has already been completed.
|
|
1451
|
+
#
|
|
1452
|
+
# For example, consider a situation where you make an initial request and
|
|
1453
|
+
# the request times out. If you make the request again with the same
|
|
1454
|
+
# request ID, the server can check if original operation with the same
|
|
1455
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1456
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1457
|
+
#
|
|
1458
|
+
# The request ID must be
|
|
1459
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1460
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1194
1461
|
# @param zone [::String]
|
|
1195
1462
|
# The name of the zone for this request.
|
|
1196
1463
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1262,7 +1529,8 @@ module Google
|
|
|
1262
1529
|
end
|
|
1263
1530
|
|
|
1264
1531
|
##
|
|
1265
|
-
# Resizes the specified persistent disk.
|
|
1532
|
+
# Resizes the specified persistent disk.
|
|
1533
|
+
# You can only increase the size of the disk.
|
|
1266
1534
|
#
|
|
1267
1535
|
# @overload resize(request, options = nil)
|
|
1268
1536
|
# Pass arguments to `resize` via a request object, either of type
|
|
@@ -1286,7 +1554,19 @@ module Google
|
|
|
1286
1554
|
# @param project [::String]
|
|
1287
1555
|
# Project ID for this request.
|
|
1288
1556
|
# @param request_id [::String]
|
|
1289
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1557
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1558
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1559
|
+
# request if it has already been completed.
|
|
1560
|
+
#
|
|
1561
|
+
# For example, consider a situation where you make an initial request and
|
|
1562
|
+
# the request times out. If you make the request again with the same
|
|
1563
|
+
# request ID, the server can check if original operation with the same
|
|
1564
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1565
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1566
|
+
#
|
|
1567
|
+
# The request ID must be
|
|
1568
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1569
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1290
1570
|
# @param zone [::String]
|
|
1291
1571
|
# The name of the zone for this request.
|
|
1292
1572
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1358,7 +1638,8 @@ module Google
|
|
|
1358
1638
|
end
|
|
1359
1639
|
|
|
1360
1640
|
##
|
|
1361
|
-
# Sets the access control policy on the specified resource.
|
|
1641
|
+
# Sets the access control policy on the specified resource.
|
|
1642
|
+
# Replaces any existing policy.
|
|
1362
1643
|
#
|
|
1363
1644
|
# @overload set_iam_policy(request, options = nil)
|
|
1364
1645
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -1442,7 +1723,8 @@ module Google
|
|
|
1442
1723
|
end
|
|
1443
1724
|
|
|
1444
1725
|
##
|
|
1445
|
-
# Sets the labels on a disk. To learn more about labels, read
|
|
1726
|
+
# Sets the labels on a disk. To learn more about labels, read theLabeling
|
|
1727
|
+
# Resources documentation.
|
|
1446
1728
|
#
|
|
1447
1729
|
# @overload set_labels(request, options = nil)
|
|
1448
1730
|
# Pass arguments to `set_labels` via a request object, either of type
|
|
@@ -1462,7 +1744,19 @@ module Google
|
|
|
1462
1744
|
# @param project [::String]
|
|
1463
1745
|
# Project ID for this request.
|
|
1464
1746
|
# @param request_id [::String]
|
|
1465
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1747
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1748
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1749
|
+
# request if it has already been completed.
|
|
1750
|
+
#
|
|
1751
|
+
# For example, consider a situation where you make an initial request and
|
|
1752
|
+
# the request times out. If you make the request again with the same
|
|
1753
|
+
# request ID, the server can check if original operation with the same
|
|
1754
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1755
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1756
|
+
#
|
|
1757
|
+
# The request ID must be
|
|
1758
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1759
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1466
1760
|
# @param resource [::String]
|
|
1467
1761
|
# Name or id of the resource for this request.
|
|
1468
1762
|
# @param zone [::String]
|
|
@@ -1538,7 +1832,8 @@ module Google
|
|
|
1538
1832
|
end
|
|
1539
1833
|
|
|
1540
1834
|
##
|
|
1541
|
-
# Starts asynchronous replication.
|
|
1835
|
+
# Starts asynchronous replication.
|
|
1836
|
+
# Must be invoked on the primary disk.
|
|
1542
1837
|
#
|
|
1543
1838
|
# @overload start_async_replication(request, options = nil)
|
|
1544
1839
|
# Pass arguments to `start_async_replication` via a request object, either of type
|
|
@@ -1562,7 +1857,19 @@ module Google
|
|
|
1562
1857
|
# @param project [::String]
|
|
1563
1858
|
# Project ID for this request.
|
|
1564
1859
|
# @param request_id [::String]
|
|
1565
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1860
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1861
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1862
|
+
# request if it has already been completed.
|
|
1863
|
+
#
|
|
1864
|
+
# For example, consider a situation where you make an initial request and
|
|
1865
|
+
# the request times out. If you make the request again with the same
|
|
1866
|
+
# request ID, the server can check if original operation with the same
|
|
1867
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1868
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1869
|
+
#
|
|
1870
|
+
# The request ID must be
|
|
1871
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1872
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1566
1873
|
# @param zone [::String]
|
|
1567
1874
|
# The name of the zone for this request.
|
|
1568
1875
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1634,7 +1941,8 @@ module Google
|
|
|
1634
1941
|
end
|
|
1635
1942
|
|
|
1636
1943
|
##
|
|
1637
|
-
# Stops asynchronous replication.
|
|
1944
|
+
# Stops asynchronous replication.
|
|
1945
|
+
# Can be invoked either on the primary or on the secondary disk.
|
|
1638
1946
|
#
|
|
1639
1947
|
# @overload stop_async_replication(request, options = nil)
|
|
1640
1948
|
# Pass arguments to `stop_async_replication` via a request object, either of type
|
|
@@ -1656,7 +1964,19 @@ module Google
|
|
|
1656
1964
|
# @param project [::String]
|
|
1657
1965
|
# Project ID for this request.
|
|
1658
1966
|
# @param request_id [::String]
|
|
1659
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1967
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1968
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1969
|
+
# request if it has already been completed.
|
|
1970
|
+
#
|
|
1971
|
+
# For example, consider a situation where you make an initial request and
|
|
1972
|
+
# the request times out. If you make the request again with the same
|
|
1973
|
+
# request ID, the server can check if original operation with the same
|
|
1974
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1975
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1976
|
+
#
|
|
1977
|
+
# The request ID must be
|
|
1978
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1979
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1660
1980
|
# @param zone [::String]
|
|
1661
1981
|
# The name of the zone for this request.
|
|
1662
1982
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1728,7 +2048,8 @@ module Google
|
|
|
1728
2048
|
end
|
|
1729
2049
|
|
|
1730
2050
|
##
|
|
1731
|
-
# Stops asynchronous replication for a consistency group of disks.
|
|
2051
|
+
# Stops asynchronous replication for a consistency group of disks.
|
|
2052
|
+
# Can be invoked either in the primary or secondary scope.
|
|
1732
2053
|
#
|
|
1733
2054
|
# @overload stop_group_async_replication(request, options = nil)
|
|
1734
2055
|
# Pass arguments to `stop_group_async_replication` via a request object, either of type
|
|
@@ -1750,9 +2071,22 @@ module Google
|
|
|
1750
2071
|
# @param project [::String]
|
|
1751
2072
|
# Project ID for this request.
|
|
1752
2073
|
# @param request_id [::String]
|
|
1753
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2074
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2075
|
+
# that if you must retry your request, the server will know to ignore the
|
|
2076
|
+
# request if it has already been completed.
|
|
2077
|
+
#
|
|
2078
|
+
# For example, consider a situation where you make an initial request and
|
|
2079
|
+
# the request times out. If you make the request again with the same
|
|
2080
|
+
# request ID, the server can check if original operation with the same
|
|
2081
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
2082
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
2083
|
+
#
|
|
2084
|
+
# The request ID must be
|
|
2085
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
2086
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1754
2087
|
# @param zone [::String]
|
|
1755
|
-
# The name of the zone for this request. This must be the zone of the primary
|
|
2088
|
+
# The name of the zone for this request. This must be the zone of the primary
|
|
2089
|
+
# or secondary disks in the consistency group.
|
|
1756
2090
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1757
2091
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1758
2092
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1906,7 +2240,9 @@ module Google
|
|
|
1906
2240
|
end
|
|
1907
2241
|
|
|
1908
2242
|
##
|
|
1909
|
-
# Updates the specified disk with the data included in the request.
|
|
2243
|
+
# Updates the specified disk with the data included in the request.
|
|
2244
|
+
# The update is performed only on selected fields included as part
|
|
2245
|
+
# of update-mask.
|
|
1910
2246
|
#
|
|
1911
2247
|
# @overload update(request, options = nil)
|
|
1912
2248
|
# Pass arguments to `update` via a request object, either of type
|
|
@@ -1931,7 +2267,19 @@ module Google
|
|
|
1931
2267
|
# @param project [::String]
|
|
1932
2268
|
# Project ID for this request.
|
|
1933
2269
|
# @param request_id [::String]
|
|
1934
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2270
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2271
|
+
# that if you must retry your request, the server will know to ignore the
|
|
2272
|
+
# request if it has already been completed.
|
|
2273
|
+
#
|
|
2274
|
+
# For example, consider a situation where you make an initial request and
|
|
2275
|
+
# the request times out. If you make the request again with the same
|
|
2276
|
+
# request ID, the server can check if original operation with the same
|
|
2277
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
2278
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
2279
|
+
#
|
|
2280
|
+
# The request ID must be
|
|
2281
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
2282
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1935
2283
|
# @param update_mask [::String]
|
|
1936
2284
|
# update_mask indicates fields to be updated as part of this request.
|
|
1937
2285
|
# @param zone [::String]
|