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
@@ -48,9 +48,9 @@ module Google
48
48
  # @param options [::Gapic::CallOptions]
49
49
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
50
50
  #
51
- # @yield [result, response] Access the result along with the Faraday response object
51
+ # @yield [result, operation] Access the result along with the TransportOperation object
52
52
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
53
- # @yieldparam response [::Faraday::Response]
53
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
54
54
  #
55
55
  # @return [::Google::Cloud::Compute::V1::Operation]
56
56
  # A result object deserialized from the server's reply
@@ -71,9 +71,10 @@ module Google
71
71
  params: query_string_params,
72
72
  options: options
73
73
  )
74
+ operation = ::Gapic::Rest::TransportOperation.new response
74
75
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
75
76
 
76
- yield result, response if block_given?
77
+ yield result, operation if block_given?
77
78
  result
78
79
  end
79
80
 
@@ -85,9 +86,9 @@ module Google
85
86
  # @param options [::Gapic::CallOptions]
86
87
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
87
88
  #
88
- # @yield [result, response] Access the result along with the Faraday response object
89
+ # @yield [result, operation] Access the result along with the TransportOperation object
89
90
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
90
- # @yieldparam response [::Faraday::Response]
91
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
91
92
  #
92
93
  # @return [::Google::Cloud::Compute::V1::Operation]
93
94
  # A result object deserialized from the server's reply
@@ -108,9 +109,10 @@ module Google
108
109
  params: query_string_params,
109
110
  options: options
110
111
  )
112
+ operation = ::Gapic::Rest::TransportOperation.new response
111
113
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
112
114
 
113
- yield result, response if block_given?
115
+ yield result, operation if block_given?
114
116
  result
115
117
  end
116
118
 
@@ -122,9 +124,9 @@ module Google
122
124
  # @param options [::Gapic::CallOptions]
123
125
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
124
126
  #
125
- # @yield [result, response] Access the result along with the Faraday response object
127
+ # @yield [result, operation] Access the result along with the TransportOperation object
126
128
  # @yieldparam result [::Google::Cloud::Compute::V1::InstanceAggregatedList]
127
- # @yieldparam response [::Faraday::Response]
129
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
128
130
  #
129
131
  # @return [::Google::Cloud::Compute::V1::InstanceAggregatedList]
130
132
  # A result object deserialized from the server's reply
@@ -145,9 +147,10 @@ module Google
145
147
  params: query_string_params,
146
148
  options: options
147
149
  )
150
+ operation = ::Gapic::Rest::TransportOperation.new response
148
151
  result = ::Google::Cloud::Compute::V1::InstanceAggregatedList.decode_json response.body, ignore_unknown_fields: true
149
152
 
150
- yield result, response if block_given?
153
+ yield result, operation if block_given?
151
154
  result
152
155
  end
153
156
 
@@ -159,9 +162,9 @@ module Google
159
162
  # @param options [::Gapic::CallOptions]
160
163
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
161
164
  #
162
- # @yield [result, response] Access the result along with the Faraday response object
165
+ # @yield [result, operation] Access the result along with the TransportOperation object
163
166
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
164
- # @yieldparam response [::Faraday::Response]
167
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
165
168
  #
166
169
  # @return [::Google::Cloud::Compute::V1::Operation]
167
170
  # A result object deserialized from the server's reply
@@ -182,9 +185,10 @@ module Google
182
185
  params: query_string_params,
183
186
  options: options
184
187
  )
188
+ operation = ::Gapic::Rest::TransportOperation.new response
185
189
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
186
190
 
187
- yield result, response if block_given?
191
+ yield result, operation if block_given?
188
192
  result
189
193
  end
190
194
 
@@ -196,9 +200,9 @@ module Google
196
200
  # @param options [::Gapic::CallOptions]
197
201
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
198
202
  #
199
- # @yield [result, response] Access the result along with the Faraday response object
203
+ # @yield [result, operation] Access the result along with the TransportOperation object
200
204
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
201
- # @yieldparam response [::Faraday::Response]
205
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
202
206
  #
203
207
  # @return [::Google::Cloud::Compute::V1::Operation]
204
208
  # A result object deserialized from the server's reply
@@ -219,9 +223,10 @@ module Google
219
223
  params: query_string_params,
220
224
  options: options
221
225
  )
226
+ operation = ::Gapic::Rest::TransportOperation.new response
222
227
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
223
228
 
224
- yield result, response if block_given?
229
+ yield result, operation if block_given?
225
230
  result
226
231
  end
227
232
 
@@ -233,9 +238,9 @@ module Google
233
238
  # @param options [::Gapic::CallOptions]
234
239
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
235
240
  #
236
- # @yield [result, response] Access the result along with the Faraday response object
241
+ # @yield [result, operation] Access the result along with the TransportOperation object
237
242
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
238
- # @yieldparam response [::Faraday::Response]
243
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
239
244
  #
240
245
  # @return [::Google::Cloud::Compute::V1::Operation]
241
246
  # A result object deserialized from the server's reply
@@ -256,9 +261,10 @@ module Google
256
261
  params: query_string_params,
257
262
  options: options
258
263
  )
264
+ operation = ::Gapic::Rest::TransportOperation.new response
259
265
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
260
266
 
261
- yield result, response if block_given?
267
+ yield result, operation if block_given?
262
268
  result
263
269
  end
264
270
 
@@ -270,9 +276,9 @@ module Google
270
276
  # @param options [::Gapic::CallOptions]
271
277
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
272
278
  #
273
- # @yield [result, response] Access the result along with the Faraday response object
279
+ # @yield [result, operation] Access the result along with the TransportOperation object
274
280
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
275
- # @yieldparam response [::Faraday::Response]
281
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
276
282
  #
277
283
  # @return [::Google::Cloud::Compute::V1::Operation]
278
284
  # A result object deserialized from the server's reply
@@ -293,9 +299,10 @@ module Google
293
299
  params: query_string_params,
294
300
  options: options
295
301
  )
302
+ operation = ::Gapic::Rest::TransportOperation.new response
296
303
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
297
304
 
298
- yield result, response if block_given?
305
+ yield result, operation if block_given?
299
306
  result
300
307
  end
301
308
 
@@ -307,9 +314,9 @@ module Google
307
314
  # @param options [::Gapic::CallOptions]
308
315
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
309
316
  #
310
- # @yield [result, response] Access the result along with the Faraday response object
317
+ # @yield [result, operation] Access the result along with the TransportOperation object
311
318
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
312
- # @yieldparam response [::Faraday::Response]
319
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
313
320
  #
314
321
  # @return [::Google::Cloud::Compute::V1::Operation]
315
322
  # A result object deserialized from the server's reply
@@ -330,9 +337,10 @@ module Google
330
337
  params: query_string_params,
331
338
  options: options
332
339
  )
340
+ operation = ::Gapic::Rest::TransportOperation.new response
333
341
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
334
342
 
335
- yield result, response if block_given?
343
+ yield result, operation if block_given?
336
344
  result
337
345
  end
338
346
 
@@ -344,9 +352,9 @@ module Google
344
352
  # @param options [::Gapic::CallOptions]
345
353
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
346
354
  #
347
- # @yield [result, response] Access the result along with the Faraday response object
355
+ # @yield [result, operation] Access the result along with the TransportOperation object
348
356
  # @yieldparam result [::Google::Cloud::Compute::V1::Instance]
349
- # @yieldparam response [::Faraday::Response]
357
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
350
358
  #
351
359
  # @return [::Google::Cloud::Compute::V1::Instance]
352
360
  # A result object deserialized from the server's reply
@@ -367,9 +375,10 @@ module Google
367
375
  params: query_string_params,
368
376
  options: options
369
377
  )
378
+ operation = ::Gapic::Rest::TransportOperation.new response
370
379
  result = ::Google::Cloud::Compute::V1::Instance.decode_json response.body, ignore_unknown_fields: true
371
380
 
372
- yield result, response if block_given?
381
+ yield result, operation if block_given?
373
382
  result
374
383
  end
375
384
 
@@ -381,9 +390,9 @@ module Google
381
390
  # @param options [::Gapic::CallOptions]
382
391
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
383
392
  #
384
- # @yield [result, response] Access the result along with the Faraday response object
393
+ # @yield [result, operation] Access the result along with the TransportOperation object
385
394
  # @yieldparam result [::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse]
386
- # @yieldparam response [::Faraday::Response]
395
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
387
396
  #
388
397
  # @return [::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse]
389
398
  # A result object deserialized from the server's reply
@@ -404,9 +413,10 @@ module Google
404
413
  params: query_string_params,
405
414
  options: options
406
415
  )
416
+ operation = ::Gapic::Rest::TransportOperation.new response
407
417
  result = ::Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponse.decode_json response.body, ignore_unknown_fields: true
408
418
 
409
- yield result, response if block_given?
419
+ yield result, operation if block_given?
410
420
  result
411
421
  end
412
422
 
@@ -418,9 +428,9 @@ module Google
418
428
  # @param options [::Gapic::CallOptions]
419
429
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
420
430
  #
421
- # @yield [result, response] Access the result along with the Faraday response object
431
+ # @yield [result, operation] Access the result along with the TransportOperation object
422
432
  # @yieldparam result [::Google::Cloud::Compute::V1::GuestAttributes]
423
- # @yieldparam response [::Faraday::Response]
433
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
424
434
  #
425
435
  # @return [::Google::Cloud::Compute::V1::GuestAttributes]
426
436
  # A result object deserialized from the server's reply
@@ -441,9 +451,10 @@ module Google
441
451
  params: query_string_params,
442
452
  options: options
443
453
  )
454
+ operation = ::Gapic::Rest::TransportOperation.new response
444
455
  result = ::Google::Cloud::Compute::V1::GuestAttributes.decode_json response.body, ignore_unknown_fields: true
445
456
 
446
- yield result, response if block_given?
457
+ yield result, operation if block_given?
447
458
  result
448
459
  end
449
460
 
@@ -455,9 +466,9 @@ module Google
455
466
  # @param options [::Gapic::CallOptions]
456
467
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
457
468
  #
458
- # @yield [result, response] Access the result along with the Faraday response object
469
+ # @yield [result, operation] Access the result along with the TransportOperation object
459
470
  # @yieldparam result [::Google::Cloud::Compute::V1::Policy]
460
- # @yieldparam response [::Faraday::Response]
471
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
461
472
  #
462
473
  # @return [::Google::Cloud::Compute::V1::Policy]
463
474
  # A result object deserialized from the server's reply
@@ -478,9 +489,10 @@ module Google
478
489
  params: query_string_params,
479
490
  options: options
480
491
  )
492
+ operation = ::Gapic::Rest::TransportOperation.new response
481
493
  result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
482
494
 
483
- yield result, response if block_given?
495
+ yield result, operation if block_given?
484
496
  result
485
497
  end
486
498
 
@@ -492,9 +504,9 @@ module Google
492
504
  # @param options [::Gapic::CallOptions]
493
505
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
494
506
  #
495
- # @yield [result, response] Access the result along with the Faraday response object
507
+ # @yield [result, operation] Access the result along with the TransportOperation object
496
508
  # @yieldparam result [::Google::Cloud::Compute::V1::Screenshot]
497
- # @yieldparam response [::Faraday::Response]
509
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
498
510
  #
499
511
  # @return [::Google::Cloud::Compute::V1::Screenshot]
500
512
  # A result object deserialized from the server's reply
@@ -515,9 +527,10 @@ module Google
515
527
  params: query_string_params,
516
528
  options: options
517
529
  )
530
+ operation = ::Gapic::Rest::TransportOperation.new response
518
531
  result = ::Google::Cloud::Compute::V1::Screenshot.decode_json response.body, ignore_unknown_fields: true
519
532
 
520
- yield result, response if block_given?
533
+ yield result, operation if block_given?
521
534
  result
522
535
  end
523
536
 
@@ -529,9 +542,9 @@ module Google
529
542
  # @param options [::Gapic::CallOptions]
530
543
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
531
544
  #
532
- # @yield [result, response] Access the result along with the Faraday response object
545
+ # @yield [result, operation] Access the result along with the TransportOperation object
533
546
  # @yieldparam result [::Google::Cloud::Compute::V1::SerialPortOutput]
534
- # @yieldparam response [::Faraday::Response]
547
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
535
548
  #
536
549
  # @return [::Google::Cloud::Compute::V1::SerialPortOutput]
537
550
  # A result object deserialized from the server's reply
@@ -552,9 +565,10 @@ module Google
552
565
  params: query_string_params,
553
566
  options: options
554
567
  )
568
+ operation = ::Gapic::Rest::TransportOperation.new response
555
569
  result = ::Google::Cloud::Compute::V1::SerialPortOutput.decode_json response.body, ignore_unknown_fields: true
556
570
 
557
- yield result, response if block_given?
571
+ yield result, operation if block_given?
558
572
  result
559
573
  end
560
574
 
@@ -566,9 +580,9 @@ module Google
566
580
  # @param options [::Gapic::CallOptions]
567
581
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
568
582
  #
569
- # @yield [result, response] Access the result along with the Faraday response object
583
+ # @yield [result, operation] Access the result along with the TransportOperation object
570
584
  # @yieldparam result [::Google::Cloud::Compute::V1::ShieldedInstanceIdentity]
571
- # @yieldparam response [::Faraday::Response]
585
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
572
586
  #
573
587
  # @return [::Google::Cloud::Compute::V1::ShieldedInstanceIdentity]
574
588
  # A result object deserialized from the server's reply
@@ -589,9 +603,10 @@ module Google
589
603
  params: query_string_params,
590
604
  options: options
591
605
  )
606
+ operation = ::Gapic::Rest::TransportOperation.new response
592
607
  result = ::Google::Cloud::Compute::V1::ShieldedInstanceIdentity.decode_json response.body, ignore_unknown_fields: true
593
608
 
594
- yield result, response if block_given?
609
+ yield result, operation if block_given?
595
610
  result
596
611
  end
597
612
 
@@ -603,9 +618,9 @@ module Google
603
618
  # @param options [::Gapic::CallOptions]
604
619
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
605
620
  #
606
- # @yield [result, response] Access the result along with the Faraday response object
621
+ # @yield [result, operation] Access the result along with the TransportOperation object
607
622
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
608
- # @yieldparam response [::Faraday::Response]
623
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
609
624
  #
610
625
  # @return [::Google::Cloud::Compute::V1::Operation]
611
626
  # A result object deserialized from the server's reply
@@ -626,9 +641,10 @@ module Google
626
641
  params: query_string_params,
627
642
  options: options
628
643
  )
644
+ operation = ::Gapic::Rest::TransportOperation.new response
629
645
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
630
646
 
631
- yield result, response if block_given?
647
+ yield result, operation if block_given?
632
648
  result
633
649
  end
634
650
 
@@ -640,9 +656,9 @@ module Google
640
656
  # @param options [::Gapic::CallOptions]
641
657
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
642
658
  #
643
- # @yield [result, response] Access the result along with the Faraday response object
659
+ # @yield [result, operation] Access the result along with the TransportOperation object
644
660
  # @yieldparam result [::Google::Cloud::Compute::V1::InstanceList]
645
- # @yieldparam response [::Faraday::Response]
661
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
646
662
  #
647
663
  # @return [::Google::Cloud::Compute::V1::InstanceList]
648
664
  # A result object deserialized from the server's reply
@@ -663,9 +679,10 @@ module Google
663
679
  params: query_string_params,
664
680
  options: options
665
681
  )
682
+ operation = ::Gapic::Rest::TransportOperation.new response
666
683
  result = ::Google::Cloud::Compute::V1::InstanceList.decode_json response.body, ignore_unknown_fields: true
667
684
 
668
- yield result, response if block_given?
685
+ yield result, operation if block_given?
669
686
  result
670
687
  end
671
688
 
@@ -677,9 +694,9 @@ module Google
677
694
  # @param options [::Gapic::CallOptions]
678
695
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
679
696
  #
680
- # @yield [result, response] Access the result along with the Faraday response object
697
+ # @yield [result, operation] Access the result along with the TransportOperation object
681
698
  # @yieldparam result [::Google::Cloud::Compute::V1::InstanceListReferrers]
682
- # @yieldparam response [::Faraday::Response]
699
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
683
700
  #
684
701
  # @return [::Google::Cloud::Compute::V1::InstanceListReferrers]
685
702
  # A result object deserialized from the server's reply
@@ -700,9 +717,10 @@ module Google
700
717
  params: query_string_params,
701
718
  options: options
702
719
  )
720
+ operation = ::Gapic::Rest::TransportOperation.new response
703
721
  result = ::Google::Cloud::Compute::V1::InstanceListReferrers.decode_json response.body, ignore_unknown_fields: true
704
722
 
705
- yield result, response if block_given?
723
+ yield result, operation if block_given?
706
724
  result
707
725
  end
708
726
 
@@ -714,9 +732,9 @@ module Google
714
732
  # @param options [::Gapic::CallOptions]
715
733
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
716
734
  #
717
- # @yield [result, response] Access the result along with the Faraday response object
735
+ # @yield [result, operation] Access the result along with the TransportOperation object
718
736
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
719
- # @yieldparam response [::Faraday::Response]
737
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
720
738
  #
721
739
  # @return [::Google::Cloud::Compute::V1::Operation]
722
740
  # A result object deserialized from the server's reply
@@ -737,9 +755,10 @@ module Google
737
755
  params: query_string_params,
738
756
  options: options
739
757
  )
758
+ operation = ::Gapic::Rest::TransportOperation.new response
740
759
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
741
760
 
742
- yield result, response if block_given?
761
+ yield result, operation if block_given?
743
762
  result
744
763
  end
745
764
 
@@ -751,9 +770,9 @@ module Google
751
770
  # @param options [::Gapic::CallOptions]
752
771
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
753
772
  #
754
- # @yield [result, response] Access the result along with the Faraday response object
773
+ # @yield [result, operation] Access the result along with the TransportOperation object
755
774
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
756
- # @yieldparam response [::Faraday::Response]
775
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
757
776
  #
758
777
  # @return [::Google::Cloud::Compute::V1::Operation]
759
778
  # A result object deserialized from the server's reply
@@ -774,9 +793,10 @@ module Google
774
793
  params: query_string_params,
775
794
  options: options
776
795
  )
796
+ operation = ::Gapic::Rest::TransportOperation.new response
777
797
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
778
798
 
779
- yield result, response if block_given?
799
+ yield result, operation if block_given?
780
800
  result
781
801
  end
782
802
 
@@ -788,9 +808,9 @@ module Google
788
808
  # @param options [::Gapic::CallOptions]
789
809
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
790
810
  #
791
- # @yield [result, response] Access the result along with the Faraday response object
811
+ # @yield [result, operation] Access the result along with the TransportOperation object
792
812
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
793
- # @yieldparam response [::Faraday::Response]
813
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
794
814
  #
795
815
  # @return [::Google::Cloud::Compute::V1::Operation]
796
816
  # A result object deserialized from the server's reply
@@ -811,9 +831,10 @@ module Google
811
831
  params: query_string_params,
812
832
  options: options
813
833
  )
834
+ operation = ::Gapic::Rest::TransportOperation.new response
814
835
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
815
836
 
816
- yield result, response if block_given?
837
+ yield result, operation if block_given?
817
838
  result
818
839
  end
819
840
 
@@ -825,9 +846,9 @@ module Google
825
846
  # @param options [::Gapic::CallOptions]
826
847
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
827
848
  #
828
- # @yield [result, response] Access the result along with the Faraday response object
849
+ # @yield [result, operation] Access the result along with the TransportOperation object
829
850
  # @yieldparam result [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse]
830
- # @yieldparam response [::Faraday::Response]
851
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
831
852
  #
832
853
  # @return [::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse]
833
854
  # A result object deserialized from the server's reply
@@ -848,9 +869,10 @@ module Google
848
869
  params: query_string_params,
849
870
  options: options
850
871
  )
872
+ operation = ::Gapic::Rest::TransportOperation.new response
851
873
  result = ::Google::Cloud::Compute::V1::SendDiagnosticInterruptInstanceResponse.decode_json response.body, ignore_unknown_fields: true
852
874
 
853
- yield result, response if block_given?
875
+ yield result, operation if block_given?
854
876
  result
855
877
  end
856
878
 
@@ -862,9 +884,9 @@ module Google
862
884
  # @param options [::Gapic::CallOptions]
863
885
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
864
886
  #
865
- # @yield [result, response] Access the result along with the Faraday response object
887
+ # @yield [result, operation] Access the result along with the TransportOperation object
866
888
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
867
- # @yieldparam response [::Faraday::Response]
889
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
868
890
  #
869
891
  # @return [::Google::Cloud::Compute::V1::Operation]
870
892
  # A result object deserialized from the server's reply
@@ -885,9 +907,10 @@ module Google
885
907
  params: query_string_params,
886
908
  options: options
887
909
  )
910
+ operation = ::Gapic::Rest::TransportOperation.new response
888
911
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
889
912
 
890
- yield result, response if block_given?
913
+ yield result, operation if block_given?
891
914
  result
892
915
  end
893
916
 
@@ -899,9 +922,9 @@ module Google
899
922
  # @param options [::Gapic::CallOptions]
900
923
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
901
924
  #
902
- # @yield [result, response] Access the result along with the Faraday response object
925
+ # @yield [result, operation] Access the result along with the TransportOperation object
903
926
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
904
- # @yieldparam response [::Faraday::Response]
927
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
905
928
  #
906
929
  # @return [::Google::Cloud::Compute::V1::Operation]
907
930
  # A result object deserialized from the server's reply
@@ -922,9 +945,10 @@ module Google
922
945
  params: query_string_params,
923
946
  options: options
924
947
  )
948
+ operation = ::Gapic::Rest::TransportOperation.new response
925
949
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
926
950
 
927
- yield result, response if block_given?
951
+ yield result, operation if block_given?
928
952
  result
929
953
  end
930
954
 
@@ -936,9 +960,9 @@ module Google
936
960
  # @param options [::Gapic::CallOptions]
937
961
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
938
962
  #
939
- # @yield [result, response] Access the result along with the Faraday response object
963
+ # @yield [result, operation] Access the result along with the TransportOperation object
940
964
  # @yieldparam result [::Google::Cloud::Compute::V1::Policy]
941
- # @yieldparam response [::Faraday::Response]
965
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
942
966
  #
943
967
  # @return [::Google::Cloud::Compute::V1::Policy]
944
968
  # A result object deserialized from the server's reply
@@ -959,9 +983,10 @@ module Google
959
983
  params: query_string_params,
960
984
  options: options
961
985
  )
986
+ operation = ::Gapic::Rest::TransportOperation.new response
962
987
  result = ::Google::Cloud::Compute::V1::Policy.decode_json response.body, ignore_unknown_fields: true
963
988
 
964
- yield result, response if block_given?
989
+ yield result, operation if block_given?
965
990
  result
966
991
  end
967
992
 
@@ -973,9 +998,9 @@ module Google
973
998
  # @param options [::Gapic::CallOptions]
974
999
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
975
1000
  #
976
- # @yield [result, response] Access the result along with the Faraday response object
1001
+ # @yield [result, operation] Access the result along with the TransportOperation object
977
1002
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
978
- # @yieldparam response [::Faraday::Response]
1003
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
979
1004
  #
980
1005
  # @return [::Google::Cloud::Compute::V1::Operation]
981
1006
  # A result object deserialized from the server's reply
@@ -996,9 +1021,10 @@ module Google
996
1021
  params: query_string_params,
997
1022
  options: options
998
1023
  )
1024
+ operation = ::Gapic::Rest::TransportOperation.new response
999
1025
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1000
1026
 
1001
- yield result, response if block_given?
1027
+ yield result, operation if block_given?
1002
1028
  result
1003
1029
  end
1004
1030
 
@@ -1010,9 +1036,9 @@ module Google
1010
1036
  # @param options [::Gapic::CallOptions]
1011
1037
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1012
1038
  #
1013
- # @yield [result, response] Access the result along with the Faraday response object
1039
+ # @yield [result, operation] Access the result along with the TransportOperation object
1014
1040
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1015
- # @yieldparam response [::Faraday::Response]
1041
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1016
1042
  #
1017
1043
  # @return [::Google::Cloud::Compute::V1::Operation]
1018
1044
  # A result object deserialized from the server's reply
@@ -1033,9 +1059,10 @@ module Google
1033
1059
  params: query_string_params,
1034
1060
  options: options
1035
1061
  )
1062
+ operation = ::Gapic::Rest::TransportOperation.new response
1036
1063
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1037
1064
 
1038
- yield result, response if block_given?
1065
+ yield result, operation if block_given?
1039
1066
  result
1040
1067
  end
1041
1068
 
@@ -1047,9 +1074,9 @@ module Google
1047
1074
  # @param options [::Gapic::CallOptions]
1048
1075
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1049
1076
  #
1050
- # @yield [result, response] Access the result along with the Faraday response object
1077
+ # @yield [result, operation] Access the result along with the TransportOperation object
1051
1078
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1052
- # @yieldparam response [::Faraday::Response]
1079
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1053
1080
  #
1054
1081
  # @return [::Google::Cloud::Compute::V1::Operation]
1055
1082
  # A result object deserialized from the server's reply
@@ -1070,9 +1097,10 @@ module Google
1070
1097
  params: query_string_params,
1071
1098
  options: options
1072
1099
  )
1100
+ operation = ::Gapic::Rest::TransportOperation.new response
1073
1101
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1074
1102
 
1075
- yield result, response if block_given?
1103
+ yield result, operation if block_given?
1076
1104
  result
1077
1105
  end
1078
1106
 
@@ -1084,9 +1112,9 @@ module Google
1084
1112
  # @param options [::Gapic::CallOptions]
1085
1113
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1086
1114
  #
1087
- # @yield [result, response] Access the result along with the Faraday response object
1115
+ # @yield [result, operation] Access the result along with the TransportOperation object
1088
1116
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1089
- # @yieldparam response [::Faraday::Response]
1117
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1090
1118
  #
1091
1119
  # @return [::Google::Cloud::Compute::V1::Operation]
1092
1120
  # A result object deserialized from the server's reply
@@ -1107,9 +1135,10 @@ module Google
1107
1135
  params: query_string_params,
1108
1136
  options: options
1109
1137
  )
1138
+ operation = ::Gapic::Rest::TransportOperation.new response
1110
1139
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1111
1140
 
1112
- yield result, response if block_given?
1141
+ yield result, operation if block_given?
1113
1142
  result
1114
1143
  end
1115
1144
 
@@ -1121,9 +1150,9 @@ module Google
1121
1150
  # @param options [::Gapic::CallOptions]
1122
1151
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1123
1152
  #
1124
- # @yield [result, response] Access the result along with the Faraday response object
1153
+ # @yield [result, operation] Access the result along with the TransportOperation object
1125
1154
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1126
- # @yieldparam response [::Faraday::Response]
1155
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1127
1156
  #
1128
1157
  # @return [::Google::Cloud::Compute::V1::Operation]
1129
1158
  # A result object deserialized from the server's reply
@@ -1144,9 +1173,10 @@ module Google
1144
1173
  params: query_string_params,
1145
1174
  options: options
1146
1175
  )
1176
+ operation = ::Gapic::Rest::TransportOperation.new response
1147
1177
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1148
1178
 
1149
- yield result, response if block_given?
1179
+ yield result, operation if block_given?
1150
1180
  result
1151
1181
  end
1152
1182
 
@@ -1158,9 +1188,9 @@ module Google
1158
1188
  # @param options [::Gapic::CallOptions]
1159
1189
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1160
1190
  #
1161
- # @yield [result, response] Access the result along with the Faraday response object
1191
+ # @yield [result, operation] Access the result along with the TransportOperation object
1162
1192
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1163
- # @yieldparam response [::Faraday::Response]
1193
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1164
1194
  #
1165
1195
  # @return [::Google::Cloud::Compute::V1::Operation]
1166
1196
  # A result object deserialized from the server's reply
@@ -1181,9 +1211,10 @@ module Google
1181
1211
  params: query_string_params,
1182
1212
  options: options
1183
1213
  )
1214
+ operation = ::Gapic::Rest::TransportOperation.new response
1184
1215
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1185
1216
 
1186
- yield result, response if block_given?
1217
+ yield result, operation if block_given?
1187
1218
  result
1188
1219
  end
1189
1220
 
@@ -1195,9 +1226,9 @@ module Google
1195
1226
  # @param options [::Gapic::CallOptions]
1196
1227
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1197
1228
  #
1198
- # @yield [result, response] Access the result along with the Faraday response object
1229
+ # @yield [result, operation] Access the result along with the TransportOperation object
1199
1230
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1200
- # @yieldparam response [::Faraday::Response]
1231
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1201
1232
  #
1202
1233
  # @return [::Google::Cloud::Compute::V1::Operation]
1203
1234
  # A result object deserialized from the server's reply
@@ -1218,9 +1249,10 @@ module Google
1218
1249
  params: query_string_params,
1219
1250
  options: options
1220
1251
  )
1252
+ operation = ::Gapic::Rest::TransportOperation.new response
1221
1253
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1222
1254
 
1223
- yield result, response if block_given?
1255
+ yield result, operation if block_given?
1224
1256
  result
1225
1257
  end
1226
1258
 
@@ -1232,9 +1264,9 @@ module Google
1232
1264
  # @param options [::Gapic::CallOptions]
1233
1265
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1234
1266
  #
1235
- # @yield [result, response] Access the result along with the Faraday response object
1267
+ # @yield [result, operation] Access the result along with the TransportOperation object
1236
1268
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1237
- # @yieldparam response [::Faraday::Response]
1269
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1238
1270
  #
1239
1271
  # @return [::Google::Cloud::Compute::V1::Operation]
1240
1272
  # A result object deserialized from the server's reply
@@ -1255,9 +1287,10 @@ module Google
1255
1287
  params: query_string_params,
1256
1288
  options: options
1257
1289
  )
1290
+ operation = ::Gapic::Rest::TransportOperation.new response
1258
1291
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1259
1292
 
1260
- yield result, response if block_given?
1293
+ yield result, operation if block_given?
1261
1294
  result
1262
1295
  end
1263
1296
 
@@ -1269,9 +1302,9 @@ module Google
1269
1302
  # @param options [::Gapic::CallOptions]
1270
1303
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1271
1304
  #
1272
- # @yield [result, response] Access the result along with the Faraday response object
1305
+ # @yield [result, operation] Access the result along with the TransportOperation object
1273
1306
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1274
- # @yieldparam response [::Faraday::Response]
1307
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1275
1308
  #
1276
1309
  # @return [::Google::Cloud::Compute::V1::Operation]
1277
1310
  # A result object deserialized from the server's reply
@@ -1292,9 +1325,10 @@ module Google
1292
1325
  params: query_string_params,
1293
1326
  options: options
1294
1327
  )
1328
+ operation = ::Gapic::Rest::TransportOperation.new response
1295
1329
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1296
1330
 
1297
- yield result, response if block_given?
1331
+ yield result, operation if block_given?
1298
1332
  result
1299
1333
  end
1300
1334
 
@@ -1306,9 +1340,9 @@ module Google
1306
1340
  # @param options [::Gapic::CallOptions]
1307
1341
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1308
1342
  #
1309
- # @yield [result, response] Access the result along with the Faraday response object
1343
+ # @yield [result, operation] Access the result along with the TransportOperation object
1310
1344
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1311
- # @yieldparam response [::Faraday::Response]
1345
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1312
1346
  #
1313
1347
  # @return [::Google::Cloud::Compute::V1::Operation]
1314
1348
  # A result object deserialized from the server's reply
@@ -1329,9 +1363,10 @@ module Google
1329
1363
  params: query_string_params,
1330
1364
  options: options
1331
1365
  )
1366
+ operation = ::Gapic::Rest::TransportOperation.new response
1332
1367
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1333
1368
 
1334
- yield result, response if block_given?
1369
+ yield result, operation if block_given?
1335
1370
  result
1336
1371
  end
1337
1372
 
@@ -1343,9 +1378,9 @@ module Google
1343
1378
  # @param options [::Gapic::CallOptions]
1344
1379
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1345
1380
  #
1346
- # @yield [result, response] Access the result along with the Faraday response object
1381
+ # @yield [result, operation] Access the result along with the TransportOperation object
1347
1382
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1348
- # @yieldparam response [::Faraday::Response]
1383
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1349
1384
  #
1350
1385
  # @return [::Google::Cloud::Compute::V1::Operation]
1351
1386
  # A result object deserialized from the server's reply
@@ -1366,9 +1401,10 @@ module Google
1366
1401
  params: query_string_params,
1367
1402
  options: options
1368
1403
  )
1404
+ operation = ::Gapic::Rest::TransportOperation.new response
1369
1405
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1370
1406
 
1371
- yield result, response if block_given?
1407
+ yield result, operation if block_given?
1372
1408
  result
1373
1409
  end
1374
1410
 
@@ -1380,9 +1416,9 @@ module Google
1380
1416
  # @param options [::Gapic::CallOptions]
1381
1417
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1382
1418
  #
1383
- # @yield [result, response] Access the result along with the Faraday response object
1419
+ # @yield [result, operation] Access the result along with the TransportOperation object
1384
1420
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1385
- # @yieldparam response [::Faraday::Response]
1421
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1386
1422
  #
1387
1423
  # @return [::Google::Cloud::Compute::V1::Operation]
1388
1424
  # A result object deserialized from the server's reply
@@ -1403,9 +1439,10 @@ module Google
1403
1439
  params: query_string_params,
1404
1440
  options: options
1405
1441
  )
1442
+ operation = ::Gapic::Rest::TransportOperation.new response
1406
1443
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1407
1444
 
1408
- yield result, response if block_given?
1445
+ yield result, operation if block_given?
1409
1446
  result
1410
1447
  end
1411
1448
 
@@ -1417,9 +1454,9 @@ module Google
1417
1454
  # @param options [::Gapic::CallOptions]
1418
1455
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1419
1456
  #
1420
- # @yield [result, response] Access the result along with the Faraday response object
1457
+ # @yield [result, operation] Access the result along with the TransportOperation object
1421
1458
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1422
- # @yieldparam response [::Faraday::Response]
1459
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1423
1460
  #
1424
1461
  # @return [::Google::Cloud::Compute::V1::Operation]
1425
1462
  # A result object deserialized from the server's reply
@@ -1440,9 +1477,10 @@ module Google
1440
1477
  params: query_string_params,
1441
1478
  options: options
1442
1479
  )
1480
+ operation = ::Gapic::Rest::TransportOperation.new response
1443
1481
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1444
1482
 
1445
- yield result, response if block_given?
1483
+ yield result, operation if block_given?
1446
1484
  result
1447
1485
  end
1448
1486
 
@@ -1454,9 +1492,9 @@ module Google
1454
1492
  # @param options [::Gapic::CallOptions]
1455
1493
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1456
1494
  #
1457
- # @yield [result, response] Access the result along with the Faraday response object
1495
+ # @yield [result, operation] Access the result along with the TransportOperation object
1458
1496
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1459
- # @yieldparam response [::Faraday::Response]
1497
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1460
1498
  #
1461
1499
  # @return [::Google::Cloud::Compute::V1::Operation]
1462
1500
  # A result object deserialized from the server's reply
@@ -1477,9 +1515,10 @@ module Google
1477
1515
  params: query_string_params,
1478
1516
  options: options
1479
1517
  )
1518
+ operation = ::Gapic::Rest::TransportOperation.new response
1480
1519
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1481
1520
 
1482
- yield result, response if block_given?
1521
+ yield result, operation if block_given?
1483
1522
  result
1484
1523
  end
1485
1524
 
@@ -1491,9 +1530,9 @@ module Google
1491
1530
  # @param options [::Gapic::CallOptions]
1492
1531
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1493
1532
  #
1494
- # @yield [result, response] Access the result along with the Faraday response object
1533
+ # @yield [result, operation] Access the result along with the TransportOperation object
1495
1534
  # @yieldparam result [::Google::Cloud::Compute::V1::TestPermissionsResponse]
1496
- # @yieldparam response [::Faraday::Response]
1535
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1497
1536
  #
1498
1537
  # @return [::Google::Cloud::Compute::V1::TestPermissionsResponse]
1499
1538
  # A result object deserialized from the server's reply
@@ -1514,9 +1553,10 @@ module Google
1514
1553
  params: query_string_params,
1515
1554
  options: options
1516
1555
  )
1556
+ operation = ::Gapic::Rest::TransportOperation.new response
1517
1557
  result = ::Google::Cloud::Compute::V1::TestPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
1518
1558
 
1519
- yield result, response if block_given?
1559
+ yield result, operation if block_given?
1520
1560
  result
1521
1561
  end
1522
1562
 
@@ -1528,9 +1568,9 @@ module Google
1528
1568
  # @param options [::Gapic::CallOptions]
1529
1569
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1530
1570
  #
1531
- # @yield [result, response] Access the result along with the Faraday response object
1571
+ # @yield [result, operation] Access the result along with the TransportOperation object
1532
1572
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1533
- # @yieldparam response [::Faraday::Response]
1573
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1534
1574
  #
1535
1575
  # @return [::Google::Cloud::Compute::V1::Operation]
1536
1576
  # A result object deserialized from the server's reply
@@ -1551,9 +1591,10 @@ module Google
1551
1591
  params: query_string_params,
1552
1592
  options: options
1553
1593
  )
1594
+ operation = ::Gapic::Rest::TransportOperation.new response
1554
1595
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1555
1596
 
1556
- yield result, response if block_given?
1597
+ yield result, operation if block_given?
1557
1598
  result
1558
1599
  end
1559
1600
 
@@ -1565,9 +1606,9 @@ module Google
1565
1606
  # @param options [::Gapic::CallOptions]
1566
1607
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1567
1608
  #
1568
- # @yield [result, response] Access the result along with the Faraday response object
1609
+ # @yield [result, operation] Access the result along with the TransportOperation object
1569
1610
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1570
- # @yieldparam response [::Faraday::Response]
1611
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1571
1612
  #
1572
1613
  # @return [::Google::Cloud::Compute::V1::Operation]
1573
1614
  # A result object deserialized from the server's reply
@@ -1588,9 +1629,10 @@ module Google
1588
1629
  params: query_string_params,
1589
1630
  options: options
1590
1631
  )
1632
+ operation = ::Gapic::Rest::TransportOperation.new response
1591
1633
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1592
1634
 
1593
- yield result, response if block_given?
1635
+ yield result, operation if block_given?
1594
1636
  result
1595
1637
  end
1596
1638
 
@@ -1602,9 +1644,9 @@ module Google
1602
1644
  # @param options [::Gapic::CallOptions]
1603
1645
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1604
1646
  #
1605
- # @yield [result, response] Access the result along with the Faraday response object
1647
+ # @yield [result, operation] Access the result along with the TransportOperation object
1606
1648
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1607
- # @yieldparam response [::Faraday::Response]
1649
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1608
1650
  #
1609
1651
  # @return [::Google::Cloud::Compute::V1::Operation]
1610
1652
  # A result object deserialized from the server's reply
@@ -1625,9 +1667,10 @@ module Google
1625
1667
  params: query_string_params,
1626
1668
  options: options
1627
1669
  )
1670
+ operation = ::Gapic::Rest::TransportOperation.new response
1628
1671
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1629
1672
 
1630
- yield result, response if block_given?
1673
+ yield result, operation if block_given?
1631
1674
  result
1632
1675
  end
1633
1676
 
@@ -1639,9 +1682,9 @@ module Google
1639
1682
  # @param options [::Gapic::CallOptions]
1640
1683
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1641
1684
  #
1642
- # @yield [result, response] Access the result along with the Faraday response object
1685
+ # @yield [result, operation] Access the result along with the TransportOperation object
1643
1686
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1644
- # @yieldparam response [::Faraday::Response]
1687
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1645
1688
  #
1646
1689
  # @return [::Google::Cloud::Compute::V1::Operation]
1647
1690
  # A result object deserialized from the server's reply
@@ -1662,9 +1705,10 @@ module Google
1662
1705
  params: query_string_params,
1663
1706
  options: options
1664
1707
  )
1708
+ operation = ::Gapic::Rest::TransportOperation.new response
1665
1709
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1666
1710
 
1667
- yield result, response if block_given?
1711
+ yield result, operation if block_given?
1668
1712
  result
1669
1713
  end
1670
1714
 
@@ -1676,9 +1720,9 @@ module Google
1676
1720
  # @param options [::Gapic::CallOptions]
1677
1721
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1678
1722
  #
1679
- # @yield [result, response] Access the result along with the Faraday response object
1723
+ # @yield [result, operation] Access the result along with the TransportOperation object
1680
1724
  # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
1681
- # @yieldparam response [::Faraday::Response]
1725
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1682
1726
  #
1683
1727
  # @return [::Google::Cloud::Compute::V1::Operation]
1684
1728
  # A result object deserialized from the server's reply
@@ -1699,9 +1743,10 @@ module Google
1699
1743
  params: query_string_params,
1700
1744
  options: options
1701
1745
  )
1746
+ operation = ::Gapic::Rest::TransportOperation.new response
1702
1747
  result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
1703
1748
 
1704
- yield result, response if block_given?
1749
+ yield result, operation if block_given?
1705
1750
  result
1706
1751
  end
1707
1752