google-cloud-compute-v1 1.9.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +40 -40
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +56 -42
- data/lib/google/cloud/compute/v1/compute_pb.rb +12 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +38 -38
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +52 -39
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +52 -52
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +72 -54
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +4 -3
- data/lib/google/cloud/compute/v1/images/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +52 -52
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +80 -60
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +24 -24
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +116 -116
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +180 -135
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +24 -24
- data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +24 -24
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +46 -46
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +64 -48
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +30 -30
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +40 -40
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +52 -39
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +12 -9
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +52 -39
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +48 -36
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +48 -48
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +76 -57
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -3
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +50 -50
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +68 -51
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +8 -6
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +32 -32
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +40 -30
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +32 -32
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +40 -30
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +12 -12
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +34 -34
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +48 -36
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +30 -30
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +38 -38
- data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +48 -36
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +14 -14
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +28 -28
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +20 -15
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +30 -30
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +44 -33
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +22 -22
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +20 -20
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +28 -21
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +36 -27
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +26 -26
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +32 -24
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +18 -18
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +24 -18
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +16 -16
- data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +16 -12
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +8 -8
- data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +8 -6
- data/proto_docs/google/cloud/compute/v1/compute.rb +1156 -1132
- metadata +6 -6
@@ -227,9 +227,9 @@ module Google
|
|
227
227
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
228
228
|
# @param zone [::String]
|
229
229
|
# The name of the zone where the managed instance group is located.
|
230
|
-
# @yield [result,
|
230
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
231
231
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
232
|
-
# @yieldparam
|
232
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
233
233
|
#
|
234
234
|
# @return [::Gapic::GenericLRO::Operation]
|
235
235
|
#
|
@@ -310,9 +310,9 @@ module Google
|
|
310
310
|
# Project ID for this request.
|
311
311
|
# @param return_partial_success [::Boolean]
|
312
312
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
313
|
-
# @yield [result,
|
313
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
314
314
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstanceGroupManagersScopedList>]
|
315
|
-
# @yieldparam
|
315
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
316
316
|
#
|
317
317
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstanceGroupManagersScopedList>]
|
318
318
|
#
|
@@ -344,9 +344,9 @@ module Google
|
|
344
344
|
metadata: @config.metadata,
|
345
345
|
retry_policy: @config.retry_policy
|
346
346
|
|
347
|
-
@instance_group_managers_stub.aggregated_list request, options do |result,
|
347
|
+
@instance_group_managers_stub.aggregated_list request, options do |result, operation|
|
348
348
|
result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :aggregated_list, "items", request, result, options
|
349
|
-
yield result,
|
349
|
+
yield result, operation if block_given?
|
350
350
|
return result
|
351
351
|
end
|
352
352
|
rescue ::Gapic::Rest::Error => e
|
@@ -379,9 +379,9 @@ module Google
|
|
379
379
|
# Project ID for this request.
|
380
380
|
# @param zone [::String]
|
381
381
|
# The name of the zone where the managed instance group is located. Should conform to RFC1035.
|
382
|
-
# @yield [result,
|
382
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
383
383
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
384
|
-
# @yieldparam
|
384
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
385
385
|
#
|
386
386
|
# @return [::Gapic::GenericLRO::Operation]
|
387
387
|
#
|
@@ -458,9 +458,9 @@ module Google
|
|
458
458
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
459
459
|
# @param zone [::String]
|
460
460
|
# The name of the zone where the managed instance group is located. It should conform to RFC1035.
|
461
|
-
# @yield [result,
|
461
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
462
462
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
463
|
-
# @yieldparam
|
463
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
464
464
|
#
|
465
465
|
# @return [::Gapic::GenericLRO::Operation]
|
466
466
|
#
|
@@ -535,9 +535,9 @@ module Google
|
|
535
535
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
536
536
|
# @param zone [::String]
|
537
537
|
# The name of the zone where the managed instance group is located.
|
538
|
-
# @yield [result,
|
538
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
539
539
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
540
|
-
# @yieldparam
|
540
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
541
541
|
#
|
542
542
|
# @return [::Gapic::GenericLRO::Operation]
|
543
543
|
#
|
@@ -614,9 +614,9 @@ module Google
|
|
614
614
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
615
615
|
# @param zone [::String]
|
616
616
|
# The name of the zone where the managed instance group is located.
|
617
|
-
# @yield [result,
|
617
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
618
618
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
619
|
-
# @yieldparam
|
619
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
620
620
|
#
|
621
621
|
# @return [::Gapic::GenericLRO::Operation]
|
622
622
|
#
|
@@ -691,9 +691,9 @@ module Google
|
|
691
691
|
# Project ID for this request.
|
692
692
|
# @param zone [::String]
|
693
693
|
# The name of the zone where the managed instance group is located. It should conform to RFC1035.
|
694
|
-
# @yield [result,
|
694
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
695
695
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
696
|
-
# @yieldparam
|
696
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
697
697
|
#
|
698
698
|
# @return [::Gapic::GenericLRO::Operation]
|
699
699
|
#
|
@@ -766,9 +766,9 @@ module Google
|
|
766
766
|
# Project ID for this request.
|
767
767
|
# @param zone [::String]
|
768
768
|
# The name of the zone where the managed instance group is located.
|
769
|
-
# @yield [result,
|
769
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
770
770
|
# @yieldparam result [::Google::Cloud::Compute::V1::InstanceGroupManager]
|
771
|
-
# @yieldparam
|
771
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
772
772
|
#
|
773
773
|
# @return [::Google::Cloud::Compute::V1::InstanceGroupManager]
|
774
774
|
#
|
@@ -800,8 +800,8 @@ module Google
|
|
800
800
|
metadata: @config.metadata,
|
801
801
|
retry_policy: @config.retry_policy
|
802
802
|
|
803
|
-
@instance_group_managers_stub.get request, options do |result,
|
804
|
-
yield result,
|
803
|
+
@instance_group_managers_stub.get request, options do |result, operation|
|
804
|
+
yield result, operation if block_given?
|
805
805
|
return result
|
806
806
|
end
|
807
807
|
rescue ::Gapic::Rest::Error => e
|
@@ -834,9 +834,9 @@ module Google
|
|
834
834
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
835
835
|
# @param zone [::String]
|
836
836
|
# The name of the zone where you want to create the managed instance group.
|
837
|
-
# @yield [result,
|
837
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
838
838
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
839
|
-
# @yieldparam
|
839
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
840
840
|
#
|
841
841
|
# @return [::Gapic::GenericLRO::Operation]
|
842
842
|
#
|
@@ -917,9 +917,9 @@ module Google
|
|
917
917
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
918
918
|
# @param zone [::String]
|
919
919
|
# The name of the zone where the managed instance group is located.
|
920
|
-
# @yield [result,
|
920
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
921
921
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroupManager>]
|
922
|
-
# @yieldparam
|
922
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
923
923
|
#
|
924
924
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroupManager>]
|
925
925
|
#
|
@@ -951,9 +951,9 @@ module Google
|
|
951
951
|
metadata: @config.metadata,
|
952
952
|
retry_policy: @config.retry_policy
|
953
953
|
|
954
|
-
@instance_group_managers_stub.list request, options do |result,
|
954
|
+
@instance_group_managers_stub.list request, options do |result, operation|
|
955
955
|
result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list, "items", request, result, options
|
956
|
-
yield result,
|
956
|
+
yield result, operation if block_given?
|
957
957
|
return result
|
958
958
|
end
|
959
959
|
rescue ::Gapic::Rest::Error => e
|
@@ -994,9 +994,9 @@ module Google
|
|
994
994
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
995
995
|
# @param zone [::String]
|
996
996
|
# The name of the zone where the managed instance group is located. It should conform to RFC1035.
|
997
|
-
# @yield [result,
|
997
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
998
998
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceManagedByIgmError>]
|
999
|
-
# @yieldparam
|
999
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1000
1000
|
#
|
1001
1001
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceManagedByIgmError>]
|
1002
1002
|
#
|
@@ -1028,9 +1028,9 @@ module Google
|
|
1028
1028
|
metadata: @config.metadata,
|
1029
1029
|
retry_policy: @config.retry_policy
|
1030
1030
|
|
1031
|
-
@instance_group_managers_stub.list_errors request, options do |result,
|
1031
|
+
@instance_group_managers_stub.list_errors request, options do |result, operation|
|
1032
1032
|
result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list_errors, "items", request, result, options
|
1033
|
-
yield result,
|
1033
|
+
yield result, operation if block_given?
|
1034
1034
|
return result
|
1035
1035
|
end
|
1036
1036
|
rescue ::Gapic::Rest::Error => e
|
@@ -1071,9 +1071,9 @@ module Google
|
|
1071
1071
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
1072
1072
|
# @param zone [::String]
|
1073
1073
|
# The name of the zone where the managed instance group is located.
|
1074
|
-
# @yield [result,
|
1074
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1075
1075
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ManagedInstance>]
|
1076
|
-
# @yieldparam
|
1076
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1077
1077
|
#
|
1078
1078
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ManagedInstance>]
|
1079
1079
|
#
|
@@ -1105,9 +1105,9 @@ module Google
|
|
1105
1105
|
metadata: @config.metadata,
|
1106
1106
|
retry_policy: @config.retry_policy
|
1107
1107
|
|
1108
|
-
@instance_group_managers_stub.list_managed_instances request, options do |result,
|
1108
|
+
@instance_group_managers_stub.list_managed_instances request, options do |result, operation|
|
1109
1109
|
result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list_managed_instances, "managed_instances", request, result, options
|
1110
|
-
yield result,
|
1110
|
+
yield result, operation if block_given?
|
1111
1111
|
return result
|
1112
1112
|
end
|
1113
1113
|
rescue ::Gapic::Rest::Error => e
|
@@ -1148,9 +1148,9 @@ module Google
|
|
1148
1148
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
1149
1149
|
# @param zone [::String]
|
1150
1150
|
# The name of the zone where the managed instance group is located. It should conform to RFC1035.
|
1151
|
-
# @yield [result,
|
1151
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1152
1152
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PerInstanceConfig>]
|
1153
|
-
# @yieldparam
|
1153
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1154
1154
|
#
|
1155
1155
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PerInstanceConfig>]
|
1156
1156
|
#
|
@@ -1182,9 +1182,9 @@ module Google
|
|
1182
1182
|
metadata: @config.metadata,
|
1183
1183
|
retry_policy: @config.retry_policy
|
1184
1184
|
|
1185
|
-
@instance_group_managers_stub.list_per_instance_configs request, options do |result,
|
1185
|
+
@instance_group_managers_stub.list_per_instance_configs request, options do |result, operation|
|
1186
1186
|
result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list_per_instance_configs, "items", request, result, options
|
1187
|
-
yield result,
|
1187
|
+
yield result, operation if block_given?
|
1188
1188
|
return result
|
1189
1189
|
end
|
1190
1190
|
rescue ::Gapic::Rest::Error => e
|
@@ -1219,9 +1219,9 @@ module Google
|
|
1219
1219
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1220
1220
|
# @param zone [::String]
|
1221
1221
|
# The name of the zone where you want to create the managed instance group.
|
1222
|
-
# @yield [result,
|
1222
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1223
1223
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1224
|
-
# @yieldparam
|
1224
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1225
1225
|
#
|
1226
1226
|
# @return [::Gapic::GenericLRO::Operation]
|
1227
1227
|
#
|
@@ -1298,9 +1298,9 @@ module Google
|
|
1298
1298
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1299
1299
|
# @param zone [::String]
|
1300
1300
|
# The name of the zone where the managed instance group is located. It should conform to RFC1035.
|
1301
|
-
# @yield [result,
|
1301
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1302
1302
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1303
|
-
# @yieldparam
|
1303
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1304
1304
|
#
|
1305
1305
|
# @return [::Gapic::GenericLRO::Operation]
|
1306
1306
|
#
|
@@ -1377,9 +1377,9 @@ module Google
|
|
1377
1377
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1378
1378
|
# @param zone [::String]
|
1379
1379
|
# The name of the zone where the managed instance group is located.
|
1380
|
-
# @yield [result,
|
1380
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1381
1381
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1382
|
-
# @yieldparam
|
1382
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1383
1383
|
#
|
1384
1384
|
# @return [::Gapic::GenericLRO::Operation]
|
1385
1385
|
#
|
@@ -1456,9 +1456,9 @@ module Google
|
|
1456
1456
|
# The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter.
|
1457
1457
|
# @param zone [::String]
|
1458
1458
|
# The name of the zone where the managed instance group is located.
|
1459
|
-
# @yield [result,
|
1459
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1460
1460
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1461
|
-
# @yieldparam
|
1461
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1462
1462
|
#
|
1463
1463
|
# @return [::Gapic::GenericLRO::Operation]
|
1464
1464
|
#
|
@@ -1535,9 +1535,9 @@ module Google
|
|
1535
1535
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1536
1536
|
# @param zone [::String]
|
1537
1537
|
# The name of the zone where the managed instance group is located.
|
1538
|
-
# @yield [result,
|
1538
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1539
1539
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1540
|
-
# @yieldparam
|
1540
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1541
1541
|
#
|
1542
1542
|
# @return [::Gapic::GenericLRO::Operation]
|
1543
1543
|
#
|
@@ -1614,9 +1614,9 @@ module Google
|
|
1614
1614
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1615
1615
|
# @param zone [::String]
|
1616
1616
|
# The name of the zone where the managed instance group is located.
|
1617
|
-
# @yield [result,
|
1617
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1618
1618
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1619
|
-
# @yieldparam
|
1619
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1620
1620
|
#
|
1621
1621
|
# @return [::Gapic::GenericLRO::Operation]
|
1622
1622
|
#
|
@@ -1693,9 +1693,9 @@ module Google
|
|
1693
1693
|
# An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
1694
1694
|
# @param zone [::String]
|
1695
1695
|
# The name of the zone where the managed instance group is located. It should conform to RFC1035.
|
1696
|
-
# @yield [result,
|
1696
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1697
1697
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1698
|
-
# @yieldparam
|
1698
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1699
1699
|
#
|
1700
1700
|
# @return [::Gapic::GenericLRO::Operation]
|
1701
1701
|
#
|