google-cloud-compute-v1 2.9.0 → 2.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) 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 +82 -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_manager_resize_requests/credentials.rb +52 -0
  23. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +829 -0
  24. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/service_stub.rb +378 -0
  25. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest.rb +51 -0
  26. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests.rb +47 -0
  27. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +6 -6
  28. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +4 -4
  29. data/lib/google/cloud/compute/v1/instance_settings_service/credentials.rb +52 -0
  30. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +512 -0
  31. data/lib/google/cloud/compute/v1/instance_settings_service/rest/service_stub.rb +190 -0
  32. data/lib/google/cloud/compute/v1/instance_settings_service/rest.rb +51 -0
  33. data/lib/google/cloud/compute/v1/instance_settings_service.rb +47 -0
  34. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +3 -3
  35. data/lib/google/cloud/compute/v1/instances/rest/client.rb +4 -4
  36. data/lib/google/cloud/compute/v1/instant_snapshots/credentials.rb +52 -0
  37. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +1208 -0
  38. data/lib/google/cloud/compute/v1/instant_snapshots/rest/service_stub.rb +618 -0
  39. data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +51 -0
  40. data/lib/google/cloud/compute/v1/instant_snapshots.rb +47 -0
  41. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +3 -3
  42. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
  43. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +1 -1
  44. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
  45. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
  46. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
  47. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
  48. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +3 -3
  49. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
  50. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +4 -4
  51. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
  52. data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
  53. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +108 -4
  54. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +62 -0
  55. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +3 -3
  56. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
  57. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +3 -3
  58. data/lib/google/cloud/compute/v1/projects/rest/client.rb +101 -2
  59. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +60 -0
  60. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
  61. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +3 -3
  62. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
  63. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
  64. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
  65. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
  66. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
  67. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
  68. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
  69. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +4 -4
  70. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
  71. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +1 -1
  72. data/lib/google/cloud/compute/v1/region_instant_snapshots/credentials.rb +52 -0
  73. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +1103 -0
  74. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/service_stub.rb +559 -0
  75. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +51 -0
  76. data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +47 -0
  77. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -2
  78. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
  79. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
  80. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
  81. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
  82. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
  83. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
  84. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
  85. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
  86. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +1 -1
  87. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
  88. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +1 -1
  89. data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
  90. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +3 -3
  91. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +3 -3
  92. data/lib/google/cloud/compute/v1/rest.rb +6 -0
  93. data/lib/google/cloud/compute/v1/routers/rest/client.rb +4 -4
  94. data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
  95. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +4 -4
  96. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +3 -3
  97. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
  98. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
  99. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +4 -4
  100. data/lib/google/cloud/compute/v1/storage_pool_types/credentials.rb +53 -0
  101. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +603 -0
  102. data/lib/google/cloud/compute/v1/storage_pool_types/rest/service_stub.rb +249 -0
  103. data/lib/google/cloud/compute/v1/storage_pool_types/rest.rb +51 -0
  104. data/lib/google/cloud/compute/v1/storage_pool_types.rb +47 -0
  105. data/lib/google/cloud/compute/v1/storage_pools/credentials.rb +52 -0
  106. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +1313 -0
  107. data/lib/google/cloud/compute/v1/storage_pools/rest/service_stub.rb +679 -0
  108. data/lib/google/cloud/compute/v1/storage_pools/rest.rb +51 -0
  109. data/lib/google/cloud/compute/v1/storage_pools.rb +47 -0
  110. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +4 -4
  111. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
  112. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
  113. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
  114. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
  115. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
  116. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
  117. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
  118. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
  119. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
  120. data/lib/google/cloud/compute/v1/version.rb +1 -1
  121. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
  122. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
  123. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
  124. data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
  125. data/lib/google/cloud/compute/v1.rb +6 -0
  126. data/proto_docs/google/api/client.rb +4 -0
  127. data/proto_docs/google/cloud/compute/v1/compute.rb +2128 -182
  128. metadata +32 -2
@@ -1142,7 +1142,7 @@ module Google
1142
1142
  # @param region [::String]
1143
1143
  # Name of the region scoping this request.
1144
1144
  # @param return_partial_success [::Boolean]
1145
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1145
+ # 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.
1146
1146
  # @yield [result, operation] Access the result along with the TransportOperation object
1147
1147
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::FirewallPolicy>]
1148
1148
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -479,7 +479,7 @@ module Google
479
479
  # @param region [::String]
480
480
  # Name of the region scoping 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::NotificationEndpoint>]
485
485
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -360,7 +360,7 @@ module Google
360
360
  # @param region [::String]
361
361
  # Name of the region for this request.
362
362
  # @param return_partial_success [::Boolean]
363
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
363
+ # 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.
364
364
  # @yield [result, operation] Access the result along with the TransportOperation object
365
365
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
366
366
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -673,7 +673,7 @@ module Google
673
673
  # @param region [::String]
674
674
  # Name of the region scoping this request.
675
675
  # @param return_partial_success [::Boolean]
676
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
676
+ # 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.
677
677
  # @yield [result, operation] Access the result along with the TransportOperation object
678
678
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SecurityPolicy>]
679
679
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -479,7 +479,7 @@ module Google
479
479
  # @param region [::String]
480
480
  # Name of the region scoping 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::SslCertificate>]
485
485
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -486,7 +486,7 @@ module Google
486
486
  # @param region [::String]
487
487
  # Name of the region scoping this request.
488
488
  # @param return_partial_success [::Boolean]
489
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
489
+ # 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.
490
490
  # @yield [result, operation] Access the result along with the TransportOperation object
491
491
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslPolicy>]
492
492
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -577,7 +577,7 @@ module Google
577
577
  # @param region [::String]
578
578
  # Name of the region scoping this request.
579
579
  # @param return_partial_success [::Boolean]
580
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
580
+ # 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.
581
581
  # @yield [result, operation] Access the result along with the TransportOperation object
582
582
  # @yieldparam result [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
583
583
  # @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::TargetHttpProxy>]
487
487
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -485,7 +485,7 @@ module Google
485
485
  # @param region [::String]
486
486
  # Name of the region scoping this request.
487
487
  # @param return_partial_success [::Boolean]
488
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
488
+ # 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.
489
489
  # @yield [result, operation] Access the result along with the TransportOperation object
490
490
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpsProxy>]
491
491
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -479,7 +479,7 @@ module Google
479
479
  # @param region [::String]
480
480
  # Name of the region scoping 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::TargetTcpProxy>]
485
485
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -485,7 +485,7 @@ module Google
485
485
  # @param region [::String]
486
486
  # Name of the region scoping this request.
487
487
  # @param return_partial_success [::Boolean]
488
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
488
+ # 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.
489
489
  # @yield [result, operation] Access the result along with the TransportOperation object
490
490
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::UrlMap>]
491
491
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -187,7 +187,7 @@ module Google
187
187
  # @param region [::String]
188
188
  # Region for this request.
189
189
  # @param return_partial_success [::Boolean]
190
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
190
+ # 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.
191
191
  # @yield [result, operation] Access the result along with the TransportOperation object
192
192
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Zone>]
193
193
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -270,7 +270,7 @@ module Google
270
270
  # @param project [::String]
271
271
  # Project ID for this request.
272
272
  # @param return_partial_success [::Boolean]
273
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
273
+ # 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.
274
274
  # @yield [result, operation] Access the result along with the TransportOperation object
275
275
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Region>]
276
276
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -199,7 +199,7 @@ module Google
199
199
  # Service calls
200
200
 
201
201
  ##
202
- # Retrieves an aggregated list of reservations.
202
+ # Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
203
203
  #
204
204
  # @overload aggregated_list(request, options = nil)
205
205
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -229,7 +229,7 @@ module Google
229
229
  # @param project [::String]
230
230
  # Project ID for this request.
231
231
  # @param return_partial_success [::Boolean]
232
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
232
+ # 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.
233
233
  # @param service_project_number [::Integer]
234
234
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
235
235
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -672,7 +672,7 @@ module Google
672
672
  # @param project [::String]
673
673
  # Project ID for this request.
674
674
  # @param return_partial_success [::Boolean]
675
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
675
+ # 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.
676
676
  # @param zone [::String]
677
677
  # Name of the zone for this request.
678
678
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -197,7 +197,7 @@ module Google
197
197
  # Service calls
198
198
 
199
199
  ##
200
- # Retrieves an aggregated list of resource policies.
200
+ # Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
201
201
  #
202
202
  # @overload aggregated_list(request, options = nil)
203
203
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -227,7 +227,7 @@ module Google
227
227
  # @param project [::String]
228
228
  # Project ID for this request.
229
229
  # @param return_partial_success [::Boolean]
230
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
230
+ # 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.
231
231
  # @param service_project_number [::Integer]
232
232
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
233
233
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -672,7 +672,7 @@ module Google
672
672
  # @param region [::String]
673
673
  # Name of the region for this request.
674
674
  # @param return_partial_success [::Boolean]
675
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
675
+ # 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.
676
676
  # @yield [result, operation] Access the result along with the TransportOperation object
677
677
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ResourcePolicy>]
678
678
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -36,10 +36,13 @@ require "google/cloud/compute/v1/global_public_delegated_prefixes/rest"
36
36
  require "google/cloud/compute/v1/health_checks/rest"
37
37
  require "google/cloud/compute/v1/image_family_views/rest"
38
38
  require "google/cloud/compute/v1/images/rest"
39
+ require "google/cloud/compute/v1/instance_group_manager_resize_requests/rest"
39
40
  require "google/cloud/compute/v1/instance_group_managers/rest"
40
41
  require "google/cloud/compute/v1/instance_groups/rest"
42
+ require "google/cloud/compute/v1/instance_settings_service/rest"
41
43
  require "google/cloud/compute/v1/instance_templates/rest"
42
44
  require "google/cloud/compute/v1/instances/rest"
45
+ require "google/cloud/compute/v1/instant_snapshots/rest"
43
46
  require "google/cloud/compute/v1/interconnect_attachments/rest"
44
47
  require "google/cloud/compute/v1/interconnect_locations/rest"
45
48
  require "google/cloud/compute/v1/interconnect_remote_locations/rest"
@@ -71,6 +74,7 @@ require "google/cloud/compute/v1/region_instance_group_managers/rest"
71
74
  require "google/cloud/compute/v1/region_instance_groups/rest"
72
75
  require "google/cloud/compute/v1/region_instance_templates/rest"
73
76
  require "google/cloud/compute/v1/region_instances/rest"
77
+ require "google/cloud/compute/v1/region_instant_snapshots/rest"
74
78
  require "google/cloud/compute/v1/region_network_endpoint_groups/rest"
75
79
  require "google/cloud/compute/v1/region_network_firewall_policies/rest"
76
80
  require "google/cloud/compute/v1/region_notification_endpoints/rest"
@@ -94,6 +98,8 @@ require "google/cloud/compute/v1/snapshot_settings_service/rest"
94
98
  require "google/cloud/compute/v1/snapshots/rest"
95
99
  require "google/cloud/compute/v1/ssl_certificates/rest"
96
100
  require "google/cloud/compute/v1/ssl_policies/rest"
101
+ require "google/cloud/compute/v1/storage_pool_types/rest"
102
+ require "google/cloud/compute/v1/storage_pools/rest"
97
103
  require "google/cloud/compute/v1/subnetworks/rest"
98
104
  require "google/cloud/compute/v1/target_grpc_proxies/rest"
99
105
  require "google/cloud/compute/v1/target_http_proxies/rest"
@@ -207,7 +207,7 @@ module Google
207
207
  # Service calls
208
208
 
209
209
  ##
210
- # Retrieves an aggregated list of routers.
210
+ # Retrieves an aggregated list of routers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
211
211
  #
212
212
  # @overload aggregated_list(request, options = nil)
213
213
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -237,7 +237,7 @@ module Google
237
237
  # @param project [::String]
238
238
  # Project ID for this request.
239
239
  # @param return_partial_success [::Boolean]
240
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
240
+ # 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.
241
241
  # @param service_project_number [::Integer]
242
242
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
243
243
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -591,7 +591,7 @@ module Google
591
591
  # @param region [::String]
592
592
  # Name of the region for this request.
593
593
  # @param return_partial_success [::Boolean]
594
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
594
+ # 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.
595
595
  # @param router [::String]
596
596
  # Name of the Router resource to query for Nat Mapping information of VM endpoints.
597
597
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -859,7 +859,7 @@ module Google
859
859
  # @param region [::String]
860
860
  # Name of the region for this request.
861
861
  # @param return_partial_success [::Boolean]
862
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
862
+ # 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.
863
863
  # @yield [result, operation] Access the result along with the TransportOperation object
864
864
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Router>]
865
865
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -469,7 +469,7 @@ module Google
469
469
  # @param project [::String]
470
470
  # Project ID for this request.
471
471
  # @param return_partial_success [::Boolean]
472
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
472
+ # 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.
473
473
  # @yield [result, operation] Access the result along with the TransportOperation object
474
474
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Route>]
475
475
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -298,7 +298,7 @@ module Google
298
298
  end
299
299
 
300
300
  ##
301
- # Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.
301
+ # Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
302
302
  #
303
303
  # @overload aggregated_list(request, options = nil)
304
304
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -328,7 +328,7 @@ module Google
328
328
  # @param project [::String]
329
329
  # Name of the project scoping this request.
330
330
  # @param return_partial_success [::Boolean]
331
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
331
+ # 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.
332
332
  # @param service_project_number [::Integer]
333
333
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
334
334
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -763,7 +763,7 @@ module Google
763
763
  # @param project [::String]
764
764
  # Project ID for this request.
765
765
  # @param return_partial_success [::Boolean]
766
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
766
+ # 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.
767
767
  # @yield [result, operation] Access the result along with the TransportOperation object
768
768
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SecurityPolicy>]
769
769
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -852,7 +852,7 @@ module Google
852
852
  # @param project [::String]
853
853
  # Project ID for this request.
854
854
  # @param return_partial_success [::Boolean]
855
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
855
+ # 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.
856
856
  # @yield [result, operation] Access the result along with the TransportOperation object
857
857
  # @yieldparam result [::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
858
858
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -197,7 +197,7 @@ module Google
197
197
  # Service calls
198
198
 
199
199
  ##
200
- # Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
200
+ # Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
201
201
  #
202
202
  # @overload aggregated_list(request, options = nil)
203
203
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -227,7 +227,7 @@ module Google
227
227
  # @param project [::String]
228
228
  # Name of the project scoping this request.
229
229
  # @param return_partial_success [::Boolean]
230
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
230
+ # 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.
231
231
  # @param service_project_number [::Integer]
232
232
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
233
233
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -672,7 +672,7 @@ module Google
672
672
  # @param region [::String]
673
673
  # Name of the region of this request.
674
674
  # @param return_partial_success [::Boolean]
675
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
675
+ # 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.
676
676
  # @yield [result, operation] Access the result along with the TransportOperation object
677
677
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ServiceAttachment>]
678
678
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -562,7 +562,7 @@ module Google
562
562
  # @param project [::String]
563
563
  # Project ID for this request.
564
564
  # @param return_partial_success [::Boolean]
565
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
565
+ # 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.
566
566
  # @yield [result, operation] Access the result along with the TransportOperation object
567
567
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Snapshot>]
568
568
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -186,7 +186,7 @@ module Google
186
186
  # Service calls
187
187
 
188
188
  ##
189
- # Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.
189
+ # Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. 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
  # Name of the project scoping 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
@@ -567,7 +567,7 @@ module Google
567
567
  # @param project [::String]
568
568
  # Project ID for this request.
569
569
  # @param return_partial_success [::Boolean]
570
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
570
+ # 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.
571
571
  # @yield [result, operation] Access the result along with the TransportOperation object
572
572
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslCertificate>]
573
573
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -193,7 +193,7 @@ module Google
193
193
  # Service calls
194
194
 
195
195
  ##
196
- # Retrieves the list of all SslPolicy resources, regional and global, available to the specified project.
196
+ # Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
197
197
  #
198
198
  # @overload aggregated_list(request, options = nil)
199
199
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -223,7 +223,7 @@ module Google
223
223
  # @param project [::String]
224
224
  # Name of the project scoping this request.
225
225
  # @param return_partial_success [::Boolean]
226
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
226
+ # 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.
227
227
  # @param service_project_number [::Integer]
228
228
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
229
229
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -574,7 +574,7 @@ module Google
574
574
  # @param project [::String]
575
575
  # Project ID for this request.
576
576
  # @param return_partial_success [::Boolean]
577
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
577
+ # 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.
578
578
  # @yield [result, operation] Access the result along with the TransportOperation object
579
579
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslPolicy>]
580
580
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -663,7 +663,7 @@ module Google
663
663
  # @param project [::String]
664
664
  # Project ID for this request.
665
665
  # @param return_partial_success [::Boolean]
666
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
666
+ # 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.
667
667
  # @yield [result, operation] Access the result along with the TransportOperation object
668
668
  # @yieldparam result [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
669
669
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -0,0 +1,53 @@
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 StoragePoolTypes
26
+ # Credentials for the StoragePoolTypes API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/compute.readonly",
30
+ "https://www.googleapis.com/auth/compute",
31
+ "https://www.googleapis.com/auth/cloud-platform"
32
+ ]
33
+ self.env_vars = [
34
+ "COMPUTE_CREDENTIALS",
35
+ "COMPUTE_KEYFILE",
36
+ "GOOGLE_CLOUD_CREDENTIALS",
37
+ "GOOGLE_CLOUD_KEYFILE",
38
+ "GCLOUD_KEYFILE",
39
+ "COMPUTE_CREDENTIALS_JSON",
40
+ "COMPUTE_KEYFILE_JSON",
41
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
42
+ "GOOGLE_CLOUD_KEYFILE_JSON",
43
+ "GCLOUD_KEYFILE_JSON"
44
+ ]
45
+ self.paths = [
46
+ "~/.config/google_cloud/application_default_credentials.json"
47
+ ]
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end