google-cloud-compute-v1 0.5.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +59 -14
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +158 -19
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +169 -23
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +534 -2
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +93 -24
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +44 -10
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +98 -31
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +2 -2
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +54 -13
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +70 -17
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +64 -16
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +55 -14
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/global_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +47 -13
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +55 -14
- data/lib/google/cloud/compute/v1/images/rest/client.rb +64 -16
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +172 -47
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +71 -18
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +521 -96
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +91 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +48 -11
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +44 -10
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/machine_images/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +804 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +363 -0
- data/lib/google/cloud/compute/v1/machine_images/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/machine_images.rb +44 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +60 -15
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +85 -23
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +82 -21
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +48 -11
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +107 -31
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +47 -13
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +51 -14
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +116 -5
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +92 -23
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +47 -10
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +171 -46
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +26 -5
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +24 -3
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +36 -7
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +38 -9
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/region_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +38 -9
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +47 -10
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +62 -17
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +58 -13
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +138 -11
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +48 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +60 -15
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +34 -7
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +75 -20
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +51 -14
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +116 -7
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +37 -10
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +45 -11
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +71 -18
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +47 -13
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +56 -15
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +86 -24
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +92 -23
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +74 -19
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +54 -13
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +65 -17
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +48 -11
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +37 -8
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zone_operations/rest/nonstandard_lro.rb +68 -0
- data/lib/google/cloud/compute/v1/zone_operations.rb +1 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1.rb +3 -0
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/compute/v1/compute.rb +1647 -330
- metadata +14 -7
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/compute/v1/compute_pb"
|
21
21
|
require "google/cloud/compute/v1/target_grpc_proxies/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/global_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -136,9 +137,21 @@ module Google
|
|
136
137
|
credentials = Credentials.new credentials, scope: @config.scope
|
137
138
|
end
|
138
139
|
|
140
|
+
@global_operations = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new do |config|
|
141
|
+
config.credentials = credentials
|
142
|
+
config.endpoint = @config.endpoint
|
143
|
+
end
|
144
|
+
|
139
145
|
@target_grpc_proxies_stub = ::Google::Cloud::Compute::V1::TargetGrpcProxies::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
140
146
|
end
|
141
147
|
|
148
|
+
##
|
149
|
+
# Get the associated client for long-running operations via GlobalOperations.
|
150
|
+
#
|
151
|
+
# @return [::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client]
|
152
|
+
#
|
153
|
+
attr_reader :global_operations
|
154
|
+
|
142
155
|
# Service calls
|
143
156
|
|
144
157
|
##
|
@@ -164,14 +177,14 @@ module Google
|
|
164
177
|
# @param project [::String]
|
165
178
|
# Project ID for this request.
|
166
179
|
# @param request_id [::String]
|
167
|
-
# 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).
|
180
|
+
# 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).
|
168
181
|
# @param target_grpc_proxy [::String]
|
169
182
|
# Name of the TargetGrpcProxy resource to delete.
|
170
183
|
# @yield [result, response] Access the result along with the Faraday response object
|
171
|
-
# @yieldparam result [::Gapic::
|
184
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
172
185
|
# @yieldparam response [::Faraday::Response]
|
173
186
|
#
|
174
|
-
# @return [::Gapic::
|
187
|
+
# @return [::Gapic::GenericLRO::Operation]
|
175
188
|
#
|
176
189
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
177
190
|
def delete request, options = nil
|
@@ -198,7 +211,14 @@ module Google
|
|
198
211
|
metadata: @config.metadata
|
199
212
|
|
200
213
|
@target_grpc_proxies_stub.delete request, options do |result, response|
|
201
|
-
result = ::
|
214
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
215
|
+
operation: result,
|
216
|
+
client: global_operations,
|
217
|
+
request_values: {
|
218
|
+
"project" => request.project
|
219
|
+
},
|
220
|
+
options: options
|
221
|
+
)
|
202
222
|
yield result, response if block_given?
|
203
223
|
return result
|
204
224
|
end
|
@@ -293,14 +313,14 @@ module Google
|
|
293
313
|
# @param project [::String]
|
294
314
|
# Project ID for this request.
|
295
315
|
# @param request_id [::String]
|
296
|
-
# 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).
|
316
|
+
# 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).
|
297
317
|
# @param target_grpc_proxy_resource [::Google::Cloud::Compute::V1::TargetGrpcProxy, ::Hash]
|
298
318
|
# The body resource for this request
|
299
319
|
# @yield [result, response] Access the result along with the Faraday response object
|
300
|
-
# @yieldparam result [::Gapic::
|
320
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
301
321
|
# @yieldparam response [::Faraday::Response]
|
302
322
|
#
|
303
|
-
# @return [::Gapic::
|
323
|
+
# @return [::Gapic::GenericLRO::Operation]
|
304
324
|
#
|
305
325
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
306
326
|
def insert request, options = nil
|
@@ -327,7 +347,14 @@ module Google
|
|
327
347
|
metadata: @config.metadata
|
328
348
|
|
329
349
|
@target_grpc_proxies_stub.insert request, options do |result, response|
|
330
|
-
result = ::
|
350
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
351
|
+
operation: result,
|
352
|
+
client: global_operations,
|
353
|
+
request_values: {
|
354
|
+
"project" => request.project
|
355
|
+
},
|
356
|
+
options: options
|
357
|
+
)
|
331
358
|
yield result, response if block_given?
|
332
359
|
return result
|
333
360
|
end
|
@@ -357,7 +384,7 @@ module Google
|
|
357
384
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
358
385
|
#
|
359
386
|
# @param filter [::String]
|
360
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
387
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
361
388
|
# @param max_results [::Integer]
|
362
389
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
363
390
|
# @param order_by [::String]
|
@@ -431,16 +458,16 @@ module Google
|
|
431
458
|
# @param project [::String]
|
432
459
|
# Project ID for this request.
|
433
460
|
# @param request_id [::String]
|
434
|
-
# 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).
|
461
|
+
# 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).
|
435
462
|
# @param target_grpc_proxy [::String]
|
436
463
|
# Name of the TargetGrpcProxy resource to patch.
|
437
464
|
# @param target_grpc_proxy_resource [::Google::Cloud::Compute::V1::TargetGrpcProxy, ::Hash]
|
438
465
|
# The body resource for this request
|
439
466
|
# @yield [result, response] Access the result along with the Faraday response object
|
440
|
-
# @yieldparam result [::Gapic::
|
467
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
441
468
|
# @yieldparam response [::Faraday::Response]
|
442
469
|
#
|
443
|
-
# @return [::Gapic::
|
470
|
+
# @return [::Gapic::GenericLRO::Operation]
|
444
471
|
#
|
445
472
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
446
473
|
def patch request, options = nil
|
@@ -467,7 +494,14 @@ module Google
|
|
467
494
|
metadata: @config.metadata
|
468
495
|
|
469
496
|
@target_grpc_proxies_stub.patch request, options do |result, response|
|
470
|
-
result = ::
|
497
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
498
|
+
operation: result,
|
499
|
+
client: global_operations,
|
500
|
+
request_values: {
|
501
|
+
"project" => request.project
|
502
|
+
},
|
503
|
+
options: options
|
504
|
+
)
|
471
505
|
yield result, response if block_given?
|
472
506
|
return result
|
473
507
|
end
|
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/compute/v1/compute_pb"
|
21
21
|
require "google/cloud/compute/v1/target_http_proxies/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/global_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -143,9 +144,21 @@ module Google
|
|
143
144
|
credentials = Credentials.new credentials, scope: @config.scope
|
144
145
|
end
|
145
146
|
|
147
|
+
@global_operations = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new do |config|
|
148
|
+
config.credentials = credentials
|
149
|
+
config.endpoint = @config.endpoint
|
150
|
+
end
|
151
|
+
|
146
152
|
@target_http_proxies_stub = ::Google::Cloud::Compute::V1::TargetHttpProxies::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
147
153
|
end
|
148
154
|
|
155
|
+
##
|
156
|
+
# Get the associated client for long-running operations via GlobalOperations.
|
157
|
+
#
|
158
|
+
# @return [::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client]
|
159
|
+
#
|
160
|
+
attr_reader :global_operations
|
161
|
+
|
149
162
|
# Service calls
|
150
163
|
|
151
164
|
##
|
@@ -169,7 +182,7 @@ module Google
|
|
169
182
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
170
183
|
#
|
171
184
|
# @param filter [::String]
|
172
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
185
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
173
186
|
# @param include_all_scopes [::Boolean]
|
174
187
|
# Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
|
175
188
|
# @param max_results [::Integer]
|
@@ -249,10 +262,10 @@ module Google
|
|
249
262
|
# @param target_http_proxy [::String]
|
250
263
|
# Name of the TargetHttpProxy resource to delete.
|
251
264
|
# @yield [result, response] Access the result along with the Faraday response object
|
252
|
-
# @yieldparam result [::Gapic::
|
265
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
253
266
|
# @yieldparam response [::Faraday::Response]
|
254
267
|
#
|
255
|
-
# @return [::Gapic::
|
268
|
+
# @return [::Gapic::GenericLRO::Operation]
|
256
269
|
#
|
257
270
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
258
271
|
def delete request, options = nil
|
@@ -279,7 +292,14 @@ module Google
|
|
279
292
|
metadata: @config.metadata
|
280
293
|
|
281
294
|
@target_http_proxies_stub.delete request, options do |result, response|
|
282
|
-
result = ::
|
295
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
296
|
+
operation: result,
|
297
|
+
client: global_operations,
|
298
|
+
request_values: {
|
299
|
+
"project" => request.project
|
300
|
+
},
|
301
|
+
options: options
|
302
|
+
)
|
283
303
|
yield result, response if block_given?
|
284
304
|
return result
|
285
305
|
end
|
@@ -378,10 +398,10 @@ module Google
|
|
378
398
|
# @param target_http_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpProxy, ::Hash]
|
379
399
|
# The body resource for this request
|
380
400
|
# @yield [result, response] Access the result along with the Faraday response object
|
381
|
-
# @yieldparam result [::Gapic::
|
401
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
382
402
|
# @yieldparam response [::Faraday::Response]
|
383
403
|
#
|
384
|
-
# @return [::Gapic::
|
404
|
+
# @return [::Gapic::GenericLRO::Operation]
|
385
405
|
#
|
386
406
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
387
407
|
def insert request, options = nil
|
@@ -408,7 +428,14 @@ module Google
|
|
408
428
|
metadata: @config.metadata
|
409
429
|
|
410
430
|
@target_http_proxies_stub.insert request, options do |result, response|
|
411
|
-
result = ::
|
431
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
432
|
+
operation: result,
|
433
|
+
client: global_operations,
|
434
|
+
request_values: {
|
435
|
+
"project" => request.project
|
436
|
+
},
|
437
|
+
options: options
|
438
|
+
)
|
412
439
|
yield result, response if block_given?
|
413
440
|
return result
|
414
441
|
end
|
@@ -438,7 +465,7 @@ module Google
|
|
438
465
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
439
466
|
#
|
440
467
|
# @param filter [::String]
|
441
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
468
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
442
469
|
# @param max_results [::Integer]
|
443
470
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
444
471
|
# @param order_by [::String]
|
@@ -512,16 +539,16 @@ module Google
|
|
512
539
|
# @param project [::String]
|
513
540
|
# Project ID for this request.
|
514
541
|
# @param request_id [::String]
|
515
|
-
# 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).
|
542
|
+
# 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).
|
516
543
|
# @param target_http_proxy [::String]
|
517
544
|
# Name of the TargetHttpProxy resource to patch.
|
518
545
|
# @param target_http_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpProxy, ::Hash]
|
519
546
|
# The body resource for this request
|
520
547
|
# @yield [result, response] Access the result along with the Faraday response object
|
521
|
-
# @yieldparam result [::Gapic::
|
548
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
522
549
|
# @yieldparam response [::Faraday::Response]
|
523
550
|
#
|
524
|
-
# @return [::Gapic::
|
551
|
+
# @return [::Gapic::GenericLRO::Operation]
|
525
552
|
#
|
526
553
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
527
554
|
def patch request, options = nil
|
@@ -548,7 +575,14 @@ module Google
|
|
548
575
|
metadata: @config.metadata
|
549
576
|
|
550
577
|
@target_http_proxies_stub.patch request, options do |result, response|
|
551
|
-
result = ::
|
578
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
579
|
+
operation: result,
|
580
|
+
client: global_operations,
|
581
|
+
request_values: {
|
582
|
+
"project" => request.project
|
583
|
+
},
|
584
|
+
options: options
|
585
|
+
)
|
552
586
|
yield result, response if block_given?
|
553
587
|
return result
|
554
588
|
end
|
@@ -586,10 +620,10 @@ module Google
|
|
586
620
|
# @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
|
587
621
|
# The body resource for this request
|
588
622
|
# @yield [result, response] Access the result along with the Faraday response object
|
589
|
-
# @yieldparam result [::Gapic::
|
623
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
590
624
|
# @yieldparam response [::Faraday::Response]
|
591
625
|
#
|
592
|
-
# @return [::Gapic::
|
626
|
+
# @return [::Gapic::GenericLRO::Operation]
|
593
627
|
#
|
594
628
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
595
629
|
def set_url_map request, options = nil
|
@@ -616,7 +650,14 @@ module Google
|
|
616
650
|
metadata: @config.metadata
|
617
651
|
|
618
652
|
@target_http_proxies_stub.set_url_map request, options do |result, response|
|
619
|
-
result = ::
|
653
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
654
|
+
operation: result,
|
655
|
+
client: global_operations,
|
656
|
+
request_values: {
|
657
|
+
"project" => request.project
|
658
|
+
},
|
659
|
+
options: options
|
660
|
+
)
|
620
661
|
yield result, response if block_given?
|
621
662
|
return result
|
622
663
|
end
|
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/compute/v1/compute_pb"
|
21
21
|
require "google/cloud/compute/v1/target_https_proxies/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/global_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -149,9 +150,21 @@ module Google
|
|
149
150
|
credentials = Credentials.new credentials, scope: @config.scope
|
150
151
|
end
|
151
152
|
|
153
|
+
@global_operations = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new do |config|
|
154
|
+
config.credentials = credentials
|
155
|
+
config.endpoint = @config.endpoint
|
156
|
+
end
|
157
|
+
|
152
158
|
@target_https_proxies_stub = ::Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
153
159
|
end
|
154
160
|
|
161
|
+
##
|
162
|
+
# Get the associated client for long-running operations via GlobalOperations.
|
163
|
+
#
|
164
|
+
# @return [::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client]
|
165
|
+
#
|
166
|
+
attr_reader :global_operations
|
167
|
+
|
155
168
|
# Service calls
|
156
169
|
|
157
170
|
##
|
@@ -175,7 +188,7 @@ module Google
|
|
175
188
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
176
189
|
#
|
177
190
|
# @param filter [::String]
|
178
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
191
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
179
192
|
# @param include_all_scopes [::Boolean]
|
180
193
|
# Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
|
181
194
|
# @param max_results [::Integer]
|
@@ -255,10 +268,10 @@ module Google
|
|
255
268
|
# @param target_https_proxy [::String]
|
256
269
|
# Name of the TargetHttpsProxy resource to delete.
|
257
270
|
# @yield [result, response] Access the result along with the Faraday response object
|
258
|
-
# @yieldparam result [::Gapic::
|
271
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
259
272
|
# @yieldparam response [::Faraday::Response]
|
260
273
|
#
|
261
|
-
# @return [::Gapic::
|
274
|
+
# @return [::Gapic::GenericLRO::Operation]
|
262
275
|
#
|
263
276
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
264
277
|
def delete request, options = nil
|
@@ -285,7 +298,14 @@ module Google
|
|
285
298
|
metadata: @config.metadata
|
286
299
|
|
287
300
|
@target_https_proxies_stub.delete request, options do |result, response|
|
288
|
-
result = ::
|
301
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
302
|
+
operation: result,
|
303
|
+
client: global_operations,
|
304
|
+
request_values: {
|
305
|
+
"project" => request.project
|
306
|
+
},
|
307
|
+
options: options
|
308
|
+
)
|
289
309
|
yield result, response if block_given?
|
290
310
|
return result
|
291
311
|
end
|
@@ -384,10 +404,10 @@ module Google
|
|
384
404
|
# @param target_https_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpsProxy, ::Hash]
|
385
405
|
# The body resource for this request
|
386
406
|
# @yield [result, response] Access the result along with the Faraday response object
|
387
|
-
# @yieldparam result [::Gapic::
|
407
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
388
408
|
# @yieldparam response [::Faraday::Response]
|
389
409
|
#
|
390
|
-
# @return [::Gapic::
|
410
|
+
# @return [::Gapic::GenericLRO::Operation]
|
391
411
|
#
|
392
412
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
393
413
|
def insert request, options = nil
|
@@ -414,7 +434,14 @@ module Google
|
|
414
434
|
metadata: @config.metadata
|
415
435
|
|
416
436
|
@target_https_proxies_stub.insert request, options do |result, response|
|
417
|
-
result = ::
|
437
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
438
|
+
operation: result,
|
439
|
+
client: global_operations,
|
440
|
+
request_values: {
|
441
|
+
"project" => request.project
|
442
|
+
},
|
443
|
+
options: options
|
444
|
+
)
|
418
445
|
yield result, response if block_given?
|
419
446
|
return result
|
420
447
|
end
|
@@ -444,7 +471,7 @@ module Google
|
|
444
471
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
445
472
|
#
|
446
473
|
# @param filter [::String]
|
447
|
-
# A filter expression that filters resources listed in the response. The expression must specify the field name,
|
474
|
+
# A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
448
475
|
# @param max_results [::Integer]
|
449
476
|
# The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
450
477
|
# @param order_by [::String]
|
@@ -518,16 +545,16 @@ module Google
|
|
518
545
|
# @param project [::String]
|
519
546
|
# Project ID for this request.
|
520
547
|
# @param request_id [::String]
|
521
|
-
# 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).
|
548
|
+
# 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).
|
522
549
|
# @param target_https_proxy [::String]
|
523
550
|
# Name of the TargetHttpsProxy resource to patch.
|
524
551
|
# @param target_https_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpsProxy, ::Hash]
|
525
552
|
# The body resource for this request
|
526
553
|
# @yield [result, response] Access the result along with the Faraday response object
|
527
|
-
# @yieldparam result [::Gapic::
|
554
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
528
555
|
# @yieldparam response [::Faraday::Response]
|
529
556
|
#
|
530
|
-
# @return [::Gapic::
|
557
|
+
# @return [::Gapic::GenericLRO::Operation]
|
531
558
|
#
|
532
559
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
533
560
|
def patch request, options = nil
|
@@ -554,7 +581,14 @@ module Google
|
|
554
581
|
metadata: @config.metadata
|
555
582
|
|
556
583
|
@target_https_proxies_stub.patch request, options do |result, response|
|
557
|
-
result = ::
|
584
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
585
|
+
operation: result,
|
586
|
+
client: global_operations,
|
587
|
+
request_values: {
|
588
|
+
"project" => request.project
|
589
|
+
},
|
590
|
+
options: options
|
591
|
+
)
|
558
592
|
yield result, response if block_given?
|
559
593
|
return result
|
560
594
|
end
|
@@ -592,10 +626,10 @@ module Google
|
|
592
626
|
# @param target_https_proxy [::String]
|
593
627
|
# Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.
|
594
628
|
# @yield [result, response] Access the result along with the Faraday response object
|
595
|
-
# @yieldparam result [::Gapic::
|
629
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
596
630
|
# @yieldparam response [::Faraday::Response]
|
597
631
|
#
|
598
|
-
# @return [::Gapic::
|
632
|
+
# @return [::Gapic::GenericLRO::Operation]
|
599
633
|
#
|
600
634
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
601
635
|
def set_quic_override request, options = nil
|
@@ -622,7 +656,14 @@ module Google
|
|
622
656
|
metadata: @config.metadata
|
623
657
|
|
624
658
|
@target_https_proxies_stub.set_quic_override request, options do |result, response|
|
625
|
-
result = ::
|
659
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
660
|
+
operation: result,
|
661
|
+
client: global_operations,
|
662
|
+
request_values: {
|
663
|
+
"project" => request.project
|
664
|
+
},
|
665
|
+
options: options
|
666
|
+
)
|
626
667
|
yield result, response if block_given?
|
627
668
|
return result
|
628
669
|
end
|
@@ -660,10 +701,10 @@ module Google
|
|
660
701
|
# @param target_https_proxy [::String]
|
661
702
|
# Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
|
662
703
|
# @yield [result, response] Access the result along with the Faraday response object
|
663
|
-
# @yieldparam result [::Gapic::
|
704
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
664
705
|
# @yieldparam response [::Faraday::Response]
|
665
706
|
#
|
666
|
-
# @return [::Gapic::
|
707
|
+
# @return [::Gapic::GenericLRO::Operation]
|
667
708
|
#
|
668
709
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
669
710
|
def set_ssl_certificates request, options = nil
|
@@ -690,7 +731,14 @@ module Google
|
|
690
731
|
metadata: @config.metadata
|
691
732
|
|
692
733
|
@target_https_proxies_stub.set_ssl_certificates request, options do |result, response|
|
693
|
-
result = ::
|
734
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
735
|
+
operation: result,
|
736
|
+
client: global_operations,
|
737
|
+
request_values: {
|
738
|
+
"project" => request.project
|
739
|
+
},
|
740
|
+
options: options
|
741
|
+
)
|
694
742
|
yield result, response if block_given?
|
695
743
|
return result
|
696
744
|
end
|
@@ -728,10 +776,10 @@ module Google
|
|
728
776
|
# @param target_https_proxy [::String]
|
729
777
|
# Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.
|
730
778
|
# @yield [result, response] Access the result along with the Faraday response object
|
731
|
-
# @yieldparam result [::Gapic::
|
779
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
732
780
|
# @yieldparam response [::Faraday::Response]
|
733
781
|
#
|
734
|
-
# @return [::Gapic::
|
782
|
+
# @return [::Gapic::GenericLRO::Operation]
|
735
783
|
#
|
736
784
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
737
785
|
def set_ssl_policy request, options = nil
|
@@ -758,7 +806,14 @@ module Google
|
|
758
806
|
metadata: @config.metadata
|
759
807
|
|
760
808
|
@target_https_proxies_stub.set_ssl_policy request, options do |result, response|
|
761
|
-
result = ::
|
809
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
810
|
+
operation: result,
|
811
|
+
client: global_operations,
|
812
|
+
request_values: {
|
813
|
+
"project" => request.project
|
814
|
+
},
|
815
|
+
options: options
|
816
|
+
)
|
762
817
|
yield result, response if block_given?
|
763
818
|
return result
|
764
819
|
end
|
@@ -796,10 +851,10 @@ module Google
|
|
796
851
|
# @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
|
797
852
|
# The body resource for this request
|
798
853
|
# @yield [result, response] Access the result along with the Faraday response object
|
799
|
-
# @yieldparam result [::Gapic::
|
854
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
800
855
|
# @yieldparam response [::Faraday::Response]
|
801
856
|
#
|
802
|
-
# @return [::Gapic::
|
857
|
+
# @return [::Gapic::GenericLRO::Operation]
|
803
858
|
#
|
804
859
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
805
860
|
def set_url_map request, options = nil
|
@@ -826,7 +881,14 @@ module Google
|
|
826
881
|
metadata: @config.metadata
|
827
882
|
|
828
883
|
@target_https_proxies_stub.set_url_map request, options do |result, response|
|
829
|
-
result = ::
|
884
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
885
|
+
operation: result,
|
886
|
+
client: global_operations,
|
887
|
+
request_values: {
|
888
|
+
"project" => request.project
|
889
|
+
},
|
890
|
+
options: options
|
891
|
+
)
|
830
892
|
yield result, response if block_given?
|
831
893
|
return result
|
832
894
|
end
|