google-cloud-compute-v1 2.8.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +3 -3
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +3 -3
  5. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +3 -3
  6. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +1 -1
  7. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +4 -4
  8. data/lib/google/cloud/compute/v1/compute_pb.rb +32 -1
  9. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +3 -3
  10. data/lib/google/cloud/compute/v1/disks/rest/client.rb +3 -3
  11. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
  12. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
  13. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
  14. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +3 -3
  15. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
  16. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
  17. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -2
  18. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +3 -3
  19. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
  20. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +1 -1
  21. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +3 -3
  22. data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
  23. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +6 -6
  24. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +4 -4
  25. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +3 -3
  26. data/lib/google/cloud/compute/v1/instances/rest/client.rb +4 -4
  27. data/lib/google/cloud/compute/v1/instant_snapshots/credentials.rb +52 -0
  28. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +1208 -0
  29. data/lib/google/cloud/compute/v1/instant_snapshots/rest/service_stub.rb +618 -0
  30. data/lib/google/cloud/compute/v1/instant_snapshots/rest.rb +51 -0
  31. data/lib/google/cloud/compute/v1/instant_snapshots.rb +47 -0
  32. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +3 -3
  33. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
  34. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +1 -1
  35. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
  36. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
  37. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
  38. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
  39. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +3 -3
  40. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
  41. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +4 -4
  42. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
  43. data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
  44. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +4 -4
  45. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +3 -3
  46. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
  47. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +3 -3
  48. data/lib/google/cloud/compute/v1/projects/rest/client.rb +101 -2
  49. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +60 -0
  50. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
  51. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +3 -3
  52. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
  53. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
  54. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
  55. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
  56. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
  57. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
  58. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
  59. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +4 -4
  60. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
  61. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +1 -1
  62. data/lib/google/cloud/compute/v1/region_instant_snapshots/credentials.rb +52 -0
  63. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +1103 -0
  64. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/service_stub.rb +559 -0
  65. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest.rb +51 -0
  66. data/lib/google/cloud/compute/v1/region_instant_snapshots.rb +47 -0
  67. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +2 -2
  68. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
  69. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
  70. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
  71. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
  72. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
  73. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
  74. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
  75. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
  76. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +1 -1
  77. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
  78. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +1 -1
  79. data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
  80. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +3 -3
  81. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +3 -3
  82. data/lib/google/cloud/compute/v1/rest.rb +2 -0
  83. data/lib/google/cloud/compute/v1/routers/rest/client.rb +4 -4
  84. data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
  85. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +4 -4
  86. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +3 -3
  87. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
  88. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
  89. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +4 -4
  90. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +4 -4
  91. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
  92. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
  93. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
  94. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
  95. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
  96. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +1 -1
  97. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
  98. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
  99. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
  100. data/lib/google/cloud/compute/v1/version.rb +1 -1
  101. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
  102. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
  103. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
  104. data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
  105. data/lib/google/cloud/compute/v1.rb +2 -0
  106. data/proto_docs/google/cloud/compute/v1/compute.rb +806 -152
  107. metadata +14 -116
@@ -188,7 +188,7 @@ module Google
188
188
  # Service calls
189
189
 
190
190
  ##
191
- # Retrieves an aggregated list of target VPN gateways.
191
+ # Retrieves an aggregated list of target VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
192
192
  #
193
193
  # @overload aggregated_list(request, options = nil)
194
194
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -218,7 +218,7 @@ module Google
218
218
  # @param project [::String]
219
219
  # Project ID for this request.
220
220
  # @param return_partial_success [::Boolean]
221
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
221
+ # 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.
222
222
  # @param service_project_number [::Integer]
223
223
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
224
224
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -579,7 +579,7 @@ module Google
579
579
  # @param region [::String]
580
580
  # Name of the region for this request.
581
581
  # @param return_partial_success [::Boolean]
582
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
582
+ # 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.
583
583
  # @yield [result, operation] Access the result along with the TransportOperation object
584
584
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetVpnGateway>]
585
585
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -194,7 +194,7 @@ module Google
194
194
  # Service calls
195
195
 
196
196
  ##
197
- # Retrieves the list of all UrlMap resources, regional and global, available to the specified project.
197
+ # Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
198
198
  #
199
199
  # @overload aggregated_list(request, options = nil)
200
200
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -224,7 +224,7 @@ module Google
224
224
  # @param project [::String]
225
225
  # Name of the project scoping this request.
226
226
  # @param return_partial_success [::Boolean]
227
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
227
+ # 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.
228
228
  # @param service_project_number [::Integer]
229
229
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
230
230
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -667,7 +667,7 @@ module Google
667
667
  # @param project [::String]
668
668
  # Project ID for this request.
669
669
  # @param return_partial_success [::Boolean]
670
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
670
+ # 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.
671
671
  # @yield [result, operation] Access the result along with the TransportOperation object
672
672
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::UrlMap>]
673
673
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Compute
23
23
  module V1
24
- VERSION = "2.8.0"
24
+ VERSION = "2.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -195,7 +195,7 @@ module Google
195
195
  # Service calls
196
196
 
197
197
  ##
198
- # Retrieves an aggregated list of VPN gateways.
198
+ # Retrieves an aggregated list of VPN gateways. 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
  # Project ID for 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
@@ -668,7 +668,7 @@ module Google
668
668
  # @param region [::String]
669
669
  # Name of the region for 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::VpnGateway>]
674
674
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -188,7 +188,7 @@ module Google
188
188
  # Service calls
189
189
 
190
190
  ##
191
- # Retrieves an aggregated list of VPN tunnels.
191
+ # Retrieves an aggregated list of VPN tunnels. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
192
192
  #
193
193
  # @overload aggregated_list(request, options = nil)
194
194
  # Pass arguments to `aggregated_list` via a request object, either of type
@@ -218,7 +218,7 @@ module Google
218
218
  # @param project [::String]
219
219
  # Project ID for this request.
220
220
  # @param return_partial_success [::Boolean]
221
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
221
+ # 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.
222
222
  # @param service_project_number [::Integer]
223
223
  # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
224
224
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -579,7 +579,7 @@ module Google
579
579
  # @param region [::String]
580
580
  # Name of the region for this request.
581
581
  # @param return_partial_success [::Boolean]
582
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
582
+ # 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.
583
583
  # @yield [result, operation] Access the result along with the TransportOperation object
584
584
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::VpnTunnel>]
585
585
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -358,7 +358,7 @@ module Google
358
358
  # @param project [::String]
359
359
  # Project ID for this request.
360
360
  # @param return_partial_success [::Boolean]
361
- # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
361
+ # 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.
362
362
  # @param zone [::String]
363
363
  # Name of the zone for request.
364
364
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -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::Zone>]
276
276
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -40,6 +40,7 @@ require "google/cloud/compute/v1/instance_group_managers"
40
40
  require "google/cloud/compute/v1/instance_groups"
41
41
  require "google/cloud/compute/v1/instance_templates"
42
42
  require "google/cloud/compute/v1/instances"
43
+ require "google/cloud/compute/v1/instant_snapshots"
43
44
  require "google/cloud/compute/v1/interconnect_attachments"
44
45
  require "google/cloud/compute/v1/interconnect_locations"
45
46
  require "google/cloud/compute/v1/interconnect_remote_locations"
@@ -71,6 +72,7 @@ require "google/cloud/compute/v1/region_instance_group_managers"
71
72
  require "google/cloud/compute/v1/region_instance_groups"
72
73
  require "google/cloud/compute/v1/region_instance_templates"
73
74
  require "google/cloud/compute/v1/region_instances"
75
+ require "google/cloud/compute/v1/region_instant_snapshots"
74
76
  require "google/cloud/compute/v1/region_network_endpoint_groups"
75
77
  require "google/cloud/compute/v1/region_network_firewall_policies"
76
78
  require "google/cloud/compute/v1/region_notification_endpoints"