google-cloud-compute-v1 2.9.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +3 -3
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +3 -3
  4. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +3 -3
  5. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +1 -1
  6. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +4 -4
  7. data/lib/google/cloud/compute/v1/compute_pb.rb +32 -1
  8. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +3 -3
  9. data/lib/google/cloud/compute/v1/disks/rest/client.rb +3 -3
  10. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
  11. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
  12. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
  13. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +3 -3
  14. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
  15. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
  16. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -2
  17. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +3 -3
  18. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
  19. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +1 -1
  20. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +3 -3
  21. data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
  22. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +6 -6
  23. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +4 -4
  24. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +3 -3
  25. data/lib/google/cloud/compute/v1/instances/rest/client.rb +4 -4
  26. data/lib/google/cloud/compute/v1/instant_snapshots/credentials.rb +52 -0
  27. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +1208 -0
  28. data/lib/google/cloud/compute/v1/instant_snapshots/rest/service_stub.rb +618 -0
  29. data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +51 -0
  30. data/lib/google/cloud/compute/v1/instant_snapshots.rb +47 -0
  31. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +3 -3
  32. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
  33. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +1 -1
  34. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
  35. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
  36. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
  37. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
  38. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +3 -3
  39. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
  40. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +4 -4
  41. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
  42. data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
  43. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +4 -4
  44. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +3 -3
  45. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
  46. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +3 -3
  47. data/lib/google/cloud/compute/v1/projects/rest/client.rb +101 -2
  48. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +60 -0
  49. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
  50. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +3 -3
  51. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
  52. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
  53. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
  54. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
  55. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
  56. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
  57. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
  58. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +4 -4
  59. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
  60. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +1 -1
  61. data/lib/google/cloud/compute/v1/region_instant_snapshots/credentials.rb +52 -0
  62. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +1103 -0
  63. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/service_stub.rb +559 -0
  64. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +51 -0
  65. data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +47 -0
  66. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -2
  67. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
  68. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
  69. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
  70. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
  71. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
  72. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
  73. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
  74. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
  75. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +1 -1
  76. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
  77. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +1 -1
  78. data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
  79. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +3 -3
  80. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +3 -3
  81. data/lib/google/cloud/compute/v1/rest.rb +2 -0
  82. data/lib/google/cloud/compute/v1/routers/rest/client.rb +4 -4
  83. data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
  84. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +4 -4
  85. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +3 -3
  86. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
  87. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
  88. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +4 -4
  89. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +4 -4
  90. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
  91. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
  92. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
  93. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
  94. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
  95. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
  96. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
  97. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
  98. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
  99. data/lib/google/cloud/compute/v1/version.rb +1 -1
  100. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
  101. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
  102. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
  103. data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
  104. data/lib/google/cloud/compute/v1.rb +2 -0
  105. data/proto_docs/google/cloud/compute/v1/compute.rb +806 -152
  106. metadata +12 -2
@@ -167,7 +167,7 @@ module Google
167
167
  # Service calls
168
168
 
169
169
  ##
170
- # Retrieves an aggregated list of disk types.
170
+ # Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
171
171
  #
172
172
  # @overload aggregated_list(request, options = nil)
173
173
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -197,7 +197,7 @@ module Google
197
197
  # @param project [::String]
198
198
  # Project ID for this request.
199
199
  # @param return_partial_success [::Boolean]
200
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
200
+ # 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.
201
201
  # @param service_project_number [::Integer]
202
202
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
203
203
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -370,7 +370,7 @@ module Google
370
370
  # @param project [::String]
371
371
  # Project ID for this request.
372
372
  # @param return_partial_success [::Boolean]
373
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
373
+ # 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.
374
374
  # @param zone [::String]
375
375
  # The name of the zone for this request.
376
376
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -310,7 +310,7 @@ module Google
310
310
  end
311
311
 
312
312
  ##
313
- # Retrieves an aggregated list of persistent disks.
313
+ # Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
314
314
  #
315
315
  # @overload aggregated_list(request, options = nil)
316
316
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -340,7 +340,7 @@ module Google
340
340
  # @param project [::String]
341
341
  # Project ID for this request.
342
342
  # @param return_partial_success [::Boolean]
343
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
343
+ # 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.
344
344
  # @param service_project_number [::Integer]
345
345
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
346
346
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -975,7 +975,7 @@ module Google
975
975
  # @param project [::String]
976
976
  # Project ID for this request.
977
977
  # @param return_partial_success [::Boolean]
978
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
978
+ # 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.
979
979
  # @param zone [::String]
980
980
  # The name of the zone for this request.
981
981
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -473,7 +473,7 @@ module Google
473
473
  # @param project [::String]
474
474
  # Project ID for this request.
475
475
  # @param return_partial_success [::Boolean]
476
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
476
+ # 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.
477
477
  # @yield [result, operation] Access the result along with the TransportOperation object
478
478
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ExternalVpnGateway>]
479
479
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1009,7 +1009,7 @@ module Google
1009
1009
  # @param parent_id [::String]
1010
1010
  # Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization.
1011
1011
  # @param return_partial_success [::Boolean]
1012
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1012
+ # 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.
1013
1013
  # @yield [result, operation] Access the result along with the TransportOperation object
1014
1014
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::FirewallPolicy>]
1015
1015
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -473,7 +473,7 @@ module Google
473
473
  # @param project [::String]
474
474
  # Project ID for this request.
475
475
  # @param return_partial_success [::Boolean]
476
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
476
+ # 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.
477
477
  # @yield [result, operation] Access the result along with the TransportOperation object
478
478
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Firewall>]
479
479
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -192,7 +192,7 @@ module Google
192
192
  # Service calls
193
193
 
194
194
  ##
195
- # Retrieves an aggregated list of forwarding rules.
195
+ # Retrieves an aggregated list of forwarding rules. 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
  # Project ID for 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
@@ -583,7 +583,7 @@ module Google
583
583
  # @param region [::String]
584
584
  # Name of the region scoping this request.
585
585
  # @param return_partial_success [::Boolean]
586
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
586
+ # 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.
587
587
  # @yield [result, operation] Access the result along with the TransportOperation object
588
588
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ForwardingRule>]
589
589
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -473,7 +473,7 @@ module Google
473
473
  # @param project [::String]
474
474
  # Project ID for this request.
475
475
  # @param return_partial_success [::Boolean]
476
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
476
+ # 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.
477
477
  # @yield [result, operation] Access the result along with the TransportOperation object
478
478
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Address>]
479
479
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -475,7 +475,7 @@ module Google
475
475
  # @param project [::String]
476
476
  # Project ID for this request.
477
477
  # @param return_partial_success [::Boolean]
478
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
478
+ # 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.
479
479
  # @yield [result, operation] Access the result along with the TransportOperation object
480
480
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ForwardingRule>]
481
481
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -659,7 +659,7 @@ module Google
659
659
  # @param project [::String]
660
660
  # Project ID for this request.
661
661
  # @param return_partial_success [::Boolean]
662
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
662
+ # 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.
663
663
  # @yield [result, operation] Access the result along with the TransportOperation object
664
664
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointGroup>]
665
665
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -750,7 +750,7 @@ module Google
750
750
  # @param project [::String]
751
751
  # Project ID for this request.
752
752
  # @param return_partial_success [::Boolean]
753
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
753
+ # 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.
754
754
  # @yield [result, operation] Access the result along with the TransportOperation object
755
755
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::NetworkEndpointWithHealthStatus>]
756
756
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -171,7 +171,7 @@ module Google
171
171
  # Service calls
172
172
 
173
173
  ##
174
- # Retrieves an aggregated list of all operations.
174
+ # Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
175
175
  #
176
176
  # @overload aggregated_list(request, options = nil)
177
177
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -201,7 +201,7 @@ module Google
201
201
  # @param project [::String]
202
202
  # Project ID for this request.
203
203
  # @param return_partial_success [::Boolean]
204
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
204
+ # 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.
205
205
  # @param service_project_number [::Integer]
206
206
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
207
207
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -452,7 +452,7 @@ module Google
452
452
  # @param project [::String]
453
453
  # Project ID for this request.
454
454
  # @param return_partial_success [::Boolean]
455
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
455
+ # 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.
456
456
  # @yield [result, operation] Access the result along with the TransportOperation object
457
457
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
458
458
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -352,7 +352,7 @@ module Google
352
352
  # @param parent_id [::String]
353
353
  # Parent ID for this request.
354
354
  # @param return_partial_success [::Boolean]
355
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
355
+ # 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.
356
356
  # @yield [result, operation] Access the result along with the TransportOperation object
357
357
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
358
358
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -471,7 +471,7 @@ module Google
471
471
  # @param project [::String]
472
472
  # Project ID for this request.
473
473
  # @param return_partial_success [::Boolean]
474
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
474
+ # 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.
475
475
  # @yield [result, operation] Access the result along with the TransportOperation object
476
476
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicDelegatedPrefix>]
477
477
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -190,7 +190,7 @@ module Google
190
190
  # Service calls
191
191
 
192
192
  ##
193
- # Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
193
+ # Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
194
194
  #
195
195
  # @overload aggregated_list(request, options = nil)
196
196
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -220,7 +220,7 @@ module Google
220
220
  # @param project [::String]
221
221
  # Name of the project scoping this request.
222
222
  # @param return_partial_success [::Boolean]
223
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
223
+ # 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.
224
224
  # @param service_project_number [::Integer]
225
225
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
226
226
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -571,7 +571,7 @@ module Google
571
571
  # @param project [::String]
572
572
  # Project ID for this request.
573
573
  # @param return_partial_success [::Boolean]
574
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
574
+ # 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.
575
575
  # @yield [result, operation] Access the result along with the TransportOperation object
576
576
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::HealthCheck>]
577
577
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -745,7 +745,7 @@ module Google
745
745
  # @param project [::String]
746
746
  # Project ID for this request.
747
747
  # @param return_partial_success [::Boolean]
748
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
748
+ # 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.
749
749
  # @yield [result, operation] Access the result along with the TransportOperation object
750
750
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Image>]
751
751
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -314,7 +314,7 @@ module Google
314
314
  end
315
315
 
316
316
  ##
317
- # Retrieves the list of managed instance groups and groups them by zone.
317
+ # Retrieves the list of managed instance groups and groups them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
318
318
  #
319
319
  # @overload aggregated_list(request, options = nil)
320
320
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -344,7 +344,7 @@ module Google
344
344
  # @param project [::String]
345
345
  # Project ID for this request.
346
346
  # @param return_partial_success [::Boolean]
347
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
347
+ # 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.
348
348
  # @param service_project_number [::Integer]
349
349
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
350
350
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1079,7 +1079,7 @@ module Google
1079
1079
  # @param project [::String]
1080
1080
  # Project ID for this request.
1081
1081
  # @param return_partial_success [::Boolean]
1082
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1082
+ # 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.
1083
1083
  # @param zone [::String]
1084
1084
  # The name of the zone where the managed instance group is located.
1085
1085
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1172,7 +1172,7 @@ module Google
1172
1172
  # @param project [::String]
1173
1173
  # Project ID for this request.
1174
1174
  # @param return_partial_success [::Boolean]
1175
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1175
+ # 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.
1176
1176
  # @param zone [::String]
1177
1177
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
1178
1178
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1265,7 +1265,7 @@ module Google
1265
1265
  # @param project [::String]
1266
1266
  # Project ID for this request.
1267
1267
  # @param return_partial_success [::Boolean]
1268
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1268
+ # 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.
1269
1269
  # @param zone [::String]
1270
1270
  # The name of the zone where the managed instance group is located.
1271
1271
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1358,7 +1358,7 @@ module Google
1358
1358
  # @param project [::String]
1359
1359
  # Project ID for this request.
1360
1360
  # @param return_partial_success [::Boolean]
1361
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1361
+ # 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.
1362
1362
  # @param zone [::String]
1363
1363
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
1364
1364
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -289,7 +289,7 @@ module Google
289
289
  end
290
290
 
291
291
  ##
292
- # Retrieves the list of instance groups and sorts them by zone.
292
+ # Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
293
293
  #
294
294
  # @overload aggregated_list(request, options = nil)
295
295
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -319,7 +319,7 @@ module Google
319
319
  # @param project [::String]
320
320
  # Project ID for this request.
321
321
  # @param return_partial_success [::Boolean]
322
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
322
+ # 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.
323
323
  # @param service_project_number [::Integer]
324
324
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
325
325
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -678,7 +678,7 @@ module Google
678
678
  # @param project [::String]
679
679
  # Project ID for this request.
680
680
  # @param return_partial_success [::Boolean]
681
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
681
+ # 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.
682
682
  # @param zone [::String]
683
683
  # The name of the zone where the instance group is located.
684
684
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -773,7 +773,7 @@ module Google
773
773
  # @param project [::String]
774
774
  # Project ID for this request.
775
775
  # @param return_partial_success [::Boolean]
776
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
776
+ # 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.
777
777
  # @param zone [::String]
778
778
  # The name of the zone where the instance group is located.
779
779
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -195,7 +195,7 @@ module Google
195
195
  # Service calls
196
196
 
197
197
  ##
198
- # Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project.
198
+ # Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
199
199
  #
200
200
  # @overload aggregated_list(request, options = nil)
201
201
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -225,7 +225,7 @@ module Google
225
225
  # @param project [::String]
226
226
  # Name of the project scoping this request.
227
227
  # @param return_partial_success [::Boolean]
228
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
228
+ # 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.
229
229
  # @param service_project_number [::Integer]
230
230
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
231
231
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -658,7 +658,7 @@ module Google
658
658
  # @param project [::String]
659
659
  # Project ID for this request.
660
660
  # @param return_partial_success [::Boolean]
661
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
661
+ # 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.
662
662
  # @yield [result, operation] Access the result along with the TransportOperation object
663
663
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceTemplate>]
664
664
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -485,7 +485,7 @@ module Google
485
485
  end
486
486
 
487
487
  ##
488
- # Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances.
488
+ # Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
489
489
  #
490
490
  # @overload aggregated_list(request, options = nil)
491
491
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -515,7 +515,7 @@ module Google
515
515
  # @param project [::String]
516
516
  # Project ID for this request.
517
517
  # @param return_partial_success [::Boolean]
518
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
518
+ # 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.
519
519
  # @param service_project_number [::Integer]
520
520
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
521
521
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1764,7 +1764,7 @@ module Google
1764
1764
  # @param project [::String]
1765
1765
  # Project ID for this request.
1766
1766
  # @param return_partial_success [::Boolean]
1767
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1767
+ # 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.
1768
1768
  # @param zone [::String]
1769
1769
  # The name of the zone for this request.
1770
1770
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1857,7 +1857,7 @@ module Google
1857
1857
  # @param project [::String]
1858
1858
  # Project ID for this request.
1859
1859
  # @param return_partial_success [::Boolean]
1860
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1860
+ # 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.
1861
1861
  # @param zone [::String]
1862
1862
  # The name of the zone for this request.
1863
1863
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -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 InstantSnapshots
26
+ # Credentials for the InstantSnapshots 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