google-cloud-compute-v1 1.9.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) 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/compute_pb.rb +12 -0
  13. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +12 -12
  14. data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +12 -9
  15. data/lib/google/cloud/compute/v1/disks/rest/client.rb +38 -38
  16. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +52 -39
  17. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +18 -18
  18. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +24 -18
  19. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +52 -52
  20. data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +72 -54
  21. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +16 -16
  22. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +24 -18
  23. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +22 -22
  24. data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +32 -24
  25. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +14 -14
  26. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +20 -15
  27. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +18 -18
  28. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +28 -21
  29. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +20 -20
  30. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +28 -21
  31. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +20 -20
  32. data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +20 -15
  33. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +12 -12
  34. data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +12 -9
  35. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +14 -14
  36. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +20 -15
  37. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +20 -20
  38. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +28 -21
  39. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +4 -4
  40. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +4 -3
  41. data/lib/google/cloud/compute/v1/images/rest/client.rb +34 -34
  42. data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +44 -33
  43. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +52 -52
  44. data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +80 -60
  45. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +26 -26
  46. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +36 -27
  47. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +24 -24
  48. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +28 -21
  49. data/lib/google/cloud/compute/v1/instances/rest/client.rb +116 -116
  50. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +180 -135
  51. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +20 -20
  52. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +28 -21
  53. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +8 -8
  54. data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +8 -6
  55. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +20 -20
  56. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +28 -21
  57. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +8 -8
  58. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +8 -6
  59. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +24 -24
  60. data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +28 -21
  61. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +24 -24
  62. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +28 -21
  63. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +12 -12
  64. data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +12 -9
  65. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +28 -28
  66. data/lib/google/cloud/compute/v1/network_attachments/rest/service_stub.rb +32 -24
  67. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +14 -14
  68. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +20 -15
  69. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +28 -28
  70. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +36 -27
  71. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +46 -46
  72. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +64 -48
  73. data/lib/google/cloud/compute/v1/networks/rest/client.rb +30 -30
  74. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +44 -33
  75. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +40 -40
  76. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +52 -39
  77. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +28 -28
  78. data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +32 -24
  79. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +12 -12
  80. data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +12 -9
  81. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +22 -22
  82. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +28 -21
  83. data/lib/google/cloud/compute/v1/projects/rest/client.rb +34 -34
  84. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +52 -39
  85. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +14 -14
  86. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +20 -15
  87. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +18 -18
  88. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +24 -18
  89. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +16 -16
  90. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +24 -18
  91. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +28 -28
  92. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +36 -27
  93. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +16 -16
  94. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +20 -15
  95. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +8 -8
  96. data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +8 -6
  97. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +34 -34
  98. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +48 -36
  99. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +14 -14
  100. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +20 -15
  101. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +16 -16
  102. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +24 -18
  103. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +48 -48
  104. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +76 -57
  105. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +14 -14
  106. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +16 -12
  107. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
  108. data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -3
  109. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +12 -12
  110. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +16 -12
  111. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +50 -50
  112. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +68 -51
  113. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +12 -12
  114. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +16 -12
  115. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +16 -16
  116. data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +16 -12
  117. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +14 -14
  118. data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +20 -15
  119. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +12 -12
  120. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +16 -12
  121. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +18 -18
  122. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +24 -18
  123. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +14 -14
  124. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +20 -15
  125. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +18 -18
  126. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +28 -21
  127. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +12 -12
  128. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +16 -12
  129. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +20 -20
  130. data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +28 -21
  131. data/lib/google/cloud/compute/v1/regions/rest/client.rb +8 -8
  132. data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +8 -6
  133. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +32 -32
  134. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +40 -30
  135. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +28 -28
  136. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +32 -24
  137. data/lib/google/cloud/compute/v1/routers/rest/client.rb +32 -32
  138. data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +40 -30
  139. data/lib/google/cloud/compute/v1/routes/rest/client.rb +12 -12
  140. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +16 -12
  141. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +34 -34
  142. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +48 -36
  143. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +30 -30
  144. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +36 -27
  145. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +26 -26
  146. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +32 -24
  147. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +16 -16
  148. data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +20 -15
  149. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +22 -22
  150. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +28 -21
  151. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +38 -38
  152. data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +48 -36
  153. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +14 -14
  154. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +20 -15
  155. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +20 -20
  156. data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +28 -21
  157. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +28 -28
  158. data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +44 -33
  159. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +16 -16
  160. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +20 -15
  161. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +30 -30
  162. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +44 -33
  163. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +22 -22
  164. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +36 -27
  165. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +20 -20
  166. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +28 -21
  167. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +18 -18
  168. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +24 -18
  169. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +26 -26
  170. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +36 -27
  171. data/lib/google/cloud/compute/v1/version.rb +1 -1
  172. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +26 -26
  173. data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +32 -24
  174. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +18 -18
  175. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +24 -18
  176. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +16 -16
  177. data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +16 -12
  178. data/lib/google/cloud/compute/v1/zones/rest/client.rb +8 -8
  179. data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +8 -6
  180. data/proto_docs/google/cloud/compute/v1/compute.rb +1156 -1132
  181. metadata +6 -6
@@ -227,9 +227,9 @@ module Google
227
227
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
228
228
  # @param zone [::String]
229
229
  # The name of the zone where the managed instance group is located.
230
- # @yield [result, response] Access the result along with the Faraday response object
230
+ # @yield [result, operation] Access the result along with the TransportOperation object
231
231
  # @yieldparam result [::Gapic::GenericLRO::Operation]
232
- # @yieldparam response [::Faraday::Response]
232
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
233
233
  #
234
234
  # @return [::Gapic::GenericLRO::Operation]
235
235
  #
@@ -310,9 +310,9 @@ module Google
310
310
  # Project ID for this request.
311
311
  # @param return_partial_success [::Boolean]
312
312
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
313
- # @yield [result, response] Access the result along with the Faraday response object
313
+ # @yield [result, operation] Access the result along with the TransportOperation object
314
314
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstanceGroupManagersScopedList>]
315
- # @yieldparam response [::Faraday::Response]
315
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
316
316
  #
317
317
  # @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::InstanceGroupManagersScopedList>]
318
318
  #
@@ -344,9 +344,9 @@ module Google
344
344
  metadata: @config.metadata,
345
345
  retry_policy: @config.retry_policy
346
346
 
347
- @instance_group_managers_stub.aggregated_list request, options do |result, response|
347
+ @instance_group_managers_stub.aggregated_list request, options do |result, operation|
348
348
  result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :aggregated_list, "items", request, result, options
349
- yield result, response if block_given?
349
+ yield result, operation if block_given?
350
350
  return result
351
351
  end
352
352
  rescue ::Gapic::Rest::Error => e
@@ -379,9 +379,9 @@ module Google
379
379
  # Project ID for this request.
380
380
  # @param zone [::String]
381
381
  # The name of the zone where the managed instance group is located. Should conform to RFC1035.
382
- # @yield [result, response] Access the result along with the Faraday response object
382
+ # @yield [result, operation] Access the result along with the TransportOperation object
383
383
  # @yieldparam result [::Gapic::GenericLRO::Operation]
384
- # @yieldparam response [::Faraday::Response]
384
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
385
385
  #
386
386
  # @return [::Gapic::GenericLRO::Operation]
387
387
  #
@@ -458,9 +458,9 @@ module Google
458
458
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
459
459
  # @param zone [::String]
460
460
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
461
- # @yield [result, response] Access the result along with the Faraday response object
461
+ # @yield [result, operation] Access the result along with the TransportOperation object
462
462
  # @yieldparam result [::Gapic::GenericLRO::Operation]
463
- # @yieldparam response [::Faraday::Response]
463
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
464
464
  #
465
465
  # @return [::Gapic::GenericLRO::Operation]
466
466
  #
@@ -535,9 +535,9 @@ module Google
535
535
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
536
536
  # @param zone [::String]
537
537
  # The name of the zone where the managed instance group is located.
538
- # @yield [result, response] Access the result along with the Faraday response object
538
+ # @yield [result, operation] Access the result along with the TransportOperation object
539
539
  # @yieldparam result [::Gapic::GenericLRO::Operation]
540
- # @yieldparam response [::Faraday::Response]
540
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
541
541
  #
542
542
  # @return [::Gapic::GenericLRO::Operation]
543
543
  #
@@ -614,9 +614,9 @@ module Google
614
614
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
615
615
  # @param zone [::String]
616
616
  # The name of the zone where the managed instance group is located.
617
- # @yield [result, response] Access the result along with the Faraday response object
617
+ # @yield [result, operation] Access the result along with the TransportOperation object
618
618
  # @yieldparam result [::Gapic::GenericLRO::Operation]
619
- # @yieldparam response [::Faraday::Response]
619
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
620
620
  #
621
621
  # @return [::Gapic::GenericLRO::Operation]
622
622
  #
@@ -691,9 +691,9 @@ module Google
691
691
  # Project ID for this request.
692
692
  # @param zone [::String]
693
693
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
694
- # @yield [result, response] Access the result along with the Faraday response object
694
+ # @yield [result, operation] Access the result along with the TransportOperation object
695
695
  # @yieldparam result [::Gapic::GenericLRO::Operation]
696
- # @yieldparam response [::Faraday::Response]
696
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
697
697
  #
698
698
  # @return [::Gapic::GenericLRO::Operation]
699
699
  #
@@ -766,9 +766,9 @@ module Google
766
766
  # Project ID for this request.
767
767
  # @param zone [::String]
768
768
  # The name of the zone where the managed instance group is located.
769
- # @yield [result, response] Access the result along with the Faraday response object
769
+ # @yield [result, operation] Access the result along with the TransportOperation object
770
770
  # @yieldparam result [::Google::Cloud::Compute::V1::InstanceGroupManager]
771
- # @yieldparam response [::Faraday::Response]
771
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
772
772
  #
773
773
  # @return [::Google::Cloud::Compute::V1::InstanceGroupManager]
774
774
  #
@@ -800,8 +800,8 @@ module Google
800
800
  metadata: @config.metadata,
801
801
  retry_policy: @config.retry_policy
802
802
 
803
- @instance_group_managers_stub.get request, options do |result, response|
804
- yield result, response if block_given?
803
+ @instance_group_managers_stub.get request, options do |result, operation|
804
+ yield result, operation if block_given?
805
805
  return result
806
806
  end
807
807
  rescue ::Gapic::Rest::Error => e
@@ -834,9 +834,9 @@ module Google
834
834
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
835
835
  # @param zone [::String]
836
836
  # The name of the zone where you want to create the managed instance group.
837
- # @yield [result, response] Access the result along with the Faraday response object
837
+ # @yield [result, operation] Access the result along with the TransportOperation object
838
838
  # @yieldparam result [::Gapic::GenericLRO::Operation]
839
- # @yieldparam response [::Faraday::Response]
839
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
840
840
  #
841
841
  # @return [::Gapic::GenericLRO::Operation]
842
842
  #
@@ -917,9 +917,9 @@ module Google
917
917
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
918
918
  # @param zone [::String]
919
919
  # The name of the zone where the managed instance group is located.
920
- # @yield [result, response] Access the result along with the Faraday response object
920
+ # @yield [result, operation] Access the result along with the TransportOperation object
921
921
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroupManager>]
922
- # @yieldparam response [::Faraday::Response]
922
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
923
923
  #
924
924
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceGroupManager>]
925
925
  #
@@ -951,9 +951,9 @@ module Google
951
951
  metadata: @config.metadata,
952
952
  retry_policy: @config.retry_policy
953
953
 
954
- @instance_group_managers_stub.list request, options do |result, response|
954
+ @instance_group_managers_stub.list request, options do |result, operation|
955
955
  result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list, "items", request, result, options
956
- yield result, response if block_given?
956
+ yield result, operation if block_given?
957
957
  return result
958
958
  end
959
959
  rescue ::Gapic::Rest::Error => e
@@ -994,9 +994,9 @@ module Google
994
994
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
995
995
  # @param zone [::String]
996
996
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
997
- # @yield [result, response] Access the result along with the Faraday response object
997
+ # @yield [result, operation] Access the result along with the TransportOperation object
998
998
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceManagedByIgmError>]
999
- # @yieldparam response [::Faraday::Response]
999
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1000
1000
  #
1001
1001
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::InstanceManagedByIgmError>]
1002
1002
  #
@@ -1028,9 +1028,9 @@ module Google
1028
1028
  metadata: @config.metadata,
1029
1029
  retry_policy: @config.retry_policy
1030
1030
 
1031
- @instance_group_managers_stub.list_errors request, options do |result, response|
1031
+ @instance_group_managers_stub.list_errors request, options do |result, operation|
1032
1032
  result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list_errors, "items", request, result, options
1033
- yield result, response if block_given?
1033
+ yield result, operation if block_given?
1034
1034
  return result
1035
1035
  end
1036
1036
  rescue ::Gapic::Rest::Error => e
@@ -1071,9 +1071,9 @@ module Google
1071
1071
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1072
1072
  # @param zone [::String]
1073
1073
  # The name of the zone where the managed instance group is located.
1074
- # @yield [result, response] Access the result along with the Faraday response object
1074
+ # @yield [result, operation] Access the result along with the TransportOperation object
1075
1075
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ManagedInstance>]
1076
- # @yieldparam response [::Faraday::Response]
1076
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1077
1077
  #
1078
1078
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ManagedInstance>]
1079
1079
  #
@@ -1105,9 +1105,9 @@ module Google
1105
1105
  metadata: @config.metadata,
1106
1106
  retry_policy: @config.retry_policy
1107
1107
 
1108
- @instance_group_managers_stub.list_managed_instances request, options do |result, response|
1108
+ @instance_group_managers_stub.list_managed_instances request, options do |result, operation|
1109
1109
  result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list_managed_instances, "managed_instances", request, result, options
1110
- yield result, response if block_given?
1110
+ yield result, operation if block_given?
1111
1111
  return result
1112
1112
  end
1113
1113
  rescue ::Gapic::Rest::Error => e
@@ -1148,9 +1148,9 @@ module Google
1148
1148
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1149
1149
  # @param zone [::String]
1150
1150
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
1151
- # @yield [result, response] Access the result along with the Faraday response object
1151
+ # @yield [result, operation] Access the result along with the TransportOperation object
1152
1152
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PerInstanceConfig>]
1153
- # @yieldparam response [::Faraday::Response]
1153
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1154
1154
  #
1155
1155
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PerInstanceConfig>]
1156
1156
  #
@@ -1182,9 +1182,9 @@ module Google
1182
1182
  metadata: @config.metadata,
1183
1183
  retry_policy: @config.retry_policy
1184
1184
 
1185
- @instance_group_managers_stub.list_per_instance_configs request, options do |result, response|
1185
+ @instance_group_managers_stub.list_per_instance_configs request, options do |result, operation|
1186
1186
  result = ::Gapic::Rest::PagedEnumerable.new @instance_group_managers_stub, :list_per_instance_configs, "items", request, result, options
1187
- yield result, response if block_given?
1187
+ yield result, operation if block_given?
1188
1188
  return result
1189
1189
  end
1190
1190
  rescue ::Gapic::Rest::Error => e
@@ -1219,9 +1219,9 @@ module Google
1219
1219
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1220
1220
  # @param zone [::String]
1221
1221
  # The name of the zone where you want to create the managed instance group.
1222
- # @yield [result, response] Access the result along with the Faraday response object
1222
+ # @yield [result, operation] Access the result along with the TransportOperation object
1223
1223
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1224
- # @yieldparam response [::Faraday::Response]
1224
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1225
1225
  #
1226
1226
  # @return [::Gapic::GenericLRO::Operation]
1227
1227
  #
@@ -1298,9 +1298,9 @@ module Google
1298
1298
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1299
1299
  # @param zone [::String]
1300
1300
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
1301
- # @yield [result, response] Access the result along with the Faraday response object
1301
+ # @yield [result, operation] Access the result along with the TransportOperation object
1302
1302
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1303
- # @yieldparam response [::Faraday::Response]
1303
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1304
1304
  #
1305
1305
  # @return [::Gapic::GenericLRO::Operation]
1306
1306
  #
@@ -1377,9 +1377,9 @@ module Google
1377
1377
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1378
1378
  # @param zone [::String]
1379
1379
  # The name of the zone where the managed instance group is located.
1380
- # @yield [result, response] Access the result along with the Faraday response object
1380
+ # @yield [result, operation] Access the result along with the TransportOperation object
1381
1381
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1382
- # @yieldparam response [::Faraday::Response]
1382
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1383
1383
  #
1384
1384
  # @return [::Gapic::GenericLRO::Operation]
1385
1385
  #
@@ -1456,9 +1456,9 @@ module Google
1456
1456
  # The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter.
1457
1457
  # @param zone [::String]
1458
1458
  # The name of the zone where the managed instance group is located.
1459
- # @yield [result, response] Access the result along with the Faraday response object
1459
+ # @yield [result, operation] Access the result along with the TransportOperation object
1460
1460
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1461
- # @yieldparam response [::Faraday::Response]
1461
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1462
1462
  #
1463
1463
  # @return [::Gapic::GenericLRO::Operation]
1464
1464
  #
@@ -1535,9 +1535,9 @@ module Google
1535
1535
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1536
1536
  # @param zone [::String]
1537
1537
  # The name of the zone where the managed instance group is located.
1538
- # @yield [result, response] Access the result along with the Faraday response object
1538
+ # @yield [result, operation] Access the result along with the TransportOperation object
1539
1539
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1540
- # @yieldparam response [::Faraday::Response]
1540
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1541
1541
  #
1542
1542
  # @return [::Gapic::GenericLRO::Operation]
1543
1543
  #
@@ -1614,9 +1614,9 @@ module Google
1614
1614
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1615
1615
  # @param zone [::String]
1616
1616
  # The name of the zone where the managed instance group is located.
1617
- # @yield [result, response] Access the result along with the Faraday response object
1617
+ # @yield [result, operation] Access the result along with the TransportOperation object
1618
1618
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1619
- # @yieldparam response [::Faraday::Response]
1619
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1620
1620
  #
1621
1621
  # @return [::Gapic::GenericLRO::Operation]
1622
1622
  #
@@ -1693,9 +1693,9 @@ module Google
1693
1693
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1694
1694
  # @param zone [::String]
1695
1695
  # The name of the zone where the managed instance group is located. It should conform to RFC1035.
1696
- # @yield [result, response] Access the result along with the Faraday response object
1696
+ # @yield [result, operation] Access the result along with the TransportOperation object
1697
1697
  # @yieldparam result [::Gapic::GenericLRO::Operation]
1698
- # @yieldparam response [::Faraday::Response]
1698
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1699
1699
  #
1700
1700
  # @return [::Gapic::GenericLRO::Operation]
1701
1701
  #