google-cloud-compute-v1 1.10.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +12 -12
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +12 -9
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +18 -18
  5. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +24 -18
  6. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +20 -20
  7. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +28 -21
  8. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +22 -22
  9. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +36 -27
  10. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +40 -40
  11. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +56 -42
  12. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +12 -12
  13. data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +12 -9
  14. data/lib/google/cloud/compute/v1/disks/rest/client.rb +38 -38
  15. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +52 -39
  16. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +18 -18
  17. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +24 -18
  18. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +52 -52
  19. data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +72 -54
  20. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +16 -16
  21. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +24 -18
  22. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +22 -22
  23. data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +32 -24
  24. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +14 -14
  25. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +20 -15
  26. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +18 -18
  27. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +28 -21
  28. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +20 -20
  29. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +28 -21
  30. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +20 -20
  31. data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +20 -15
  32. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +12 -12
  33. data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +12 -9
  34. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +14 -14
  35. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +20 -15
  36. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +20 -20
  37. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +28 -21
  38. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +4 -4
  39. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +4 -3
  40. data/lib/google/cloud/compute/v1/images/rest/client.rb +34 -34
  41. data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +44 -33
  42. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +52 -52
  43. data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +80 -60
  44. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +26 -26
  45. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +36 -27
  46. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +24 -24
  47. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +28 -21
  48. data/lib/google/cloud/compute/v1/instances/rest/client.rb +116 -116
  49. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +180 -135
  50. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +20 -20
  51. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +28 -21
  52. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +8 -8
  53. data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +8 -6
  54. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +20 -20
  55. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +28 -21
  56. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +8 -8
  57. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +8 -6
  58. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +24 -24
  59. data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +28 -21
  60. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +24 -24
  61. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +28 -21
  62. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +12 -12
  63. data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +12 -9
  64. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +28 -28
  65. data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +32 -24
  66. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +14 -14
  67. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +20 -15
  68. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +28 -28
  69. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +36 -27
  70. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +46 -46
  71. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +64 -48
  72. data/lib/google/cloud/compute/v1/networks/rest/client.rb +30 -30
  73. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +44 -33
  74. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +40 -40
  75. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +52 -39
  76. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +28 -28
  77. data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +32 -24
  78. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +12 -12
  79. data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +12 -9
  80. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +22 -22
  81. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +28 -21
  82. data/lib/google/cloud/compute/v1/projects/rest/client.rb +34 -34
  83. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +52 -39
  84. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +14 -14
  85. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +20 -15
  86. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +18 -18
  87. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +24 -18
  88. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +16 -16
  89. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +24 -18
  90. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +28 -28
  91. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +36 -27
  92. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +16 -16
  93. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +20 -15
  94. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +8 -8
  95. data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +8 -6
  96. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +34 -34
  97. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +48 -36
  98. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +14 -14
  99. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +20 -15
  100. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +16 -16
  101. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +24 -18
  102. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +48 -48
  103. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +76 -57
  104. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +14 -14
  105. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +16 -12
  106. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
  107. data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -3
  108. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +12 -12
  109. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +16 -12
  110. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +50 -50
  111. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +68 -51
  112. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +12 -12
  113. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +16 -12
  114. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +16 -16
  115. data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +16 -12
  116. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +14 -14
  117. data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +20 -15
  118. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +12 -12
  119. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +16 -12
  120. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +18 -18
  121. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +24 -18
  122. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +14 -14
  123. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +20 -15
  124. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +18 -18
  125. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +28 -21
  126. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +12 -12
  127. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +16 -12
  128. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +20 -20
  129. data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +28 -21
  130. data/lib/google/cloud/compute/v1/regions/rest/client.rb +8 -8
  131. data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +8 -6
  132. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +32 -32
  133. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +40 -30
  134. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +28 -28
  135. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +32 -24
  136. data/lib/google/cloud/compute/v1/routers/rest/client.rb +32 -32
  137. data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +40 -30
  138. data/lib/google/cloud/compute/v1/routes/rest/client.rb +12 -12
  139. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +16 -12
  140. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +34 -34
  141. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +48 -36
  142. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +30 -30
  143. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +36 -27
  144. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +26 -26
  145. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +32 -24
  146. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +16 -16
  147. data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +20 -15
  148. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +22 -22
  149. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +28 -21
  150. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +38 -38
  151. data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +48 -36
  152. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +14 -14
  153. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +20 -15
  154. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +20 -20
  155. data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +28 -21
  156. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +28 -28
  157. data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +44 -33
  158. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +16 -16
  159. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +20 -15
  160. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +30 -30
  161. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +44 -33
  162. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +22 -22
  163. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +36 -27
  164. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +20 -20
  165. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +28 -21
  166. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +18 -18
  167. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +24 -18
  168. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +26 -26
  169. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +36 -27
  170. data/lib/google/cloud/compute/v1/version.rb +1 -1
  171. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +26 -26
  172. data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +32 -24
  173. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +18 -18
  174. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +24 -18
  175. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +16 -16
  176. data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +16 -12
  177. data/lib/google/cloud/compute/v1/zones/rest/client.rb +8 -8
  178. data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +8 -6
  179. data/proto_docs/google/cloud/compute/v1/compute.rb +1128 -1128
  180. metadata +6 -6
@@ -297,9 +297,9 @@ module Google
297
297
  # 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).
298
298
  # @param zone [::String]
299
299
  # The name of the zone for this request.
300
- # @yield [result, response] Access the result along with the Faraday response object
300
+ # @yield [result, operation] Access the result along with the TransportOperation object
301
301
  # @yieldparam result [::Gapic::GenericLRO::Operation]
302
- # @yieldparam response [::Faraday::Response]
302
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
303
303
  #
304
304
  # @return [::Gapic::GenericLRO::Operation]
305
305
  #
@@ -376,9 +376,9 @@ module Google
376
376
  # 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).
377
377
  # @param zone [::String]
378
378
  # The name of the zone for this request.
379
- # @yield [result, response] Access the result along with the Faraday response object
379
+ # @yield [result, operation] Access the result along with the TransportOperation object
380
380
  # @yieldparam result [::Gapic::GenericLRO::Operation]
381
- # @yieldparam response [::Faraday::Response]
381
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
382
382
  #
383
383
  # @return [::Gapic::GenericLRO::Operation]
384
384
  #
@@ -459,9 +459,9 @@ module Google
459
459
  # Project ID for this request.
460
460
  # @param return_partial_success [::Boolean]
461
461
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
462
- # @yield [result, response] Access the result along with the Faraday response object
462
+ # @yield [result, operation] Access the result along with the TransportOperation object
463
463
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstancesScopedList>]
464
- # @yieldparam response [::Faraday::Response]
464
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
465
465
  #
466
466
  # @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstancesScopedList>]
467
467
  #
@@ -493,9 +493,9 @@ module Google
493
493
  metadata: @config.metadata,
494
494
  retry_policy: @config.retry_policy
495
495
 
496
- @instances_stub.aggregated_list request, options do |result, response|
496
+ @instances_stub.aggregated_list request, options do |result, operation|
497
497
  result = ::Gapic::Rest::PagedEnumerable.new @instances_stub, :aggregated_list, "items", request, result, options
498
- yield result, response if block_given?
498
+ yield result, operation if block_given?
499
499
  return result
500
500
  end
501
501
  rescue ::Gapic::Rest::Error => e
@@ -532,9 +532,9 @@ module Google
532
532
  # 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).
533
533
  # @param zone [::String]
534
534
  # The name of the zone for this request.
535
- # @yield [result, response] Access the result along with the Faraday response object
535
+ # @yield [result, operation] Access the result along with the TransportOperation object
536
536
  # @yieldparam result [::Gapic::GenericLRO::Operation]
537
- # @yieldparam response [::Faraday::Response]
537
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
538
538
  #
539
539
  # @return [::Gapic::GenericLRO::Operation]
540
540
  #
@@ -609,9 +609,9 @@ module Google
609
609
  # 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).
610
610
  # @param zone [::String]
611
611
  # The name of the zone for this request.
612
- # @yield [result, response] Access the result along with the Faraday response object
612
+ # @yield [result, operation] Access the result along with the TransportOperation object
613
613
  # @yieldparam result [::Gapic::GenericLRO::Operation]
614
- # @yieldparam response [::Faraday::Response]
614
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
615
615
  #
616
616
  # @return [::Gapic::GenericLRO::Operation]
617
617
  #
@@ -686,9 +686,9 @@ module Google
686
686
  # 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).
687
687
  # @param zone [::String]
688
688
  # The name of the zone for this request.
689
- # @yield [result, response] Access the result along with the Faraday response object
689
+ # @yield [result, operation] Access the result along with the TransportOperation object
690
690
  # @yieldparam result [::Gapic::GenericLRO::Operation]
691
- # @yieldparam response [::Faraday::Response]
691
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
692
692
  #
693
693
  # @return [::Gapic::GenericLRO::Operation]
694
694
  #
@@ -767,9 +767,9 @@ module Google
767
767
  # 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).
768
768
  # @param zone [::String]
769
769
  # The name of the zone for this request.
770
- # @yield [result, response] Access the result along with the Faraday response object
770
+ # @yield [result, operation] Access the result along with the TransportOperation object
771
771
  # @yieldparam result [::Gapic::GenericLRO::Operation]
772
- # @yieldparam response [::Faraday::Response]
772
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
773
773
  #
774
774
  # @return [::Gapic::GenericLRO::Operation]
775
775
  #
@@ -846,9 +846,9 @@ module Google
846
846
  # 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).
847
847
  # @param zone [::String]
848
848
  # The name of the zone for this request.
849
- # @yield [result, response] Access the result along with the Faraday response object
849
+ # @yield [result, operation] Access the result along with the TransportOperation object
850
850
  # @yieldparam result [::Gapic::GenericLRO::Operation]
851
- # @yieldparam response [::Faraday::Response]
851
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
852
852
  #
853
853
  # @return [::Gapic::GenericLRO::Operation]
854
854
  #
@@ -921,9 +921,9 @@ module Google
921
921
  # Project ID for this request.
922
922
  # @param zone [::String]
923
923
  # The name of the zone for this request.
924
- # @yield [result, response] Access the result along with the Faraday response object
924
+ # @yield [result, operation] Access the result along with the TransportOperation object
925
925
  # @yieldparam result [::Google::Cloud::Compute::V1::Instance]
926
- # @yieldparam response [::Faraday::Response]
926
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
927
927
  #
928
928
  # @return [::Google::Cloud::Compute::V1::Instance]
929
929
  #
@@ -955,8 +955,8 @@ module Google
955
955
  metadata: @config.metadata,
956
956
  retry_policy: @config.retry_policy
957
957
 
958
- @instances_stub.get request, options do |result, response|
959
- yield result, response if block_given?
958
+ @instances_stub.get request, options do |result, operation|
959
+ yield result, operation if block_given?
960
960
  return result
961
961
  end
962
962
  rescue ::Gapic::Rest::Error => e
@@ -989,9 +989,9 @@ module Google
989
989
  # Project ID for this request.
990
990
  # @param zone [::String]
991
991
  # The name of the zone for this request.
992
- # @yield [result, response] Access the result along with the Faraday response object
992
+ # @yield [result, operation] Access the result along with the TransportOperation object
993
993
  # @yieldparam result [::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse]
994
- # @yieldparam response [::Faraday::Response]
994
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
995
995
  #
996
996
  # @return [::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse]
997
997
  #
@@ -1023,8 +1023,8 @@ module Google
1023
1023
  metadata: @config.metadata,
1024
1024
  retry_policy: @config.retry_policy
1025
1025
 
1026
- @instances_stub.get_effective_firewalls request, options do |result, response|
1027
- yield result, response if block_given?
1026
+ @instances_stub.get_effective_firewalls request, options do |result, operation|
1027
+ yield result, operation if block_given?
1028
1028
  return result
1029
1029
  end
1030
1030
  rescue ::Gapic::Rest::Error => e
@@ -1059,9 +1059,9 @@ module Google
1059
1059
  # Specifies the key for the guest attributes entry.
1060
1060
  # @param zone [::String]
1061
1061
  # The name of the zone for this request.
1062
- # @yield [result, response] Access the result along with the Faraday response object
1062
+ # @yield [result, operation] Access the result along with the TransportOperation object
1063
1063
  # @yieldparam result [::Google::Cloud::Compute::V1::GuestAttributes]
1064
- # @yieldparam response [::Faraday::Response]
1064
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1065
1065
  #
1066
1066
  # @return [::Google::Cloud::Compute::V1::GuestAttributes]
1067
1067
  #
@@ -1093,8 +1093,8 @@ module Google
1093
1093
  metadata: @config.metadata,
1094
1094
  retry_policy: @config.retry_policy
1095
1095
 
1096
- @instances_stub.get_guest_attributes request, options do |result, response|
1097
- yield result, response if block_given?
1096
+ @instances_stub.get_guest_attributes request, options do |result, operation|
1097
+ yield result, operation if block_given?
1098
1098
  return result
1099
1099
  end
1100
1100
  rescue ::Gapic::Rest::Error => e
@@ -1127,9 +1127,9 @@ module Google
1127
1127
  # Name or id of the resource for this request.
1128
1128
  # @param zone [::String]
1129
1129
  # The name of the zone for this request.
1130
- # @yield [result, response] Access the result along with the Faraday response object
1130
+ # @yield [result, operation] Access the result along with the TransportOperation object
1131
1131
  # @yieldparam result [::Google::Cloud::Compute::V1::Policy]
1132
- # @yieldparam response [::Faraday::Response]
1132
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1133
1133
  #
1134
1134
  # @return [::Google::Cloud::Compute::V1::Policy]
1135
1135
  #
@@ -1161,8 +1161,8 @@ module Google
1161
1161
  metadata: @config.metadata,
1162
1162
  retry_policy: @config.retry_policy
1163
1163
 
1164
- @instances_stub.get_iam_policy request, options do |result, response|
1165
- yield result, response if block_given?
1164
+ @instances_stub.get_iam_policy request, options do |result, operation|
1165
+ yield result, operation if block_given?
1166
1166
  return result
1167
1167
  end
1168
1168
  rescue ::Gapic::Rest::Error => e
@@ -1193,9 +1193,9 @@ module Google
1193
1193
  # Project ID for this request.
1194
1194
  # @param zone [::String]
1195
1195
  # The name of the zone for this request.
1196
- # @yield [result, response] Access the result along with the Faraday response object
1196
+ # @yield [result, operation] Access the result along with the TransportOperation object
1197
1197
  # @yieldparam result [::Google::Cloud::Compute::V1::Screenshot]
1198
- # @yieldparam response [::Faraday::Response]
1198
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1199
1199
  #
1200
1200
  # @return [::Google::Cloud::Compute::V1::Screenshot]
1201
1201
  #
@@ -1227,8 +1227,8 @@ module Google
1227
1227
  metadata: @config.metadata,
1228
1228
  retry_policy: @config.retry_policy
1229
1229
 
1230
- @instances_stub.get_screenshot request, options do |result, response|
1231
- yield result, response if block_given?
1230
+ @instances_stub.get_screenshot request, options do |result, operation|
1231
+ yield result, operation if block_given?
1232
1232
  return result
1233
1233
  end
1234
1234
  rescue ::Gapic::Rest::Error => e
@@ -1263,9 +1263,9 @@ module Google
1263
1263
  # Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.
1264
1264
  # @param zone [::String]
1265
1265
  # The name of the zone for this request.
1266
- # @yield [result, response] Access the result along with the Faraday response object
1266
+ # @yield [result, operation] Access the result along with the TransportOperation object
1267
1267
  # @yieldparam result [::Google::Cloud::Compute::V1::SerialPortOutput]
1268
- # @yieldparam response [::Faraday::Response]
1268
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1269
1269
  #
1270
1270
  # @return [::Google::Cloud::Compute::V1::SerialPortOutput]
1271
1271
  #
@@ -1297,8 +1297,8 @@ module Google
1297
1297
  metadata: @config.metadata,
1298
1298
  retry_policy: @config.retry_policy
1299
1299
 
1300
- @instances_stub.get_serial_port_output request, options do |result, response|
1301
- yield result, response if block_given?
1300
+ @instances_stub.get_serial_port_output request, options do |result, operation|
1301
+ yield result, operation if block_given?
1302
1302
  return result
1303
1303
  end
1304
1304
  rescue ::Gapic::Rest::Error => e
@@ -1329,9 +1329,9 @@ module Google
1329
1329
  # Project ID for this request.
1330
1330
  # @param zone [::String]
1331
1331
  # The name of the zone for this request.
1332
- # @yield [result, response] Access the result along with the Faraday response object
1332
+ # @yield [result, operation] Access the result along with the TransportOperation object
1333
1333
  # @yieldparam result [::Google::Cloud::Compute::V1::ShieldedInstanceIdentity]
1334
- # @yieldparam response [::Faraday::Response]
1334
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1335
1335
  #
1336
1336
  # @return [::Google::Cloud::Compute::V1::ShieldedInstanceIdentity]
1337
1337
  #
@@ -1363,8 +1363,8 @@ module Google
1363
1363
  metadata: @config.metadata,
1364
1364
  retry_policy: @config.retry_policy
1365
1365
 
1366
- @instances_stub.get_shielded_instance_identity request, options do |result, response|
1367
- yield result, response if block_given?
1366
+ @instances_stub.get_shielded_instance_identity request, options do |result, operation|
1367
+ yield result, operation if block_given?
1368
1368
  return result
1369
1369
  end
1370
1370
  rescue ::Gapic::Rest::Error => e
@@ -1401,9 +1401,9 @@ module Google
1401
1401
  # Specifies the machine image to use to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to a machine image: - https://www.googleapis.com/compute/v1/projects/project/global/global /machineImages/machineImage - projects/project/global/global/machineImages/machineImage - global/machineImages/machineImage
1402
1402
  # @param zone [::String]
1403
1403
  # The name of the zone for this request.
1404
- # @yield [result, response] Access the result along with the Faraday response object
1404
+ # @yield [result, operation] Access the result along with the TransportOperation object
1405
1405
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1406
- # @yieldparam response [::Faraday::Response]
1406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1407
1407
  #
1408
1408
  # @return [::Gapic::GenericLRO::Operation]
1409
1409
  #
@@ -1484,9 +1484,9 @@ module Google
1484
1484
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1485
1485
  # @param zone [::String]
1486
1486
  # The name of the zone for this request.
1487
- # @yield [result, response] Access the result along with the Faraday response object
1487
+ # @yield [result, operation] Access the result along with the TransportOperation object
1488
1488
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Instance>]
1489
- # @yieldparam response [::Faraday::Response]
1489
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1490
1490
  #
1491
1491
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Instance>]
1492
1492
  #
@@ -1518,9 +1518,9 @@ module Google
1518
1518
  metadata: @config.metadata,
1519
1519
  retry_policy: @config.retry_policy
1520
1520
 
1521
- @instances_stub.list request, options do |result, response|
1521
+ @instances_stub.list request, options do |result, operation|
1522
1522
  result = ::Gapic::Rest::PagedEnumerable.new @instances_stub, :list, "items", request, result, options
1523
- yield result, response if block_given?
1523
+ yield result, operation if block_given?
1524
1524
  return result
1525
1525
  end
1526
1526
  rescue ::Gapic::Rest::Error => e
@@ -1561,9 +1561,9 @@ module Google
1561
1561
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1562
1562
  # @param zone [::String]
1563
1563
  # The name of the zone for this request.
1564
- # @yield [result, response] Access the result along with the Faraday response object
1564
+ # @yield [result, operation] Access the result along with the TransportOperation object
1565
1565
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Reference>]
1566
- # @yieldparam response [::Faraday::Response]
1566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1567
1567
  #
1568
1568
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Reference>]
1569
1569
  #
@@ -1595,9 +1595,9 @@ module Google
1595
1595
  metadata: @config.metadata,
1596
1596
  retry_policy: @config.retry_policy
1597
1597
 
1598
- @instances_stub.list_referrers request, options do |result, response|
1598
+ @instances_stub.list_referrers request, options do |result, operation|
1599
1599
  result = ::Gapic::Rest::PagedEnumerable.new @instances_stub, :list_referrers, "items", request, result, options
1600
- yield result, response if block_given?
1600
+ yield result, operation if block_given?
1601
1601
  return result
1602
1602
  end
1603
1603
  rescue ::Gapic::Rest::Error => e
@@ -1632,9 +1632,9 @@ module Google
1632
1632
  # 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).
1633
1633
  # @param zone [::String]
1634
1634
  # The name of the zone for this request.
1635
- # @yield [result, response] Access the result along with the Faraday response object
1635
+ # @yield [result, operation] Access the result along with the TransportOperation object
1636
1636
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1637
- # @yieldparam response [::Faraday::Response]
1637
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1638
1638
  #
1639
1639
  # @return [::Gapic::GenericLRO::Operation]
1640
1640
  #
@@ -1709,9 +1709,9 @@ module Google
1709
1709
  # 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).
1710
1710
  # @param zone [::String]
1711
1711
  # The name of the zone for this request.
1712
- # @yield [result, response] Access the result along with the Faraday response object
1712
+ # @yield [result, operation] Access the result along with the TransportOperation object
1713
1713
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1714
- # @yieldparam response [::Faraday::Response]
1714
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1715
1715
  #
1716
1716
  # @return [::Gapic::GenericLRO::Operation]
1717
1717
  #
@@ -1786,9 +1786,9 @@ module Google
1786
1786
  # 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).
1787
1787
  # @param zone [::String]
1788
1788
  # The name of the zone for this request.
1789
- # @yield [result, response] Access the result along with the Faraday response object
1789
+ # @yield [result, operation] Access the result along with the TransportOperation object
1790
1790
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1791
- # @yieldparam response [::Faraday::Response]
1791
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1792
1792
  #
1793
1793
  # @return [::Gapic::GenericLRO::Operation]
1794
1794
  #
@@ -1861,9 +1861,9 @@ module Google
1861
1861
  # Project ID for this request.
1862
1862
  # @param zone [::String]
1863
1863
  # The name of the zone for this request.
1864
- # @yield [result, response] Access the result along with the Faraday response object
1864
+ # @yield [result, operation] Access the result along with the TransportOperation object
1865
1865
  # @yieldparam result [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse]
1866
- # @yieldparam response [::Faraday::Response]
1866
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1867
1867
  #
1868
1868
  # @return [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse]
1869
1869
  #
@@ -1895,8 +1895,8 @@ module Google
1895
1895
  metadata: @config.metadata,
1896
1896
  retry_policy: @config.retry_policy
1897
1897
 
1898
- @instances_stub.send_diagnostic_interrupt request, options do |result, response|
1899
- yield result, response if block_given?
1898
+ @instances_stub.send_diagnostic_interrupt request, options do |result, operation|
1899
+ yield result, operation if block_given?
1900
1900
  return result
1901
1901
  end
1902
1902
  rescue ::Gapic::Rest::Error => e
@@ -1931,9 +1931,9 @@ module Google
1931
1931
  # Name or id of the resource for this request.
1932
1932
  # @param zone [::String]
1933
1933
  # The name of the zone for this request.
1934
- # @yield [result, response] Access the result along with the Faraday response object
1934
+ # @yield [result, operation] Access the result along with the TransportOperation object
1935
1935
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1936
- # @yieldparam response [::Faraday::Response]
1936
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1937
1937
  #
1938
1938
  # @return [::Gapic::GenericLRO::Operation]
1939
1939
  #
@@ -2012,9 +2012,9 @@ module Google
2012
2012
  # 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).
2013
2013
  # @param zone [::String]
2014
2014
  # The name of the zone for this request.
2015
- # @yield [result, response] Access the result along with the Faraday response object
2015
+ # @yield [result, operation] Access the result along with the TransportOperation object
2016
2016
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2017
- # @yieldparam response [::Faraday::Response]
2017
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2018
2018
  #
2019
2019
  # @return [::Gapic::GenericLRO::Operation]
2020
2020
  #
@@ -2089,9 +2089,9 @@ module Google
2089
2089
  # The name of the zone for this request.
2090
2090
  # @param zone_set_policy_request_resource [::Google::Cloud::Compute::V1::ZoneSetPolicyRequest, ::Hash]
2091
2091
  # The body resource for this request
2092
- # @yield [result, response] Access the result along with the Faraday response object
2092
+ # @yield [result, operation] Access the result along with the TransportOperation object
2093
2093
  # @yieldparam result [::Google::Cloud::Compute::V1::Policy]
2094
- # @yieldparam response [::Faraday::Response]
2094
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2095
2095
  #
2096
2096
  # @return [::Google::Cloud::Compute::V1::Policy]
2097
2097
  #
@@ -2123,8 +2123,8 @@ module Google
2123
2123
  metadata: @config.metadata,
2124
2124
  retry_policy: @config.retry_policy
2125
2125
 
2126
- @instances_stub.set_iam_policy request, options do |result, response|
2127
- yield result, response if block_given?
2126
+ @instances_stub.set_iam_policy request, options do |result, operation|
2127
+ yield result, operation if block_given?
2128
2128
  return result
2129
2129
  end
2130
2130
  rescue ::Gapic::Rest::Error => e
@@ -2159,9 +2159,9 @@ module Google
2159
2159
  # 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).
2160
2160
  # @param zone [::String]
2161
2161
  # The name of the zone for this request.
2162
- # @yield [result, response] Access the result along with the Faraday response object
2162
+ # @yield [result, operation] Access the result along with the TransportOperation object
2163
2163
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2164
- # @yieldparam response [::Faraday::Response]
2164
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2165
2165
  #
2166
2166
  # @return [::Gapic::GenericLRO::Operation]
2167
2167
  #
@@ -2238,9 +2238,9 @@ module Google
2238
2238
  # 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).
2239
2239
  # @param zone [::String]
2240
2240
  # The name of the zone for this request.
2241
- # @yield [result, response] Access the result along with the Faraday response object
2241
+ # @yield [result, operation] Access the result along with the TransportOperation object
2242
2242
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2243
- # @yieldparam response [::Faraday::Response]
2243
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2244
2244
  #
2245
2245
  # @return [::Gapic::GenericLRO::Operation]
2246
2246
  #
@@ -2317,9 +2317,9 @@ module Google
2317
2317
  # 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).
2318
2318
  # @param zone [::String]
2319
2319
  # The name of the zone for this request.
2320
- # @yield [result, response] Access the result along with the Faraday response object
2320
+ # @yield [result, operation] Access the result along with the TransportOperation object
2321
2321
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2322
- # @yieldparam response [::Faraday::Response]
2322
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2323
2323
  #
2324
2324
  # @return [::Gapic::GenericLRO::Operation]
2325
2325
  #
@@ -2396,9 +2396,9 @@ module Google
2396
2396
  # 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).
2397
2397
  # @param zone [::String]
2398
2398
  # The name of the zone for this request.
2399
- # @yield [result, response] Access the result along with the Faraday response object
2399
+ # @yield [result, operation] Access the result along with the TransportOperation object
2400
2400
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2401
- # @yieldparam response [::Faraday::Response]
2401
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2402
2402
  #
2403
2403
  # @return [::Gapic::GenericLRO::Operation]
2404
2404
  #
@@ -2475,9 +2475,9 @@ module Google
2475
2475
  # 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).
2476
2476
  # @param zone [::String]
2477
2477
  # The name of the zone for this request.
2478
- # @yield [result, response] Access the result along with the Faraday response object
2478
+ # @yield [result, operation] Access the result along with the TransportOperation object
2479
2479
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2480
- # @yieldparam response [::Faraday::Response]
2480
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2481
2481
  #
2482
2482
  # @return [::Gapic::GenericLRO::Operation]
2483
2483
  #
@@ -2554,9 +2554,9 @@ module Google
2554
2554
  # The body resource for this request
2555
2555
  # @param zone [::String]
2556
2556
  # The name of the zone for this request.
2557
- # @yield [result, response] Access the result along with the Faraday response object
2557
+ # @yield [result, operation] Access the result along with the TransportOperation object
2558
2558
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2559
- # @yieldparam response [::Faraday::Response]
2559
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2560
2560
  #
2561
2561
  # @return [::Gapic::GenericLRO::Operation]
2562
2562
  #
@@ -2633,9 +2633,9 @@ module Google
2633
2633
  # 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).
2634
2634
  # @param zone [::String]
2635
2635
  # The name of the zone for this request.
2636
- # @yield [result, response] Access the result along with the Faraday response object
2636
+ # @yield [result, operation] Access the result along with the TransportOperation object
2637
2637
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2638
- # @yieldparam response [::Faraday::Response]
2638
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2639
2639
  #
2640
2640
  # @return [::Gapic::GenericLRO::Operation]
2641
2641
  #
@@ -2712,9 +2712,9 @@ module Google
2712
2712
  # The body resource for this request
2713
2713
  # @param zone [::String]
2714
2714
  # The name of the zone for this request.
2715
- # @yield [result, response] Access the result along with the Faraday response object
2715
+ # @yield [result, operation] Access the result along with the TransportOperation object
2716
2716
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2717
- # @yieldparam response [::Faraday::Response]
2717
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2718
2718
  #
2719
2719
  # @return [::Gapic::GenericLRO::Operation]
2720
2720
  #
@@ -2791,9 +2791,9 @@ module Google
2791
2791
  # The body resource for this request
2792
2792
  # @param zone [::String]
2793
2793
  # The name of the zone for this request.
2794
- # @yield [result, response] Access the result along with the Faraday response object
2794
+ # @yield [result, operation] Access the result along with the TransportOperation object
2795
2795
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2796
- # @yieldparam response [::Faraday::Response]
2796
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2797
2797
  #
2798
2798
  # @return [::Gapic::GenericLRO::Operation]
2799
2799
  #
@@ -2866,9 +2866,9 @@ module Google
2866
2866
  # Project ID for this request.
2867
2867
  # @param zone [::String]
2868
2868
  # The name of the zone for this request.
2869
- # @yield [result, response] Access the result along with the Faraday response object
2869
+ # @yield [result, operation] Access the result along with the TransportOperation object
2870
2870
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2871
- # @yieldparam response [::Faraday::Response]
2871
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2872
2872
  #
2873
2873
  # @return [::Gapic::GenericLRO::Operation]
2874
2874
  #
@@ -2943,9 +2943,9 @@ module Google
2943
2943
  # 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).
2944
2944
  # @param zone [::String]
2945
2945
  # The name of the zone for this request.
2946
- # @yield [result, response] Access the result along with the Faraday response object
2946
+ # @yield [result, operation] Access the result along with the TransportOperation object
2947
2947
  # @yieldparam result [::Gapic::GenericLRO::Operation]
2948
- # @yieldparam response [::Faraday::Response]
2948
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2949
2949
  #
2950
2950
  # @return [::Gapic::GenericLRO::Operation]
2951
2951
  #
@@ -3022,9 +3022,9 @@ module Google
3022
3022
  # 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).
3023
3023
  # @param zone [::String]
3024
3024
  # The name of the zone for this request.
3025
- # @yield [result, response] Access the result along with the Faraday response object
3025
+ # @yield [result, operation] Access the result along with the TransportOperation object
3026
3026
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3027
- # @yieldparam response [::Faraday::Response]
3027
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3028
3028
  #
3029
3029
  # @return [::Gapic::GenericLRO::Operation]
3030
3030
  #
@@ -3101,9 +3101,9 @@ module Google
3101
3101
  # 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).
3102
3102
  # @param zone [::String]
3103
3103
  # The name of the zone for this request.
3104
- # @yield [result, response] Access the result along with the Faraday response object
3104
+ # @yield [result, operation] Access the result along with the TransportOperation object
3105
3105
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3106
- # @yieldparam response [::Faraday::Response]
3106
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3107
3107
  #
3108
3108
  # @return [::Gapic::GenericLRO::Operation]
3109
3109
  #
@@ -3180,9 +3180,9 @@ module Google
3180
3180
  # 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).
3181
3181
  # @param zone [::String]
3182
3182
  # The name of the zone for this request.
3183
- # @yield [result, response] Access the result along with the Faraday response object
3183
+ # @yield [result, operation] Access the result along with the TransportOperation object
3184
3184
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3185
- # @yieldparam response [::Faraday::Response]
3185
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3186
3186
  #
3187
3187
  # @return [::Gapic::GenericLRO::Operation]
3188
3188
  #
@@ -3257,9 +3257,9 @@ module Google
3257
3257
  # The body resource for this request
3258
3258
  # @param zone [::String]
3259
3259
  # The name of the zone for this request.
3260
- # @yield [result, response] Access the result along with the Faraday response object
3260
+ # @yield [result, operation] Access the result along with the TransportOperation object
3261
3261
  # @yieldparam result [::Google::Cloud::Compute::V1::TestPermissionsResponse]
3262
- # @yieldparam response [::Faraday::Response]
3262
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3263
3263
  #
3264
3264
  # @return [::Google::Cloud::Compute::V1::TestPermissionsResponse]
3265
3265
  #
@@ -3291,8 +3291,8 @@ module Google
3291
3291
  metadata: @config.metadata,
3292
3292
  retry_policy: @config.retry_policy
3293
3293
 
3294
- @instances_stub.test_iam_permissions request, options do |result, response|
3295
- yield result, response if block_given?
3294
+ @instances_stub.test_iam_permissions request, options do |result, operation|
3295
+ yield result, operation if block_given?
3296
3296
  return result
3297
3297
  end
3298
3298
  rescue ::Gapic::Rest::Error => e
@@ -3333,9 +3333,9 @@ module Google
3333
3333
  # 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).
3334
3334
  # @param zone [::String]
3335
3335
  # The name of the zone for this request.
3336
- # @yield [result, response] Access the result along with the Faraday response object
3336
+ # @yield [result, operation] Access the result along with the TransportOperation object
3337
3337
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3338
- # @yieldparam response [::Faraday::Response]
3338
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3339
3339
  #
3340
3340
  # @return [::Gapic::GenericLRO::Operation]
3341
3341
  #
@@ -3414,9 +3414,9 @@ module Google
3414
3414
  # 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).
3415
3415
  # @param zone [::String]
3416
3416
  # The name of the zone for this request.
3417
- # @yield [result, response] Access the result along with the Faraday response object
3417
+ # @yield [result, operation] Access the result along with the TransportOperation object
3418
3418
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3419
- # @yieldparam response [::Faraday::Response]
3419
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3420
3420
  #
3421
3421
  # @return [::Gapic::GenericLRO::Operation]
3422
3422
  #
@@ -3493,9 +3493,9 @@ module Google
3493
3493
  # 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).
3494
3494
  # @param zone [::String]
3495
3495
  # The name of the zone for this request.
3496
- # @yield [result, response] Access the result along with the Faraday response object
3496
+ # @yield [result, operation] Access the result along with the TransportOperation object
3497
3497
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3498
- # @yieldparam response [::Faraday::Response]
3498
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3499
3499
  #
3500
3500
  # @return [::Gapic::GenericLRO::Operation]
3501
3501
  #
@@ -3574,9 +3574,9 @@ module Google
3574
3574
  # 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).
3575
3575
  # @param zone [::String]
3576
3576
  # The name of the zone for this request.
3577
- # @yield [result, response] Access the result along with the Faraday response object
3577
+ # @yield [result, operation] Access the result along with the TransportOperation object
3578
3578
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3579
- # @yieldparam response [::Faraday::Response]
3579
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3580
3580
  #
3581
3581
  # @return [::Gapic::GenericLRO::Operation]
3582
3582
  #
@@ -3653,9 +3653,9 @@ module Google
3653
3653
  # The body resource for this request
3654
3654
  # @param zone [::String]
3655
3655
  # The name of the zone for this request.
3656
- # @yield [result, response] Access the result along with the Faraday response object
3656
+ # @yield [result, operation] Access the result along with the TransportOperation object
3657
3657
  # @yieldparam result [::Gapic::GenericLRO::Operation]
3658
- # @yieldparam response [::Faraday::Response]
3658
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3659
3659
  #
3660
3660
  # @return [::Gapic::GenericLRO::Operation]
3661
3661
  #