google-cloud-compute-v1 3.4.0 → 3.6.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 +573 -23
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
- 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 +357 -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 +508 -42
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
- 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_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +1145 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +47 -0
- 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_buckets/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +1450 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/service_stub.rb +649 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +47 -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 +1363 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +584 -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 +387 -29
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
- 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 +1363 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +584 -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_manager_resize_requests/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +1002 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/service_stub.rb +400 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.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_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +1146 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +47 -0
- 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_snapshot_settings/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +561 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/service_stub.rb +206 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +47 -0
- data/lib/google/cloud/compute/v1/region_snapshots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +1388 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/service_stub.rb +651 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshots.rb +47 -0
- 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 +17 -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 +245 -13
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
- 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/zone_vm_extension_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +17 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +47064 -5503
- metadata +87 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/compute/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/compute/v1/region_backend_buckets/credentials"
|
|
26
|
+
require "google/cloud/compute/v1/region_backend_buckets/rest/client"
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module Compute
|
|
31
|
+
module V1
|
|
32
|
+
##
|
|
33
|
+
# The RegionBackendBuckets API.
|
|
34
|
+
#
|
|
35
|
+
# To load this service and instantiate a REST client:
|
|
36
|
+
#
|
|
37
|
+
# require "google/cloud/compute/v1/region_backend_buckets/rest"
|
|
38
|
+
# client = ::Google::Cloud::Compute::V1::RegionBackendBuckets::Rest::Client.new
|
|
39
|
+
#
|
|
40
|
+
module RegionBackendBuckets
|
|
41
|
+
# Client for the REST transport
|
|
42
|
+
module Rest
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
51
|
+
require "google/cloud/compute/v1/region_backend_buckets/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "gapic/config"
|
|
20
|
+
require "gapic/config/method"
|
|
21
|
+
|
|
22
|
+
require "google/cloud/compute/v1/version"
|
|
23
|
+
|
|
24
|
+
require "google/cloud/compute/v1/region_backend_buckets/credentials"
|
|
25
|
+
require "google/cloud/compute/v1/region_backend_buckets/rest"
|
|
26
|
+
|
|
27
|
+
module Google
|
|
28
|
+
module Cloud
|
|
29
|
+
module Compute
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# The RegionBackendBuckets API.
|
|
33
|
+
#
|
|
34
|
+
# @example Load this service and instantiate a REST client
|
|
35
|
+
#
|
|
36
|
+
# require "google/cloud/compute/v1/region_backend_buckets/rest"
|
|
37
|
+
# client = ::Google::Cloud::Compute::V1::RegionBackendBuckets::Rest::Client.new
|
|
38
|
+
#
|
|
39
|
+
module RegionBackendBuckets
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
helper_path = ::File.join __dir__, "region_backend_buckets", "helpers.rb"
|
|
47
|
+
require "google/cloud/compute/v1/region_backend_buckets/helpers" if ::File.file? helper_path
|
|
@@ -250,7 +250,19 @@ module Google
|
|
|
250
250
|
# @param region [::String]
|
|
251
251
|
# Name of the region scoping this request.
|
|
252
252
|
# @param request_id [::String]
|
|
253
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
253
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
254
|
+
# that if you must retry your request, the server will know to ignore the
|
|
255
|
+
# request if it has already been completed.
|
|
256
|
+
#
|
|
257
|
+
# For example, consider a situation where you make an initial request and
|
|
258
|
+
# the request times out. If you make the request again with the same
|
|
259
|
+
# request ID, the server can check if original operation with the same
|
|
260
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
261
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
262
|
+
#
|
|
263
|
+
# The request ID must be
|
|
264
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
265
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
254
266
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
255
267
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
256
268
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -402,7 +414,8 @@ module Google
|
|
|
402
414
|
end
|
|
403
415
|
|
|
404
416
|
##
|
|
405
|
-
# Gets the most recent health check results for this
|
|
417
|
+
# Gets the most recent health check results for this
|
|
418
|
+
# regional BackendService.
|
|
406
419
|
#
|
|
407
420
|
# @overload get_health(request, options = nil)
|
|
408
421
|
# Pass arguments to `get_health` via a request object, either of type
|
|
@@ -485,7 +498,8 @@ module Google
|
|
|
485
498
|
end
|
|
486
499
|
|
|
487
500
|
##
|
|
488
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
501
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
502
|
+
# policy or resource exists.
|
|
489
503
|
#
|
|
490
504
|
# @overload get_iam_policy(request, options = nil)
|
|
491
505
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -569,7 +583,9 @@ module Google
|
|
|
569
583
|
end
|
|
570
584
|
|
|
571
585
|
##
|
|
572
|
-
# Creates a regional BackendService resource in the specified project using
|
|
586
|
+
# Creates a regional BackendService resource in the specified project using
|
|
587
|
+
# the data included in the request. For more information, see
|
|
588
|
+
# Backend services overview.
|
|
573
589
|
#
|
|
574
590
|
# @overload insert(request, options = nil)
|
|
575
591
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -593,7 +609,19 @@ module Google
|
|
|
593
609
|
# @param region [::String]
|
|
594
610
|
# Name of the region scoping this request.
|
|
595
611
|
# @param request_id [::String]
|
|
596
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
612
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
613
|
+
# that if you must retry your request, the server will know to ignore the
|
|
614
|
+
# request if it has already been completed.
|
|
615
|
+
#
|
|
616
|
+
# For example, consider a situation where you make an initial request and
|
|
617
|
+
# the request times out. If you make the request again with the same
|
|
618
|
+
# request ID, the server can check if original operation with the same
|
|
619
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
620
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
621
|
+
#
|
|
622
|
+
# The request ID must be
|
|
623
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
624
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
597
625
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
598
626
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
599
627
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -663,7 +691,8 @@ module Google
|
|
|
663
691
|
end
|
|
664
692
|
|
|
665
693
|
##
|
|
666
|
-
# Retrieves the list of regional BackendService resources available to the
|
|
694
|
+
# Retrieves the list of regional BackendService resources available to the
|
|
695
|
+
# specified project in the given region.
|
|
667
696
|
#
|
|
668
697
|
# @overload list(request, options = nil)
|
|
669
698
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -681,19 +710,97 @@ module Google
|
|
|
681
710
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
682
711
|
#
|
|
683
712
|
# @param filter [::String]
|
|
684
|
-
# A filter expression that filters resources listed in the response. Most
|
|
713
|
+
# A filter expression that filters resources listed in the response. Most
|
|
714
|
+
# Compute resources support two types of filter expressions:
|
|
715
|
+
# expressions that support regular expressions and expressions that follow
|
|
716
|
+
# API improvement proposal AIP-160.
|
|
717
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
718
|
+
#
|
|
719
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
720
|
+
# operator, and the value that you want to use for filtering. The value
|
|
721
|
+
# must be a string, a number, or a boolean. The operator
|
|
722
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
723
|
+
#
|
|
724
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
725
|
+
# exclude instances named `example-instance` by specifying
|
|
726
|
+
# `name != example-instance`.
|
|
727
|
+
#
|
|
728
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
729
|
+
# For example, to find all objects with `owner` label use:
|
|
730
|
+
# ```
|
|
731
|
+
# labels.owner:*
|
|
732
|
+
# ```
|
|
733
|
+
#
|
|
734
|
+
# You can also filter nested fields. For example, you could specify
|
|
735
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
736
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
737
|
+
# on nested fields to filter based onresource labels.
|
|
738
|
+
#
|
|
739
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
740
|
+
# parentheses. For example:
|
|
741
|
+
# ```
|
|
742
|
+
# (scheduling.automaticRestart = true)
|
|
743
|
+
# (cpuPlatform = "Intel Skylake")
|
|
744
|
+
# ```
|
|
745
|
+
# By default, each expression is an `AND` expression. However, you
|
|
746
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
747
|
+
# For example:
|
|
748
|
+
# ```
|
|
749
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
750
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
751
|
+
# (scheduling.automaticRestart = true)
|
|
752
|
+
# ```
|
|
753
|
+
#
|
|
754
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
755
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
756
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
757
|
+
#
|
|
758
|
+
# `fieldname eq unquoted literal`
|
|
759
|
+
# `fieldname eq 'single quoted literal'`
|
|
760
|
+
# `fieldname eq "double quoted literal"`
|
|
761
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
762
|
+
#
|
|
763
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
764
|
+
# The literal value must match the entire field.
|
|
765
|
+
#
|
|
766
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
767
|
+
# you would use `name ne .*instance`.
|
|
768
|
+
#
|
|
769
|
+
# You cannot combine constraints on multiple fields using regular
|
|
770
|
+
# expressions.
|
|
685
771
|
# @param max_results [::Integer]
|
|
686
|
-
# The maximum number of results per page that should be returned.
|
|
772
|
+
# The maximum number of results per page that should be returned.
|
|
773
|
+
# If the number of available results is larger than `maxResults`,
|
|
774
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
775
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
776
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
687
777
|
# @param order_by [::String]
|
|
688
|
-
# Sorts list results by a certain order. By default, results
|
|
778
|
+
# Sorts list results by a certain order. By default, results
|
|
779
|
+
# are returned in alphanumerical order based on the resource name.
|
|
780
|
+
#
|
|
781
|
+
# You can also sort results in descending order based on the creation
|
|
782
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
783
|
+
# results based on the `creationTimestamp` field in
|
|
784
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
785
|
+
# resources like operations so that the newest operation is returned first.
|
|
786
|
+
#
|
|
787
|
+
# Currently, only sorting by `name` or
|
|
788
|
+
# `creationTimestamp desc` is supported.
|
|
689
789
|
# @param page_token [::String]
|
|
690
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
790
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
791
|
+
# `nextPageToken` returned by a previous list request to get
|
|
792
|
+
# the next page of results.
|
|
691
793
|
# @param project [::String]
|
|
692
794
|
# Project ID for this request.
|
|
693
795
|
# @param region [::String]
|
|
694
796
|
# Name of the region scoping this request.
|
|
695
797
|
# @param return_partial_success [::Boolean]
|
|
696
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
798
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
799
|
+
# of failure. The default value is false.
|
|
800
|
+
#
|
|
801
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
802
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
803
|
+
# with an error code.
|
|
697
804
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
698
805
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendService>]
|
|
699
806
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -755,7 +862,8 @@ module Google
|
|
|
755
862
|
end
|
|
756
863
|
|
|
757
864
|
##
|
|
758
|
-
# Retrieves a list of all usable backend services in the specified project in
|
|
865
|
+
# Retrieves a list of all usable backend services in the specified project in
|
|
866
|
+
# the given region.
|
|
759
867
|
#
|
|
760
868
|
# @overload list_usable(request, options = nil)
|
|
761
869
|
# Pass arguments to `list_usable` via a request object, either of type
|
|
@@ -773,19 +881,98 @@ module Google
|
|
|
773
881
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
774
882
|
#
|
|
775
883
|
# @param filter [::String]
|
|
776
|
-
# A filter expression that filters resources listed in the response. Most
|
|
884
|
+
# A filter expression that filters resources listed in the response. Most
|
|
885
|
+
# Compute resources support two types of filter expressions:
|
|
886
|
+
# expressions that support regular expressions and expressions that follow
|
|
887
|
+
# API improvement proposal AIP-160.
|
|
888
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
889
|
+
#
|
|
890
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
891
|
+
# operator, and the value that you want to use for filtering. The value
|
|
892
|
+
# must be a string, a number, or a boolean. The operator
|
|
893
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
894
|
+
#
|
|
895
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
896
|
+
# exclude instances named `example-instance` by specifying
|
|
897
|
+
# `name != example-instance`.
|
|
898
|
+
#
|
|
899
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
900
|
+
# For example, to find all objects with `owner` label use:
|
|
901
|
+
# ```
|
|
902
|
+
# labels.owner:*
|
|
903
|
+
# ```
|
|
904
|
+
#
|
|
905
|
+
# You can also filter nested fields. For example, you could specify
|
|
906
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
907
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
908
|
+
# on nested fields to filter based onresource labels.
|
|
909
|
+
#
|
|
910
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
911
|
+
# parentheses. For example:
|
|
912
|
+
# ```
|
|
913
|
+
# (scheduling.automaticRestart = true)
|
|
914
|
+
# (cpuPlatform = "Intel Skylake")
|
|
915
|
+
# ```
|
|
916
|
+
# By default, each expression is an `AND` expression. However, you
|
|
917
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
918
|
+
# For example:
|
|
919
|
+
# ```
|
|
920
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
921
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
922
|
+
# (scheduling.automaticRestart = true)
|
|
923
|
+
# ```
|
|
924
|
+
#
|
|
925
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
926
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
927
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
928
|
+
#
|
|
929
|
+
# `fieldname eq unquoted literal`
|
|
930
|
+
# `fieldname eq 'single quoted literal'`
|
|
931
|
+
# `fieldname eq "double quoted literal"`
|
|
932
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
933
|
+
#
|
|
934
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
935
|
+
# The literal value must match the entire field.
|
|
936
|
+
#
|
|
937
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
938
|
+
# you would use `name ne .*instance`.
|
|
939
|
+
#
|
|
940
|
+
# You cannot combine constraints on multiple fields using regular
|
|
941
|
+
# expressions.
|
|
777
942
|
# @param max_results [::Integer]
|
|
778
|
-
# The maximum number of results per page that should be returned.
|
|
943
|
+
# The maximum number of results per page that should be returned.
|
|
944
|
+
# If the number of available results is larger than `maxResults`,
|
|
945
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
946
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
947
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
779
948
|
# @param order_by [::String]
|
|
780
|
-
# Sorts list results by a certain order. By default, results
|
|
949
|
+
# Sorts list results by a certain order. By default, results
|
|
950
|
+
# are returned in alphanumerical order based on the resource name.
|
|
951
|
+
#
|
|
952
|
+
# You can also sort results in descending order based on the creation
|
|
953
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
954
|
+
# results based on the `creationTimestamp` field in
|
|
955
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
956
|
+
# resources like operations so that the newest operation is returned first.
|
|
957
|
+
#
|
|
958
|
+
# Currently, only sorting by `name` or
|
|
959
|
+
# `creationTimestamp desc` is supported.
|
|
781
960
|
# @param page_token [::String]
|
|
782
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
961
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
962
|
+
# `nextPageToken` returned by a previous list request to get
|
|
963
|
+
# the next page of results.
|
|
783
964
|
# @param project [::String]
|
|
784
965
|
# Project ID for this request.
|
|
785
966
|
# @param region [::String]
|
|
786
|
-
# Name of the region scoping this request.
|
|
967
|
+
# Name of the region scoping this request.
|
|
968
|
+
# It must be a string that meets the requirements in RFC1035.
|
|
787
969
|
# @param return_partial_success [::Boolean]
|
|
788
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
970
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
971
|
+
# of failure. The default value is false.
|
|
972
|
+
#
|
|
973
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
974
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
975
|
+
# with an error code.
|
|
789
976
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
790
977
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendService>]
|
|
791
978
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -847,7 +1034,11 @@ module Google
|
|
|
847
1034
|
end
|
|
848
1035
|
|
|
849
1036
|
##
|
|
850
|
-
# Updates the specified regional BackendService resource with the data
|
|
1037
|
+
# Updates the specified regional BackendService resource with the data
|
|
1038
|
+
# included in the request. For more information, see
|
|
1039
|
+
# Understanding backend services This method
|
|
1040
|
+
# supports PATCH semantics and uses the JSON merge
|
|
1041
|
+
# patch format and processing rules.
|
|
851
1042
|
#
|
|
852
1043
|
# @overload patch(request, options = nil)
|
|
853
1044
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -873,7 +1064,19 @@ module Google
|
|
|
873
1064
|
# @param region [::String]
|
|
874
1065
|
# Name of the region scoping this request.
|
|
875
1066
|
# @param request_id [::String]
|
|
876
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1067
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1068
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1069
|
+
# request if it has already been completed.
|
|
1070
|
+
#
|
|
1071
|
+
# For example, consider a situation where you make an initial request and
|
|
1072
|
+
# the request times out. If you make the request again with the same
|
|
1073
|
+
# request ID, the server can check if original operation with the same
|
|
1074
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1075
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1076
|
+
#
|
|
1077
|
+
# The request ID must be
|
|
1078
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1079
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
877
1080
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
878
1081
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
879
1082
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -943,7 +1146,8 @@ module Google
|
|
|
943
1146
|
end
|
|
944
1147
|
|
|
945
1148
|
##
|
|
946
|
-
# Sets the access control policy on the specified resource.
|
|
1149
|
+
# Sets the access control policy on the specified resource.
|
|
1150
|
+
# Replaces any existing policy.
|
|
947
1151
|
#
|
|
948
1152
|
# @overload set_iam_policy(request, options = nil)
|
|
949
1153
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -1027,7 +1231,9 @@ module Google
|
|
|
1027
1231
|
end
|
|
1028
1232
|
|
|
1029
1233
|
##
|
|
1030
|
-
# Sets the Google Cloud Armor security policy for the specified backend
|
|
1234
|
+
# Sets the Google Cloud Armor security policy for the specified backend
|
|
1235
|
+
# service. For more information, seeGoogle
|
|
1236
|
+
# Cloud Armor Overview
|
|
1031
1237
|
#
|
|
1032
1238
|
# @overload set_security_policy(request, options = nil)
|
|
1033
1239
|
# Pass arguments to `set_security_policy` via a request object, either of type
|
|
@@ -1045,13 +1251,26 @@ module Google
|
|
|
1045
1251
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1046
1252
|
#
|
|
1047
1253
|
# @param backend_service [::String]
|
|
1048
|
-
# Name of the BackendService resource to which the security policy should be
|
|
1254
|
+
# Name of the BackendService resource to which the security policy should be
|
|
1255
|
+
# set. The name should conform to RFC1035.
|
|
1049
1256
|
# @param project [::String]
|
|
1050
1257
|
# Project ID for this request.
|
|
1051
1258
|
# @param region [::String]
|
|
1052
1259
|
# Name of the region scoping this request.
|
|
1053
1260
|
# @param request_id [::String]
|
|
1054
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1261
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1262
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1263
|
+
# request if it has already been completed.
|
|
1264
|
+
#
|
|
1265
|
+
# For example, consider a situation where you make an initial request and
|
|
1266
|
+
# the request times out. If you make the request again with the same
|
|
1267
|
+
# request ID, the server can check if original operation with the same
|
|
1268
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1269
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1270
|
+
#
|
|
1271
|
+
# The request ID must be
|
|
1272
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1273
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1055
1274
|
# @param security_policy_reference_resource [::Google::Cloud::Compute::V1::SecurityPolicyReference, ::Hash]
|
|
1056
1275
|
# The body resource for this request
|
|
1057
1276
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1207,7 +1426,10 @@ module Google
|
|
|
1207
1426
|
end
|
|
1208
1427
|
|
|
1209
1428
|
##
|
|
1210
|
-
# Updates the specified regional BackendService resource with the data
|
|
1429
|
+
# Updates the specified regional BackendService resource with the data
|
|
1430
|
+
# included in the request. For more information,
|
|
1431
|
+
# see
|
|
1432
|
+
# Backend services overview.
|
|
1211
1433
|
#
|
|
1212
1434
|
# @overload update(request, options = nil)
|
|
1213
1435
|
# Pass arguments to `update` via a request object, either of type
|
|
@@ -1233,7 +1455,19 @@ module Google
|
|
|
1233
1455
|
# @param region [::String]
|
|
1234
1456
|
# Name of the region scoping this request.
|
|
1235
1457
|
# @param request_id [::String]
|
|
1236
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1458
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1459
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1460
|
+
# request if it has already been completed.
|
|
1461
|
+
#
|
|
1462
|
+
# For example, consider a situation where you make an initial request and
|
|
1463
|
+
# the request times out. If you make the request again with the same
|
|
1464
|
+
# request ID, the server can check if original operation with the same
|
|
1465
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1466
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1467
|
+
#
|
|
1468
|
+
# The request ID must be
|
|
1469
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1470
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1237
1471
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1238
1472
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1239
1473
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|