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
|
@@ -247,7 +247,19 @@ module Google
|
|
|
247
247
|
# @param project [::String]
|
|
248
248
|
# Project ID for this request.
|
|
249
249
|
# @param request_id [::String]
|
|
250
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
250
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
251
|
+
# that if you must retry your request, the server will know to ignore the
|
|
252
|
+
# request if it has already been completed.
|
|
253
|
+
#
|
|
254
|
+
# For example, consider a situation where you make an initial request and
|
|
255
|
+
# the request times out. If you make the request again with the same
|
|
256
|
+
# request ID, the server can check if original operation with the same
|
|
257
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
258
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
259
|
+
#
|
|
260
|
+
# The request ID must be
|
|
261
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
262
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
251
263
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
252
264
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
253
265
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -316,7 +328,8 @@ module Google
|
|
|
316
328
|
end
|
|
317
329
|
|
|
318
330
|
##
|
|
319
|
-
# Disable a service resource (also known as service project) associated with
|
|
331
|
+
# Disable a service resource (also known as service project) associated with
|
|
332
|
+
# this host project.
|
|
320
333
|
#
|
|
321
334
|
# @overload disable_xpn_resource(request, options = nil)
|
|
322
335
|
# Pass arguments to `disable_xpn_resource` via a request object, either of type
|
|
@@ -338,7 +351,19 @@ module Google
|
|
|
338
351
|
# @param projects_disable_xpn_resource_request_resource [::Google::Cloud::Compute::V1::ProjectsDisableXpnResourceRequest, ::Hash]
|
|
339
352
|
# The body resource for this request
|
|
340
353
|
# @param request_id [::String]
|
|
341
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
354
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
355
|
+
# that if you must retry your request, the server will know to ignore the
|
|
356
|
+
# request if it has already been completed.
|
|
357
|
+
#
|
|
358
|
+
# For example, consider a situation where you make an initial request and
|
|
359
|
+
# the request times out. If you make the request again with the same
|
|
360
|
+
# request ID, the server can check if original operation with the same
|
|
361
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
362
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
363
|
+
#
|
|
364
|
+
# The request ID must be
|
|
365
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
366
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
342
367
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
343
368
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
344
369
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -427,7 +452,19 @@ module Google
|
|
|
427
452
|
# @param project [::String]
|
|
428
453
|
# Project ID for this request.
|
|
429
454
|
# @param request_id [::String]
|
|
430
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
455
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
456
|
+
# that if you must retry your request, the server will know to ignore the
|
|
457
|
+
# request if it has already been completed.
|
|
458
|
+
#
|
|
459
|
+
# For example, consider a situation where you make an initial request and
|
|
460
|
+
# the request times out. If you make the request again with the same
|
|
461
|
+
# request ID, the server can check if original operation with the same
|
|
462
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
463
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
464
|
+
#
|
|
465
|
+
# The request ID must be
|
|
466
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
467
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
431
468
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
432
469
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
433
470
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -496,7 +533,9 @@ module Google
|
|
|
496
533
|
end
|
|
497
534
|
|
|
498
535
|
##
|
|
499
|
-
# Enable service resource (a.k.a service project) for a host project, so that
|
|
536
|
+
# Enable service resource (a.k.a service project) for a host project, so that
|
|
537
|
+
# subnets in the host project can be used by instances in the service
|
|
538
|
+
# project.
|
|
500
539
|
#
|
|
501
540
|
# @overload enable_xpn_resource(request, options = nil)
|
|
502
541
|
# Pass arguments to `enable_xpn_resource` via a request object, either of type
|
|
@@ -518,7 +557,19 @@ module Google
|
|
|
518
557
|
# @param projects_enable_xpn_resource_request_resource [::Google::Cloud::Compute::V1::ProjectsEnableXpnResourceRequest, ::Hash]
|
|
519
558
|
# The body resource for this request
|
|
520
559
|
# @param request_id [::String]
|
|
521
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
560
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
561
|
+
# that if you must retry your request, the server will know to ignore the
|
|
562
|
+
# request if it has already been completed.
|
|
563
|
+
#
|
|
564
|
+
# For example, consider a situation where you make an initial request and
|
|
565
|
+
# the request times out. If you make the request again with the same
|
|
566
|
+
# request ID, the server can check if original operation with the same
|
|
567
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
568
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
569
|
+
#
|
|
570
|
+
# The request ID must be
|
|
571
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
572
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
522
573
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
523
574
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
524
575
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -587,7 +638,15 @@ module Google
|
|
|
587
638
|
end
|
|
588
639
|
|
|
589
640
|
##
|
|
590
|
-
# Returns the specified Project resource.
|
|
641
|
+
# Returns the specified Project resource.
|
|
642
|
+
#
|
|
643
|
+
# To decrease latency for this method, you can optionally omit any unneeded
|
|
644
|
+
# information from the response by using a field mask. This practice is
|
|
645
|
+
# especially recommended for unused quota information (the `quotas` field).
|
|
646
|
+
# To exclude one or more fields, set your request's `fields` query parameter
|
|
647
|
+
# to only include the fields you need. For example, to only include the `id`
|
|
648
|
+
# and `selfLink` fields, add the query parameter `?fields=id,selfLink` to
|
|
649
|
+
# your request.
|
|
591
650
|
#
|
|
592
651
|
# @overload get(request, options = nil)
|
|
593
652
|
# Pass arguments to `get` via a request object, either of type
|
|
@@ -665,7 +724,8 @@ module Google
|
|
|
665
724
|
end
|
|
666
725
|
|
|
667
726
|
##
|
|
668
|
-
# Gets the shared VPC host project that this project links to. May be empty
|
|
727
|
+
# Gets the shared VPC host project that this project links to. May be empty
|
|
728
|
+
# if no link exists.
|
|
669
729
|
#
|
|
670
730
|
# @overload get_xpn_host(request, options = nil)
|
|
671
731
|
# Pass arguments to `get_xpn_host` via a request object, either of type
|
|
@@ -743,7 +803,8 @@ module Google
|
|
|
743
803
|
end
|
|
744
804
|
|
|
745
805
|
##
|
|
746
|
-
# Gets service resources (a.k.a service project) associated with this host
|
|
806
|
+
# Gets service resources (a.k.a service project) associated with this host
|
|
807
|
+
# project.
|
|
747
808
|
#
|
|
748
809
|
# @overload get_xpn_resources(request, options = nil)
|
|
749
810
|
# Pass arguments to `get_xpn_resources` via a request object, either of type
|
|
@@ -761,17 +822,95 @@ module Google
|
|
|
761
822
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
762
823
|
#
|
|
763
824
|
# @param filter [::String]
|
|
764
|
-
# A filter expression that filters resources listed in the response. Most
|
|
825
|
+
# A filter expression that filters resources listed in the response. Most
|
|
826
|
+
# Compute resources support two types of filter expressions:
|
|
827
|
+
# expressions that support regular expressions and expressions that follow
|
|
828
|
+
# API improvement proposal AIP-160.
|
|
829
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
830
|
+
#
|
|
831
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
832
|
+
# operator, and the value that you want to use for filtering. The value
|
|
833
|
+
# must be a string, a number, or a boolean. The operator
|
|
834
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
835
|
+
#
|
|
836
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
837
|
+
# exclude instances named `example-instance` by specifying
|
|
838
|
+
# `name != example-instance`.
|
|
839
|
+
#
|
|
840
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
841
|
+
# For example, to find all objects with `owner` label use:
|
|
842
|
+
# ```
|
|
843
|
+
# labels.owner:*
|
|
844
|
+
# ```
|
|
845
|
+
#
|
|
846
|
+
# You can also filter nested fields. For example, you could specify
|
|
847
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
848
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
849
|
+
# on nested fields to filter based onresource labels.
|
|
850
|
+
#
|
|
851
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
852
|
+
# parentheses. For example:
|
|
853
|
+
# ```
|
|
854
|
+
# (scheduling.automaticRestart = true)
|
|
855
|
+
# (cpuPlatform = "Intel Skylake")
|
|
856
|
+
# ```
|
|
857
|
+
# By default, each expression is an `AND` expression. However, you
|
|
858
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
859
|
+
# For example:
|
|
860
|
+
# ```
|
|
861
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
862
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
863
|
+
# (scheduling.automaticRestart = true)
|
|
864
|
+
# ```
|
|
865
|
+
#
|
|
866
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
867
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
868
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
869
|
+
#
|
|
870
|
+
# `fieldname eq unquoted literal`
|
|
871
|
+
# `fieldname eq 'single quoted literal'`
|
|
872
|
+
# `fieldname eq "double quoted literal"`
|
|
873
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
874
|
+
#
|
|
875
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
876
|
+
# The literal value must match the entire field.
|
|
877
|
+
#
|
|
878
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
879
|
+
# you would use `name ne .*instance`.
|
|
880
|
+
#
|
|
881
|
+
# You cannot combine constraints on multiple fields using regular
|
|
882
|
+
# expressions.
|
|
765
883
|
# @param max_results [::Integer]
|
|
766
|
-
# The maximum number of results per page that should be returned.
|
|
884
|
+
# The maximum number of results per page that should be returned.
|
|
885
|
+
# If the number of available results is larger than `maxResults`,
|
|
886
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
887
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
888
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
767
889
|
# @param order_by [::String]
|
|
768
|
-
# Sorts list results by a certain order. By default, results
|
|
890
|
+
# Sorts list results by a certain order. By default, results
|
|
891
|
+
# are returned in alphanumerical order based on the resource name.
|
|
892
|
+
#
|
|
893
|
+
# You can also sort results in descending order based on the creation
|
|
894
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
895
|
+
# results based on the `creationTimestamp` field in
|
|
896
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
897
|
+
# resources like operations so that the newest operation is returned first.
|
|
898
|
+
#
|
|
899
|
+
# Currently, only sorting by `name` or
|
|
900
|
+
# `creationTimestamp desc` is supported.
|
|
769
901
|
# @param page_token [::String]
|
|
770
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
902
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
903
|
+
# `nextPageToken` returned by a previous list request to get
|
|
904
|
+
# the next page of results.
|
|
771
905
|
# @param project [::String]
|
|
772
906
|
# Project ID for this request.
|
|
773
907
|
# @param return_partial_success [::Boolean]
|
|
774
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
908
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
909
|
+
# of failure. The default value is false.
|
|
910
|
+
#
|
|
911
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
912
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
913
|
+
# with an error code.
|
|
775
914
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
776
915
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::XpnResourceId>]
|
|
777
916
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -851,19 +990,97 @@ module Google
|
|
|
851
990
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
852
991
|
#
|
|
853
992
|
# @param filter [::String]
|
|
854
|
-
# A filter expression that filters resources listed in the response. Most
|
|
993
|
+
# A filter expression that filters resources listed in the response. Most
|
|
994
|
+
# Compute resources support two types of filter expressions:
|
|
995
|
+
# expressions that support regular expressions and expressions that follow
|
|
996
|
+
# API improvement proposal AIP-160.
|
|
997
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
998
|
+
#
|
|
999
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1000
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1001
|
+
# must be a string, a number, or a boolean. The operator
|
|
1002
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1003
|
+
#
|
|
1004
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1005
|
+
# exclude instances named `example-instance` by specifying
|
|
1006
|
+
# `name != example-instance`.
|
|
1007
|
+
#
|
|
1008
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1009
|
+
# For example, to find all objects with `owner` label use:
|
|
1010
|
+
# ```
|
|
1011
|
+
# labels.owner:*
|
|
1012
|
+
# ```
|
|
1013
|
+
#
|
|
1014
|
+
# You can also filter nested fields. For example, you could specify
|
|
1015
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1016
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1017
|
+
# on nested fields to filter based onresource labels.
|
|
1018
|
+
#
|
|
1019
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1020
|
+
# parentheses. For example:
|
|
1021
|
+
# ```
|
|
1022
|
+
# (scheduling.automaticRestart = true)
|
|
1023
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1024
|
+
# ```
|
|
1025
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1026
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1027
|
+
# For example:
|
|
1028
|
+
# ```
|
|
1029
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1030
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1031
|
+
# (scheduling.automaticRestart = true)
|
|
1032
|
+
# ```
|
|
1033
|
+
#
|
|
1034
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1035
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1036
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1037
|
+
#
|
|
1038
|
+
# `fieldname eq unquoted literal`
|
|
1039
|
+
# `fieldname eq 'single quoted literal'`
|
|
1040
|
+
# `fieldname eq "double quoted literal"`
|
|
1041
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1042
|
+
#
|
|
1043
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1044
|
+
# The literal value must match the entire field.
|
|
1045
|
+
#
|
|
1046
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1047
|
+
# you would use `name ne .*instance`.
|
|
1048
|
+
#
|
|
1049
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1050
|
+
# expressions.
|
|
855
1051
|
# @param max_results [::Integer]
|
|
856
|
-
# The maximum number of results per page that should be returned.
|
|
1052
|
+
# The maximum number of results per page that should be returned.
|
|
1053
|
+
# If the number of available results is larger than `maxResults`,
|
|
1054
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1055
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1056
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
857
1057
|
# @param order_by [::String]
|
|
858
|
-
# Sorts list results by a certain order. By default, results
|
|
1058
|
+
# Sorts list results by a certain order. By default, results
|
|
1059
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1060
|
+
#
|
|
1061
|
+
# You can also sort results in descending order based on the creation
|
|
1062
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1063
|
+
# results based on the `creationTimestamp` field in
|
|
1064
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1065
|
+
# resources like operations so that the newest operation is returned first.
|
|
1066
|
+
#
|
|
1067
|
+
# Currently, only sorting by `name` or
|
|
1068
|
+
# `creationTimestamp desc` is supported.
|
|
859
1069
|
# @param page_token [::String]
|
|
860
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1070
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1071
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1072
|
+
# the next page of results.
|
|
861
1073
|
# @param project [::String]
|
|
862
1074
|
# Project ID for this request.
|
|
863
1075
|
# @param projects_list_xpn_hosts_request_resource [::Google::Cloud::Compute::V1::ProjectsListXpnHostsRequest, ::Hash]
|
|
864
1076
|
# The body resource for this request
|
|
865
1077
|
# @param return_partial_success [::Boolean]
|
|
866
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1078
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1079
|
+
# of failure. The default value is false.
|
|
1080
|
+
#
|
|
1081
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1082
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1083
|
+
# with an error code.
|
|
867
1084
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
868
1085
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Project>]
|
|
869
1086
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -926,6 +1143,19 @@ module Google
|
|
|
926
1143
|
|
|
927
1144
|
##
|
|
928
1145
|
# Moves a persistent disk from one zone to another.
|
|
1146
|
+
# *Note*: The moveDisk API will be deprecated on September 29, 2026.
|
|
1147
|
+
#
|
|
1148
|
+
# Starting September 29, 2025, you can't use the moveDisk API on new
|
|
1149
|
+
# projects. To move a disk to a different region or zone, follow the steps in
|
|
1150
|
+
# [Change the location of a
|
|
1151
|
+
# disk](https://cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).
|
|
1152
|
+
#
|
|
1153
|
+
# Projects that already use the moveDisk API can continue usage until
|
|
1154
|
+
# September 29, 2026.
|
|
1155
|
+
#
|
|
1156
|
+
# Starting November 1, 2025, API responses will include a warning message in
|
|
1157
|
+
# the response body about the upcoming deprecation. You can skip the message
|
|
1158
|
+
# to continue using the service without interruption.
|
|
929
1159
|
#
|
|
930
1160
|
# @overload move_disk(request, options = nil)
|
|
931
1161
|
# Pass arguments to `move_disk` via a request object, either of type
|
|
@@ -947,7 +1177,19 @@ module Google
|
|
|
947
1177
|
# @param project [::String]
|
|
948
1178
|
# Project ID for this request.
|
|
949
1179
|
# @param request_id [::String]
|
|
950
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1180
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1181
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1182
|
+
# request if it has already been completed.
|
|
1183
|
+
#
|
|
1184
|
+
# For example, consider a situation where you make an initial request and
|
|
1185
|
+
# the request times out. If you make the request again with the same
|
|
1186
|
+
# request ID, the server can check if original operation with the same
|
|
1187
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1188
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1189
|
+
#
|
|
1190
|
+
# The request ID must be
|
|
1191
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1192
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
951
1193
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
952
1194
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
953
1195
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1016,7 +1258,13 @@ module Google
|
|
|
1016
1258
|
end
|
|
1017
1259
|
|
|
1018
1260
|
##
|
|
1019
|
-
# Moves an instance and its attached persistent disks from one zone to
|
|
1261
|
+
# Moves an instance and its attached persistent disks from one zone to
|
|
1262
|
+
# another.
|
|
1263
|
+
# *Note*: Moving VMs or disks by using this method might
|
|
1264
|
+
# cause unexpected behavior. For more information, see the [known
|
|
1265
|
+
# issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
|
|
1266
|
+
# [Deprecated] This method is deprecated. See [moving instance across
|
|
1267
|
+
# zones](/compute/docs/instances/moving-instance-across-zones) instead.
|
|
1020
1268
|
#
|
|
1021
1269
|
# @overload move_instance(request, options = nil)
|
|
1022
1270
|
# Pass arguments to `move_instance` via a request object, either of type
|
|
@@ -1038,7 +1286,19 @@ module Google
|
|
|
1038
1286
|
# @param project [::String]
|
|
1039
1287
|
# Project ID for this request.
|
|
1040
1288
|
# @param request_id [::String]
|
|
1041
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1289
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1290
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1291
|
+
# request if it has already been completed.
|
|
1292
|
+
#
|
|
1293
|
+
# For example, consider a situation where you make an initial request and
|
|
1294
|
+
# the request times out. If you make the request again with the same
|
|
1295
|
+
# request ID, the server can check if original operation with the same
|
|
1296
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1297
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1298
|
+
#
|
|
1299
|
+
# The request ID must be
|
|
1300
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1301
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1042
1302
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1043
1303
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1044
1304
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1107,7 +1367,10 @@ module Google
|
|
|
1107
1367
|
end
|
|
1108
1368
|
|
|
1109
1369
|
##
|
|
1110
|
-
# Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the
|
|
1370
|
+
# Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the
|
|
1371
|
+
# billing account of the project must be subscribed to Cloud Armor
|
|
1372
|
+
# Enterprise. See Subscribing
|
|
1373
|
+
# to Cloud Armor Enterprise for more information.
|
|
1111
1374
|
#
|
|
1112
1375
|
# @overload set_cloud_armor_tier(request, options = nil)
|
|
1113
1376
|
# Pass arguments to `set_cloud_armor_tier` via a request object, either of type
|
|
@@ -1129,7 +1392,19 @@ module Google
|
|
|
1129
1392
|
# @param projects_set_cloud_armor_tier_request_resource [::Google::Cloud::Compute::V1::ProjectsSetCloudArmorTierRequest, ::Hash]
|
|
1130
1393
|
# The body resource for this request
|
|
1131
1394
|
# @param request_id [::String]
|
|
1132
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1395
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1396
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1397
|
+
# request if it has already been completed.
|
|
1398
|
+
#
|
|
1399
|
+
# For example, consider a situation where you make an initial request and
|
|
1400
|
+
# the request times out. If you make the request again with the same
|
|
1401
|
+
# request ID, the server can check if original operation with the same
|
|
1402
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1403
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1404
|
+
#
|
|
1405
|
+
# The request ID must be
|
|
1406
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1407
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1133
1408
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1134
1409
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1135
1410
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1198,7 +1473,8 @@ module Google
|
|
|
1198
1473
|
end
|
|
1199
1474
|
|
|
1200
1475
|
##
|
|
1201
|
-
# Sets metadata common to all instances within the specified project using
|
|
1476
|
+
# Sets metadata common to all instances within the specified project using
|
|
1477
|
+
# the data included in the request.
|
|
1202
1478
|
#
|
|
1203
1479
|
# @overload set_common_instance_metadata(request, options = nil)
|
|
1204
1480
|
# Pass arguments to `set_common_instance_metadata` via a request object, either of type
|
|
@@ -1220,7 +1496,19 @@ module Google
|
|
|
1220
1496
|
# @param project [::String]
|
|
1221
1497
|
# Project ID for this request.
|
|
1222
1498
|
# @param request_id [::String]
|
|
1223
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1499
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1500
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1501
|
+
# request if it has already been completed.
|
|
1502
|
+
#
|
|
1503
|
+
# For example, consider a situation where you make an initial request and
|
|
1504
|
+
# the request times out. If you make the request again with the same
|
|
1505
|
+
# request ID, the server can check if original operation with the same
|
|
1506
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1507
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1508
|
+
#
|
|
1509
|
+
# The request ID must be
|
|
1510
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1511
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1224
1512
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1225
1513
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1226
1514
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1289,7 +1577,9 @@ module Google
|
|
|
1289
1577
|
end
|
|
1290
1578
|
|
|
1291
1579
|
##
|
|
1292
|
-
# Sets the default network tier of the project. The default network tier is
|
|
1580
|
+
# Sets the default network tier of the project. The default network tier is
|
|
1581
|
+
# used when an address/forwardingRule/instance is created without specifying
|
|
1582
|
+
# the network tier field.
|
|
1293
1583
|
#
|
|
1294
1584
|
# @overload set_default_network_tier(request, options = nil)
|
|
1295
1585
|
# Pass arguments to `set_default_network_tier` via a request object, either of type
|
|
@@ -1311,7 +1601,19 @@ module Google
|
|
|
1311
1601
|
# @param projects_set_default_network_tier_request_resource [::Google::Cloud::Compute::V1::ProjectsSetDefaultNetworkTierRequest, ::Hash]
|
|
1312
1602
|
# The body resource for this request
|
|
1313
1603
|
# @param request_id [::String]
|
|
1314
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1604
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1605
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1606
|
+
# request if it has already been completed.
|
|
1607
|
+
#
|
|
1608
|
+
# For example, consider a situation where you make an initial request and
|
|
1609
|
+
# the request times out. If you make the request again with the same
|
|
1610
|
+
# request ID, the server can check if original operation with the same
|
|
1611
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1612
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1613
|
+
#
|
|
1614
|
+
# The request ID must be
|
|
1615
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1616
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1315
1617
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1316
1618
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1317
1619
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1380,7 +1682,9 @@ module Google
|
|
|
1380
1682
|
end
|
|
1381
1683
|
|
|
1382
1684
|
##
|
|
1383
|
-
# Enables the usage export feature and sets
|
|
1685
|
+
# Enables the usage export feature and sets theusage export bucket
|
|
1686
|
+
# where reports are stored. If you provide an empty request body using this
|
|
1687
|
+
# method, the usage export feature will be disabled.
|
|
1384
1688
|
#
|
|
1385
1689
|
# @overload set_usage_export_bucket(request, options = nil)
|
|
1386
1690
|
# Pass arguments to `set_usage_export_bucket` via a request object, either of type
|
|
@@ -1400,7 +1704,19 @@ module Google
|
|
|
1400
1704
|
# @param project [::String]
|
|
1401
1705
|
# Project ID for this request.
|
|
1402
1706
|
# @param request_id [::String]
|
|
1403
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1707
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1708
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1709
|
+
# request if it has already been completed.
|
|
1710
|
+
#
|
|
1711
|
+
# For example, consider a situation where you make an initial request and
|
|
1712
|
+
# the request times out. If you make the request again with the same
|
|
1713
|
+
# request ID, the server can check if original operation with the same
|
|
1714
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1715
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1716
|
+
#
|
|
1717
|
+
# The request ID must be
|
|
1718
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1719
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1404
1720
|
# @param usage_export_location_resource [::Google::Cloud::Compute::V1::UsageExportLocation, ::Hash]
|
|
1405
1721
|
# The body resource for this request
|
|
1406
1722
|
# @yield [result, operation] Access the result along with the TransportOperation object
|