google-cloud-compute-v1 1.9.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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
@@ -213,9 +213,9 @@ module Google
|
|
213
213
|
# 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).
|
214
214
|
# @param signed_url_key_resource [::Google::Cloud::Compute::V1::SignedUrlKey, ::Hash]
|
215
215
|
# The body resource for this request
|
216
|
-
# @yield [result,
|
216
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
217
217
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
218
|
-
# @yieldparam
|
218
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
219
219
|
#
|
220
220
|
# @return [::Gapic::GenericLRO::Operation]
|
221
221
|
#
|
@@ -295,9 +295,9 @@ module Google
|
|
295
295
|
# Name of the project scoping this request.
|
296
296
|
# @param return_partial_success [::Boolean]
|
297
297
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
298
|
-
# @yield [result,
|
298
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
299
299
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::BackendServicesScopedList>]
|
300
|
-
# @yieldparam
|
300
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
301
301
|
#
|
302
302
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::BackendServicesScopedList>]
|
303
303
|
#
|
@@ -329,9 +329,9 @@ module Google
|
|
329
329
|
metadata: @config.metadata,
|
330
330
|
retry_policy: @config.retry_policy
|
331
331
|
|
332
|
-
@backend_services_stub.aggregated_list request, options do |result,
|
332
|
+
@backend_services_stub.aggregated_list request, options do |result, operation|
|
333
333
|
result = ::Gapic::Rest::PagedEnumerable.new @backend_services_stub, :aggregated_list, "items", request, result, options
|
334
|
-
yield result,
|
334
|
+
yield result, operation if block_given?
|
335
335
|
return result
|
336
336
|
end
|
337
337
|
rescue ::Gapic::Rest::Error => e
|
@@ -362,9 +362,9 @@ module Google
|
|
362
362
|
# Project ID for this request.
|
363
363
|
# @param request_id [::String]
|
364
364
|
# 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).
|
365
|
-
# @yield [result,
|
365
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
366
366
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
367
|
-
# @yieldparam
|
367
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
368
368
|
#
|
369
369
|
# @return [::Gapic::GenericLRO::Operation]
|
370
370
|
#
|
@@ -438,9 +438,9 @@ module Google
|
|
438
438
|
# Project ID for this request.
|
439
439
|
# @param request_id [::String]
|
440
440
|
# 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).
|
441
|
-
# @yield [result,
|
441
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
442
442
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
443
|
-
# @yieldparam
|
443
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
444
444
|
#
|
445
445
|
# @return [::Gapic::GenericLRO::Operation]
|
446
446
|
#
|
@@ -510,9 +510,9 @@ module Google
|
|
510
510
|
# Name of the BackendService resource to return.
|
511
511
|
# @param project [::String]
|
512
512
|
# Project ID for this request.
|
513
|
-
# @yield [result,
|
513
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
514
514
|
# @yieldparam result [::Google::Cloud::Compute::V1::BackendService]
|
515
|
-
# @yieldparam
|
515
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
516
516
|
#
|
517
517
|
# @return [::Google::Cloud::Compute::V1::BackendService]
|
518
518
|
#
|
@@ -544,8 +544,8 @@ module Google
|
|
544
544
|
metadata: @config.metadata,
|
545
545
|
retry_policy: @config.retry_policy
|
546
546
|
|
547
|
-
@backend_services_stub.get request, options do |result,
|
548
|
-
yield result,
|
547
|
+
@backend_services_stub.get request, options do |result, operation|
|
548
|
+
yield result, operation if block_given?
|
549
549
|
return result
|
550
550
|
end
|
551
551
|
rescue ::Gapic::Rest::Error => e
|
@@ -575,9 +575,9 @@ module Google
|
|
575
575
|
# @param project [::String]
|
576
576
|
# @param resource_group_reference_resource [::Google::Cloud::Compute::V1::ResourceGroupReference, ::Hash]
|
577
577
|
# The body resource for this request
|
578
|
-
# @yield [result,
|
578
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
579
579
|
# @yieldparam result [::Google::Cloud::Compute::V1::BackendServiceGroupHealth]
|
580
|
-
# @yieldparam
|
580
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
581
581
|
#
|
582
582
|
# @return [::Google::Cloud::Compute::V1::BackendServiceGroupHealth]
|
583
583
|
#
|
@@ -609,8 +609,8 @@ module Google
|
|
609
609
|
metadata: @config.metadata,
|
610
610
|
retry_policy: @config.retry_policy
|
611
611
|
|
612
|
-
@backend_services_stub.get_health request, options do |result,
|
613
|
-
yield result,
|
612
|
+
@backend_services_stub.get_health request, options do |result, operation|
|
613
|
+
yield result, operation if block_given?
|
614
614
|
return result
|
615
615
|
end
|
616
616
|
rescue ::Gapic::Rest::Error => e
|
@@ -641,9 +641,9 @@ module Google
|
|
641
641
|
# Project ID for this request.
|
642
642
|
# @param resource [::String]
|
643
643
|
# Name or id of the resource for this request.
|
644
|
-
# @yield [result,
|
644
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
645
645
|
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
646
|
-
# @yieldparam
|
646
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
647
647
|
#
|
648
648
|
# @return [::Google::Cloud::Compute::V1::Policy]
|
649
649
|
#
|
@@ -675,8 +675,8 @@ module Google
|
|
675
675
|
metadata: @config.metadata,
|
676
676
|
retry_policy: @config.retry_policy
|
677
677
|
|
678
|
-
@backend_services_stub.get_iam_policy request, options do |result,
|
679
|
-
yield result,
|
678
|
+
@backend_services_stub.get_iam_policy request, options do |result, operation|
|
679
|
+
yield result, operation if block_given?
|
680
680
|
return result
|
681
681
|
end
|
682
682
|
rescue ::Gapic::Rest::Error => e
|
@@ -707,9 +707,9 @@ module Google
|
|
707
707
|
# Project ID for this request.
|
708
708
|
# @param request_id [::String]
|
709
709
|
# 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).
|
710
|
-
# @yield [result,
|
710
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
711
711
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
712
|
-
# @yieldparam
|
712
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
713
713
|
#
|
714
714
|
# @return [::Gapic::GenericLRO::Operation]
|
715
715
|
#
|
@@ -787,9 +787,9 @@ module Google
|
|
787
787
|
# Project ID for this request.
|
788
788
|
# @param return_partial_success [::Boolean]
|
789
789
|
# Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
|
790
|
-
# @yield [result,
|
790
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
791
791
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendService>]
|
792
|
-
# @yieldparam
|
792
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
793
793
|
#
|
794
794
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendService>]
|
795
795
|
#
|
@@ -821,9 +821,9 @@ module Google
|
|
821
821
|
metadata: @config.metadata,
|
822
822
|
retry_policy: @config.retry_policy
|
823
823
|
|
824
|
-
@backend_services_stub.list request, options do |result,
|
824
|
+
@backend_services_stub.list request, options do |result, operation|
|
825
825
|
result = ::Gapic::Rest::PagedEnumerable.new @backend_services_stub, :list, "items", request, result, options
|
826
|
-
yield result,
|
826
|
+
yield result, operation if block_given?
|
827
827
|
return result
|
828
828
|
end
|
829
829
|
rescue ::Gapic::Rest::Error => e
|
@@ -856,9 +856,9 @@ module Google
|
|
856
856
|
# Project ID for this request.
|
857
857
|
# @param request_id [::String]
|
858
858
|
# 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).
|
859
|
-
# @yield [result,
|
859
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
860
860
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
861
|
-
# @yieldparam
|
861
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
862
862
|
#
|
863
863
|
# @return [::Gapic::GenericLRO::Operation]
|
864
864
|
#
|
@@ -932,9 +932,9 @@ module Google
|
|
932
932
|
# 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).
|
933
933
|
# @param security_policy_reference_resource [::Google::Cloud::Compute::V1::SecurityPolicyReference, ::Hash]
|
934
934
|
# The body resource for this request
|
935
|
-
# @yield [result,
|
935
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
936
936
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
937
|
-
# @yieldparam
|
937
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
938
938
|
#
|
939
939
|
# @return [::Gapic::GenericLRO::Operation]
|
940
940
|
#
|
@@ -1006,9 +1006,9 @@ module Google
|
|
1006
1006
|
# Project ID for this request.
|
1007
1007
|
# @param resource [::String]
|
1008
1008
|
# Name or id of the resource for this request.
|
1009
|
-
# @yield [result,
|
1009
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1010
1010
|
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
1011
|
-
# @yieldparam
|
1011
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1012
1012
|
#
|
1013
1013
|
# @return [::Google::Cloud::Compute::V1::Policy]
|
1014
1014
|
#
|
@@ -1040,8 +1040,8 @@ module Google
|
|
1040
1040
|
metadata: @config.metadata,
|
1041
1041
|
retry_policy: @config.retry_policy
|
1042
1042
|
|
1043
|
-
@backend_services_stub.set_iam_policy request, options do |result,
|
1044
|
-
yield result,
|
1043
|
+
@backend_services_stub.set_iam_policy request, options do |result, operation|
|
1044
|
+
yield result, operation if block_given?
|
1045
1045
|
return result
|
1046
1046
|
end
|
1047
1047
|
rescue ::Gapic::Rest::Error => e
|
@@ -1074,9 +1074,9 @@ module Google
|
|
1074
1074
|
# 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).
|
1075
1075
|
# @param security_policy_reference_resource [::Google::Cloud::Compute::V1::SecurityPolicyReference, ::Hash]
|
1076
1076
|
# The body resource for this request
|
1077
|
-
# @yield [result,
|
1077
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1078
1078
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1079
|
-
# @yieldparam
|
1079
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1080
1080
|
#
|
1081
1081
|
# @return [::Gapic::GenericLRO::Operation]
|
1082
1082
|
#
|
@@ -1150,9 +1150,9 @@ module Google
|
|
1150
1150
|
# Project ID for this request.
|
1151
1151
|
# @param request_id [::String]
|
1152
1152
|
# 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).
|
1153
|
-
# @yield [result,
|
1153
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1154
1154
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
1155
|
-
# @yieldparam
|
1155
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1156
1156
|
#
|
1157
1157
|
# @return [::Gapic::GenericLRO::Operation]
|
1158
1158
|
#
|
@@ -48,9 +48,9 @@ module Google
|
|
48
48
|
# @param options [::Gapic::CallOptions]
|
49
49
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
50
50
|
#
|
51
|
-
# @yield [result,
|
51
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
52
52
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
53
|
-
# @yieldparam
|
53
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
54
54
|
#
|
55
55
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
56
56
|
# A result object deserialized from the server's reply
|
@@ -71,9 +71,10 @@ module Google
|
|
71
71
|
params: query_string_params,
|
72
72
|
options: options
|
73
73
|
)
|
74
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
74
75
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
75
76
|
|
76
|
-
yield result,
|
77
|
+
yield result, operation if block_given?
|
77
78
|
result
|
78
79
|
end
|
79
80
|
|
@@ -85,9 +86,9 @@ module Google
|
|
85
86
|
# @param options [::Gapic::CallOptions]
|
86
87
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
87
88
|
#
|
88
|
-
# @yield [result,
|
89
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
89
90
|
# @yieldparam result [::Google::Cloud::Compute::V1::BackendServiceAggregatedList]
|
90
|
-
# @yieldparam
|
91
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
91
92
|
#
|
92
93
|
# @return [::Google::Cloud::Compute::V1::BackendServiceAggregatedList]
|
93
94
|
# A result object deserialized from the server's reply
|
@@ -108,9 +109,10 @@ module Google
|
|
108
109
|
params: query_string_params,
|
109
110
|
options: options
|
110
111
|
)
|
112
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
111
113
|
result = ::Google::Cloud::Compute::V1::BackendServiceAggregatedList.decode_json response.body, ignore_unknown_fields: true
|
112
114
|
|
113
|
-
yield result,
|
115
|
+
yield result, operation if block_given?
|
114
116
|
result
|
115
117
|
end
|
116
118
|
|
@@ -122,9 +124,9 @@ module Google
|
|
122
124
|
# @param options [::Gapic::CallOptions]
|
123
125
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
124
126
|
#
|
125
|
-
# @yield [result,
|
127
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
126
128
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
127
|
-
# @yieldparam
|
129
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
128
130
|
#
|
129
131
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
130
132
|
# A result object deserialized from the server's reply
|
@@ -145,9 +147,10 @@ module Google
|
|
145
147
|
params: query_string_params,
|
146
148
|
options: options
|
147
149
|
)
|
150
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
148
151
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
149
152
|
|
150
|
-
yield result,
|
153
|
+
yield result, operation if block_given?
|
151
154
|
result
|
152
155
|
end
|
153
156
|
|
@@ -159,9 +162,9 @@ module Google
|
|
159
162
|
# @param options [::Gapic::CallOptions]
|
160
163
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
161
164
|
#
|
162
|
-
# @yield [result,
|
165
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
163
166
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
164
|
-
# @yieldparam
|
167
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
165
168
|
#
|
166
169
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
167
170
|
# A result object deserialized from the server's reply
|
@@ -182,9 +185,10 @@ module Google
|
|
182
185
|
params: query_string_params,
|
183
186
|
options: options
|
184
187
|
)
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
185
189
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
186
190
|
|
187
|
-
yield result,
|
191
|
+
yield result, operation if block_given?
|
188
192
|
result
|
189
193
|
end
|
190
194
|
|
@@ -196,9 +200,9 @@ module Google
|
|
196
200
|
# @param options [::Gapic::CallOptions]
|
197
201
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
198
202
|
#
|
199
|
-
# @yield [result,
|
203
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
200
204
|
# @yieldparam result [::Google::Cloud::Compute::V1::BackendService]
|
201
|
-
# @yieldparam
|
205
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
202
206
|
#
|
203
207
|
# @return [::Google::Cloud::Compute::V1::BackendService]
|
204
208
|
# A result object deserialized from the server's reply
|
@@ -219,9 +223,10 @@ module Google
|
|
219
223
|
params: query_string_params,
|
220
224
|
options: options
|
221
225
|
)
|
226
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
222
227
|
result = ::Google::Cloud::Compute::V1::BackendService.decode_json response.body, ignore_unknown_fields: true
|
223
228
|
|
224
|
-
yield result,
|
229
|
+
yield result, operation if block_given?
|
225
230
|
result
|
226
231
|
end
|
227
232
|
|
@@ -233,9 +238,9 @@ module Google
|
|
233
238
|
# @param options [::Gapic::CallOptions]
|
234
239
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
235
240
|
#
|
236
|
-
# @yield [result,
|
241
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
237
242
|
# @yieldparam result [::Google::Cloud::Compute::V1::BackendServiceGroupHealth]
|
238
|
-
# @yieldparam
|
243
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
239
244
|
#
|
240
245
|
# @return [::Google::Cloud::Compute::V1::BackendServiceGroupHealth]
|
241
246
|
# A result object deserialized from the server's reply
|
@@ -256,9 +261,10 @@ module Google
|
|
256
261
|
params: query_string_params,
|
257
262
|
options: options
|
258
263
|
)
|
264
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
259
265
|
result = ::Google::Cloud::Compute::V1::BackendServiceGroupHealth.decode_json response.body, ignore_unknown_fields: true
|
260
266
|
|
261
|
-
yield result,
|
267
|
+
yield result, operation if block_given?
|
262
268
|
result
|
263
269
|
end
|
264
270
|
|
@@ -270,9 +276,9 @@ module Google
|
|
270
276
|
# @param options [::Gapic::CallOptions]
|
271
277
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
272
278
|
#
|
273
|
-
# @yield [result,
|
279
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
274
280
|
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
275
|
-
# @yieldparam
|
281
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
276
282
|
#
|
277
283
|
# @return [::Google::Cloud::Compute::V1::Policy]
|
278
284
|
# A result object deserialized from the server's reply
|
@@ -293,9 +299,10 @@ module Google
|
|
293
299
|
params: query_string_params,
|
294
300
|
options: options
|
295
301
|
)
|
302
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
296
303
|
result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
|
297
304
|
|
298
|
-
yield result,
|
305
|
+
yield result, operation if block_given?
|
299
306
|
result
|
300
307
|
end
|
301
308
|
|
@@ -307,9 +314,9 @@ module Google
|
|
307
314
|
# @param options [::Gapic::CallOptions]
|
308
315
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
309
316
|
#
|
310
|
-
# @yield [result,
|
317
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
311
318
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
312
|
-
# @yieldparam
|
319
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
313
320
|
#
|
314
321
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
315
322
|
# A result object deserialized from the server's reply
|
@@ -330,9 +337,10 @@ module Google
|
|
330
337
|
params: query_string_params,
|
331
338
|
options: options
|
332
339
|
)
|
340
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
333
341
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
334
342
|
|
335
|
-
yield result,
|
343
|
+
yield result, operation if block_given?
|
336
344
|
result
|
337
345
|
end
|
338
346
|
|
@@ -344,9 +352,9 @@ module Google
|
|
344
352
|
# @param options [::Gapic::CallOptions]
|
345
353
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
346
354
|
#
|
347
|
-
# @yield [result,
|
355
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
348
356
|
# @yieldparam result [::Google::Cloud::Compute::V1::BackendServiceList]
|
349
|
-
# @yieldparam
|
357
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
350
358
|
#
|
351
359
|
# @return [::Google::Cloud::Compute::V1::BackendServiceList]
|
352
360
|
# A result object deserialized from the server's reply
|
@@ -367,9 +375,10 @@ module Google
|
|
367
375
|
params: query_string_params,
|
368
376
|
options: options
|
369
377
|
)
|
378
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
370
379
|
result = ::Google::Cloud::Compute::V1::BackendServiceList.decode_json response.body, ignore_unknown_fields: true
|
371
380
|
|
372
|
-
yield result,
|
381
|
+
yield result, operation if block_given?
|
373
382
|
result
|
374
383
|
end
|
375
384
|
|
@@ -381,9 +390,9 @@ module Google
|
|
381
390
|
# @param options [::Gapic::CallOptions]
|
382
391
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
383
392
|
#
|
384
|
-
# @yield [result,
|
393
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
385
394
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
386
|
-
# @yieldparam
|
395
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
387
396
|
#
|
388
397
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
389
398
|
# A result object deserialized from the server's reply
|
@@ -404,9 +413,10 @@ module Google
|
|
404
413
|
params: query_string_params,
|
405
414
|
options: options
|
406
415
|
)
|
416
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
407
417
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
408
418
|
|
409
|
-
yield result,
|
419
|
+
yield result, operation if block_given?
|
410
420
|
result
|
411
421
|
end
|
412
422
|
|
@@ -418,9 +428,9 @@ module Google
|
|
418
428
|
# @param options [::Gapic::CallOptions]
|
419
429
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
420
430
|
#
|
421
|
-
# @yield [result,
|
431
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
422
432
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
423
|
-
# @yieldparam
|
433
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
424
434
|
#
|
425
435
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
426
436
|
# A result object deserialized from the server's reply
|
@@ -441,9 +451,10 @@ module Google
|
|
441
451
|
params: query_string_params,
|
442
452
|
options: options
|
443
453
|
)
|
454
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
444
455
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
445
456
|
|
446
|
-
yield result,
|
457
|
+
yield result, operation if block_given?
|
447
458
|
result
|
448
459
|
end
|
449
460
|
|
@@ -455,9 +466,9 @@ module Google
|
|
455
466
|
# @param options [::Gapic::CallOptions]
|
456
467
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
457
468
|
#
|
458
|
-
# @yield [result,
|
469
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
459
470
|
# @yieldparam result [::Google::Cloud::Compute::V1::Policy]
|
460
|
-
# @yieldparam
|
471
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
461
472
|
#
|
462
473
|
# @return [::Google::Cloud::Compute::V1::Policy]
|
463
474
|
# A result object deserialized from the server's reply
|
@@ -478,9 +489,10 @@ module Google
|
|
478
489
|
params: query_string_params,
|
479
490
|
options: options
|
480
491
|
)
|
492
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
481
493
|
result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
|
482
494
|
|
483
|
-
yield result,
|
495
|
+
yield result, operation if block_given?
|
484
496
|
result
|
485
497
|
end
|
486
498
|
|
@@ -492,9 +504,9 @@ module Google
|
|
492
504
|
# @param options [::Gapic::CallOptions]
|
493
505
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
494
506
|
#
|
495
|
-
# @yield [result,
|
507
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
496
508
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
497
|
-
# @yieldparam
|
509
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
498
510
|
#
|
499
511
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
500
512
|
# A result object deserialized from the server's reply
|
@@ -515,9 +527,10 @@ module Google
|
|
515
527
|
params: query_string_params,
|
516
528
|
options: options
|
517
529
|
)
|
530
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
518
531
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
519
532
|
|
520
|
-
yield result,
|
533
|
+
yield result, operation if block_given?
|
521
534
|
result
|
522
535
|
end
|
523
536
|
|
@@ -529,9 +542,9 @@ module Google
|
|
529
542
|
# @param options [::Gapic::CallOptions]
|
530
543
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
531
544
|
#
|
532
|
-
# @yield [result,
|
545
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
533
546
|
# @yieldparam result [::Google::Cloud::Compute::V1::Operation]
|
534
|
-
# @yieldparam
|
547
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
535
548
|
#
|
536
549
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
537
550
|
# A result object deserialized from the server's reply
|
@@ -552,9 +565,10 @@ module Google
|
|
552
565
|
params: query_string_params,
|
553
566
|
options: options
|
554
567
|
)
|
568
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
555
569
|
result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
|
556
570
|
|
557
|
-
yield result,
|
571
|
+
yield result, operation if block_given?
|
558
572
|
result
|
559
573
|
end
|
560
574
|
|
@@ -664,6 +664,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
664
664
|
proto3_optional :ip_cidr_range, :string, 98117322
|
665
665
|
proto3_optional :subnetwork_range_name, :string, 387995966
|
666
666
|
end
|
667
|
+
add_message "google.cloud.compute.v1.AllocationResourceStatus" do
|
668
|
+
proto3_optional :specific_sku_allocation, :message, 196231151, "google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation"
|
669
|
+
end
|
670
|
+
add_message "google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation" do
|
671
|
+
proto3_optional :source_instance_template_id, :string, 111196154
|
672
|
+
end
|
667
673
|
add_message "google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk" do
|
668
674
|
proto3_optional :disk_size_gb, :int64, 316263735
|
669
675
|
proto3_optional :interface, :string, 502623545
|
@@ -685,6 +691,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
685
691
|
proto3_optional :count, :int64, 94851343
|
686
692
|
proto3_optional :in_use_count, :int64, 493458877
|
687
693
|
proto3_optional :instance_properties, :message, 215355165, "google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties"
|
694
|
+
proto3_optional :source_instance_template, :string, 332423616
|
688
695
|
end
|
689
696
|
add_message "google.cloud.compute.v1.Allowed" do
|
690
697
|
proto3_optional :I_p_protocol, :string, 488094525
|
@@ -3263,6 +3270,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
3263
3270
|
value :MULTI_IP_SUBNET, 151776719
|
3264
3271
|
value :SECURE_BOOT, 376811194
|
3265
3272
|
value :SEV_CAPABLE, 87083793
|
3273
|
+
value :SEV_SNP_CAPABLE, 426919
|
3266
3274
|
value :UEFI_COMPATIBLE, 195865408
|
3267
3275
|
value :VIRTIO_SCSI_MULTIQUEUE, 201597069
|
3268
3276
|
value :WINDOWS, 456863331
|
@@ -6279,6 +6287,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
6279
6287
|
proto3_optional :kind, :string, 3292052
|
6280
6288
|
proto3_optional :name, :string, 3373707
|
6281
6289
|
proto3_optional :network, :string, 232872494
|
6290
|
+
proto3_optional :network_attachment, :string, 224644052
|
6282
6291
|
proto3_optional :network_i_p, :string, 207181961
|
6283
6292
|
proto3_optional :nic_type, :string, 59810577
|
6284
6293
|
proto3_optional :queue_count, :int32, 503708769
|
@@ -7753,6 +7762,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7753
7762
|
proto3_optional :kind, :string, 3292052
|
7754
7763
|
proto3_optional :name, :string, 3373707
|
7755
7764
|
map :resource_policies, :string, :string, 22220385
|
7765
|
+
proto3_optional :resource_status, :message, 249429315, "google.cloud.compute.v1.AllocationResourceStatus"
|
7756
7766
|
proto3_optional :satisfies_pzs, :bool, 480964267
|
7757
7767
|
proto3_optional :self_link, :string, 456214797
|
7758
7768
|
proto3_optional :share_settings, :message, 266668163, "google.cloud.compute.v1.ShareSettings"
|
@@ -10834,6 +10844,8 @@ module Google
|
|
10834
10844
|
AggregatedListVpnGatewaysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AggregatedListVpnGatewaysRequest").msgclass
|
10835
10845
|
AggregatedListVpnTunnelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AggregatedListVpnTunnelsRequest").msgclass
|
10836
10846
|
AliasIpRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AliasIpRange").msgclass
|
10847
|
+
AllocationResourceStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AllocationResourceStatus").msgclass
|
10848
|
+
AllocationResourceStatusSpecificSKUAllocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation").msgclass
|
10837
10849
|
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk").msgclass
|
10838
10850
|
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk::Interface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Interface").enummodule
|
10839
10851
|
AllocationSpecificSKUAllocationReservedInstanceProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties").msgclass
|