google-cloud-compute-v1 2.8.0 → 2.10.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/README.md +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/compute_pb.rb +32 -1
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +6 -6
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/instant_snapshots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +1208 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/service_stub.rb +618 -0
- data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instant_snapshots.rb +47 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +101 -2
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +60 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instant_snapshots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +1103 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/service_stub.rb +559 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +47 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/rest.rb +2 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1.rb +2 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +806 -152
- metadata +14 -116
@@ -192,7 +192,7 @@ module Google
|
|
192
192
|
# Service calls
|
193
193
|
|
194
194
|
##
|
195
|
-
# Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.
|
195
|
+
# Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
196
196
|
#
|
197
197
|
# @overload aggregated_list(request, options = nil)
|
198
198
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
@@ -222,7 +222,7 @@ module Google
|
|
222
222
|
# @param project [::String]
|
223
223
|
# Name of the project scoping this request.
|
224
224
|
# @param return_partial_success [::Boolean]
|
225
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
225
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
226
226
|
# @param service_project_number [::Integer]
|
227
227
|
# The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
|
228
228
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -676,7 +676,7 @@ module Google
|
|
676
676
|
# @param region [::String]
|
677
677
|
# Name of the region of this request.
|
678
678
|
# @param return_partial_success [::Boolean]
|
679
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
679
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
680
680
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
681
681
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicDelegatedPrefix>]
|
682
682
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -483,7 +483,7 @@ module Google
|
|
483
483
|
# @param region [::String]
|
484
484
|
# Name of the region scoping this request.
|
485
485
|
# @param return_partial_success [::Boolean]
|
486
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
486
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
487
487
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
488
488
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Autoscaler>]
|
489
489
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -668,7 +668,7 @@ module Google
|
|
668
668
|
# @param region [::String]
|
669
669
|
# Name of the region scoping this request.
|
670
670
|
# @param return_partial_success [::Boolean]
|
671
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
671
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
672
672
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
673
673
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendService>]
|
674
674
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -759,7 +759,7 @@ module Google
|
|
759
759
|
# @param region [::String]
|
760
760
|
# Name of the region scoping this request. It must be a string that meets the requirements in RFC1035.
|
761
761
|
# @param return_partial_success [::Boolean]
|
762
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
762
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
763
763
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
764
764
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendService>]
|
765
765
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -186,7 +186,7 @@ module Google
|
|
186
186
|
# Service calls
|
187
187
|
|
188
188
|
##
|
189
|
-
# Retrieves an aggregated list of commitments by region.
|
189
|
+
# Retrieves an aggregated list of commitments by region. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
|
190
190
|
#
|
191
191
|
# @overload aggregated_list(request, options = nil)
|
192
192
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
@@ -216,7 +216,7 @@ module Google
|
|
216
216
|
# @param project [::String]
|
217
217
|
# Project ID for this request.
|
218
218
|
# @param return_partial_success [::Boolean]
|
219
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
219
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
220
220
|
# @param service_project_number [::Integer]
|
221
221
|
# The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
|
222
222
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -484,7 +484,7 @@ module Google
|
|
484
484
|
# @param region [::String]
|
485
485
|
# Name of the region for this request.
|
486
486
|
# @param return_partial_success [::Boolean]
|
487
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
487
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
488
488
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
489
489
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Commitment>]
|
490
490
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -274,7 +274,7 @@ module Google
|
|
274
274
|
# @param region [::String]
|
275
275
|
# The name of the region for this request.
|
276
276
|
# @param return_partial_success [::Boolean]
|
277
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
277
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
278
278
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
279
279
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::DiskType>]
|
280
280
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -877,7 +877,7 @@ module Google
|
|
877
877
|
# @param region [::String]
|
878
878
|
# Name of the region for this request.
|
879
879
|
# @param return_partial_success [::Boolean]
|
880
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
880
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
881
881
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
882
882
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Disk>]
|
883
883
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -481,7 +481,7 @@ module Google
|
|
481
481
|
# @param region [::String]
|
482
482
|
# Name of the region scoping this request.
|
483
483
|
# @param return_partial_success [::Boolean]
|
484
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
484
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
485
485
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
486
486
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::HealthCheckService>]
|
487
487
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -483,7 +483,7 @@ module Google
|
|
483
483
|
# @param region [::String]
|
484
484
|
# Name of the region scoping this request.
|
485
485
|
# @param return_partial_success [::Boolean]
|
486
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
486
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
487
487
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
488
488
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::HealthCheck>]
|
489
489
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -983,7 +983,7 @@ module Google
|
|
983
983
|
# @param region [::String]
|
984
984
|
# Name of the region scoping this request.
|
985
985
|
# @param return_partial_success [::Boolean]
|
986
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
986
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
987
987
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
988
988
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroupManager>]
|
989
989
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1076,7 +1076,7 @@ module Google
|
|
1076
1076
|
# @param region [::String]
|
1077
1077
|
# Name of the region scoping this request. This should conform to RFC1035.
|
1078
1078
|
# @param return_partial_success [::Boolean]
|
1079
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
1079
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
1080
1080
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1081
1081
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceManagedByIgmError>]
|
1082
1082
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1169,7 +1169,7 @@ module Google
|
|
1169
1169
|
# @param region [::String]
|
1170
1170
|
# Name of the region scoping this request.
|
1171
1171
|
# @param return_partial_success [::Boolean]
|
1172
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
1172
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
1173
1173
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1174
1174
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ManagedInstance>]
|
1175
1175
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1262,7 +1262,7 @@ module Google
|
|
1262
1262
|
# @param region [::String]
|
1263
1263
|
# Name of the region scoping this request, should conform to RFC1035.
|
1264
1264
|
# @param return_partial_success [::Boolean]
|
1265
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
1265
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
1266
1266
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1267
1267
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PerInstanceConfig>]
|
1268
1268
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -293,7 +293,7 @@ module Google
|
|
293
293
|
# @param region [::String]
|
294
294
|
# Name of the region scoping this request.
|
295
295
|
# @param return_partial_success [::Boolean]
|
296
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
296
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
297
297
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
298
298
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroup>]
|
299
299
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -388,7 +388,7 @@ module Google
|
|
388
388
|
# @param region_instance_groups_list_instances_request_resource [::Google::Cloud::Compute::V1::RegionInstanceGroupsListInstancesRequest, ::Hash]
|
389
389
|
# The body resource for this request
|
390
390
|
# @param return_partial_success [::Boolean]
|
391
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
391
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
392
392
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
393
393
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceWithNamedPorts>]
|
394
394
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -479,7 +479,7 @@ module Google
|
|
479
479
|
# @param region [::String]
|
480
480
|
# The name of the regions for this request.
|
481
481
|
# @param return_partial_success [::Boolean]
|
482
|
-
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
482
|
+
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
|
483
483
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
484
484
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceTemplate>]
|
485
485
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Compute
|
24
|
+
module V1
|
25
|
+
module RegionInstantSnapshots
|
26
|
+
# Credentials for the RegionInstantSnapshots API.
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
28
|
+
self.scope = [
|
29
|
+
"https://www.googleapis.com/auth/compute",
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
31
|
+
]
|
32
|
+
self.env_vars = [
|
33
|
+
"COMPUTE_CREDENTIALS",
|
34
|
+
"COMPUTE_KEYFILE",
|
35
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
+
"GOOGLE_CLOUD_KEYFILE",
|
37
|
+
"GCLOUD_KEYFILE",
|
38
|
+
"COMPUTE_CREDENTIALS_JSON",
|
39
|
+
"COMPUTE_KEYFILE_JSON",
|
40
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
+
"GCLOUD_KEYFILE_JSON"
|
43
|
+
]
|
44
|
+
self.paths = [
|
45
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
+
]
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|