google-cloud-compute-v1 1.1.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/lib/google/cloud/compute/v1/addresses/rest/client.rb +35 -6
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +83 -21
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +93 -24
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +90 -21
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +43 -9
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +97 -30
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +53 -12
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +68 -15
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +33 -6
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +63 -15
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +53 -12
- 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/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 +43 -9
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +53 -12
- data/lib/google/cloud/compute/v1/images/rest/client.rb +63 -15
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +167 -42
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +68 -15
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +33 -6
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +365 -96
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +43 -9
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +33 -6
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +33 -6
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +83 -21
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +79 -18
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +35 -6
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +103 -27
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +43 -9
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +35 -6
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +90 -21
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +167 -42
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +24 -3
- 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 +35 -6
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +35 -6
- 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 +35 -6
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +35 -6
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +57 -12
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +33 -6
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +73 -18
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +43 -9
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +33 -6
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +43 -9
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +68 -15
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +43 -9
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +53 -12
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +83 -21
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +35 -6
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +90 -21
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +73 -18
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +53 -12
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +35 -6
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +63 -15
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +46 -9
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +35 -6
- 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.rb +2 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab8a933db4ec8c992ffa26d79d0f025033d1b1538dff1fabdc79942aa11cb5f
|
4
|
+
data.tar.gz: 6c2a400cd0a754f11deaff892e978f53b4f0528e54689bb1e719c222b7ae2486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1d98c0d6c79d6aa9535f2219b0e3ac8ade4e948d82f0018c6e25597fbe243cd4bda5a4c412b1d1059a5f0a5f9be1c661a6f882e891ea180b475ebe7eab2b491
|
7
|
+
data.tar.gz: e7870de19a01f09f8b8b51d46e6e354b2c94d1e797ce75fb2b11238f4eba21dc1ce3dc398b4b8c6f9d94f1b2b51bf17445f1a18146cf4238f1e9dac922409d53
|
@@ -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/addresses/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/region_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -139,9 +140,21 @@ module Google
|
|
139
140
|
credentials = Credentials.new credentials, scope: @config.scope
|
140
141
|
end
|
141
142
|
|
143
|
+
@region_operations = ::Google::Cloud::Compute::V1::RegionOperations::Rest::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
142
148
|
@addresses_stub = ::Google::Cloud::Compute::V1::Addresses::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
143
149
|
end
|
144
150
|
|
151
|
+
##
|
152
|
+
# Get the associated client for long-running operations via RegionOperations.
|
153
|
+
#
|
154
|
+
# @return [::Google::Cloud::Compute::V1::RegionOperations::Rest::Client]
|
155
|
+
#
|
156
|
+
attr_reader :region_operations
|
157
|
+
|
145
158
|
# Service calls
|
146
159
|
|
147
160
|
##
|
@@ -247,10 +260,10 @@ module Google
|
|
247
260
|
# @param request_id [::String]
|
248
261
|
# 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).
|
249
262
|
# @yield [result, response] Access the result along with the Faraday response object
|
250
|
-
# @yieldparam result [::Gapic::
|
263
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
251
264
|
# @yieldparam response [::Faraday::Response]
|
252
265
|
#
|
253
|
-
# @return [::Gapic::
|
266
|
+
# @return [::Gapic::GenericLRO::Operation]
|
254
267
|
#
|
255
268
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
256
269
|
def delete request, options = nil
|
@@ -277,7 +290,15 @@ module Google
|
|
277
290
|
metadata: @config.metadata
|
278
291
|
|
279
292
|
@addresses_stub.delete request, options do |result, response|
|
280
|
-
result = ::
|
293
|
+
result = ::Google::Cloud::Compute::V1::RegionOperations::Rest::NonstandardLro.create_operation(
|
294
|
+
operation: result,
|
295
|
+
client: region_operations,
|
296
|
+
request_values: {
|
297
|
+
"project" => request.project,
|
298
|
+
"region" => request.region
|
299
|
+
},
|
300
|
+
options: options
|
301
|
+
)
|
281
302
|
yield result, response if block_given?
|
282
303
|
return result
|
283
304
|
end
|
@@ -380,10 +401,10 @@ module Google
|
|
380
401
|
# @param request_id [::String]
|
381
402
|
# 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).
|
382
403
|
# @yield [result, response] Access the result along with the Faraday response object
|
383
|
-
# @yieldparam result [::Gapic::
|
404
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
384
405
|
# @yieldparam response [::Faraday::Response]
|
385
406
|
#
|
386
|
-
# @return [::Gapic::
|
407
|
+
# @return [::Gapic::GenericLRO::Operation]
|
387
408
|
#
|
388
409
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
389
410
|
def insert request, options = nil
|
@@ -410,7 +431,15 @@ module Google
|
|
410
431
|
metadata: @config.metadata
|
411
432
|
|
412
433
|
@addresses_stub.insert request, options do |result, response|
|
413
|
-
result = ::
|
434
|
+
result = ::Google::Cloud::Compute::V1::RegionOperations::Rest::NonstandardLro.create_operation(
|
435
|
+
operation: result,
|
436
|
+
client: region_operations,
|
437
|
+
request_values: {
|
438
|
+
"project" => request.project,
|
439
|
+
"region" => request.region
|
440
|
+
},
|
441
|
+
options: options
|
442
|
+
)
|
414
443
|
yield result, response if block_given?
|
415
444
|
return result
|
416
445
|
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/autoscalers/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/zone_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
|
+
@zone_operations = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::Client.new do |config|
|
148
|
+
config.credentials = credentials
|
149
|
+
config.endpoint = @config.endpoint
|
150
|
+
end
|
151
|
+
|
146
152
|
@autoscalers_stub = ::Google::Cloud::Compute::V1::Autoscalers::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
147
153
|
end
|
148
154
|
|
155
|
+
##
|
156
|
+
# Get the associated client for long-running operations via ZoneOperations.
|
157
|
+
#
|
158
|
+
# @return [::Google::Cloud::Compute::V1::ZoneOperations::Rest::Client]
|
159
|
+
#
|
160
|
+
attr_reader :zone_operations
|
161
|
+
|
149
162
|
# Service calls
|
150
163
|
|
151
164
|
##
|
@@ -251,10 +264,10 @@ module Google
|
|
251
264
|
# @param zone [::String]
|
252
265
|
# Name of the zone for this request.
|
253
266
|
# @yield [result, response] Access the result along with the Faraday response object
|
254
|
-
# @yieldparam result [::Gapic::
|
267
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
255
268
|
# @yieldparam response [::Faraday::Response]
|
256
269
|
#
|
257
|
-
# @return [::Gapic::
|
270
|
+
# @return [::Gapic::GenericLRO::Operation]
|
258
271
|
#
|
259
272
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
260
273
|
def delete request, options = nil
|
@@ -281,7 +294,15 @@ module Google
|
|
281
294
|
metadata: @config.metadata
|
282
295
|
|
283
296
|
@autoscalers_stub.delete request, options do |result, response|
|
284
|
-
result = ::
|
297
|
+
result = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro.create_operation(
|
298
|
+
operation: result,
|
299
|
+
client: zone_operations,
|
300
|
+
request_values: {
|
301
|
+
"project" => request.project,
|
302
|
+
"zone" => request.zone
|
303
|
+
},
|
304
|
+
options: options
|
305
|
+
)
|
285
306
|
yield result, response if block_given?
|
286
307
|
return result
|
287
308
|
end
|
@@ -384,10 +405,10 @@ module Google
|
|
384
405
|
# @param zone [::String]
|
385
406
|
# Name of the zone for this request.
|
386
407
|
# @yield [result, response] Access the result along with the Faraday response object
|
387
|
-
# @yieldparam result [::Gapic::
|
408
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
388
409
|
# @yieldparam response [::Faraday::Response]
|
389
410
|
#
|
390
|
-
# @return [::Gapic::
|
411
|
+
# @return [::Gapic::GenericLRO::Operation]
|
391
412
|
#
|
392
413
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
393
414
|
def insert request, options = nil
|
@@ -414,7 +435,15 @@ module Google
|
|
414
435
|
metadata: @config.metadata
|
415
436
|
|
416
437
|
@autoscalers_stub.insert request, options do |result, response|
|
417
|
-
result = ::
|
438
|
+
result = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro.create_operation(
|
439
|
+
operation: result,
|
440
|
+
client: zone_operations,
|
441
|
+
request_values: {
|
442
|
+
"project" => request.project,
|
443
|
+
"zone" => request.zone
|
444
|
+
},
|
445
|
+
options: options
|
446
|
+
)
|
418
447
|
yield result, response if block_given?
|
419
448
|
return result
|
420
449
|
end
|
@@ -528,10 +557,10 @@ module Google
|
|
528
557
|
# @param zone [::String]
|
529
558
|
# Name of the zone for this request.
|
530
559
|
# @yield [result, response] Access the result along with the Faraday response object
|
531
|
-
# @yieldparam result [::Gapic::
|
560
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
532
561
|
# @yieldparam response [::Faraday::Response]
|
533
562
|
#
|
534
|
-
# @return [::Gapic::
|
563
|
+
# @return [::Gapic::GenericLRO::Operation]
|
535
564
|
#
|
536
565
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
537
566
|
def patch request, options = nil
|
@@ -558,7 +587,15 @@ module Google
|
|
558
587
|
metadata: @config.metadata
|
559
588
|
|
560
589
|
@autoscalers_stub.patch request, options do |result, response|
|
561
|
-
result = ::
|
590
|
+
result = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro.create_operation(
|
591
|
+
operation: result,
|
592
|
+
client: zone_operations,
|
593
|
+
request_values: {
|
594
|
+
"project" => request.project,
|
595
|
+
"zone" => request.zone
|
596
|
+
},
|
597
|
+
options: options
|
598
|
+
)
|
562
599
|
yield result, response if block_given?
|
563
600
|
return result
|
564
601
|
end
|
@@ -598,10 +635,10 @@ module Google
|
|
598
635
|
# @param zone [::String]
|
599
636
|
# Name of the zone for this request.
|
600
637
|
# @yield [result, response] Access the result along with the Faraday response object
|
601
|
-
# @yieldparam result [::Gapic::
|
638
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
602
639
|
# @yieldparam response [::Faraday::Response]
|
603
640
|
#
|
604
|
-
# @return [::Gapic::
|
641
|
+
# @return [::Gapic::GenericLRO::Operation]
|
605
642
|
#
|
606
643
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
607
644
|
def update request, options = nil
|
@@ -628,7 +665,15 @@ module Google
|
|
628
665
|
metadata: @config.metadata
|
629
666
|
|
630
667
|
@autoscalers_stub.update request, options do |result, response|
|
631
|
-
result = ::
|
668
|
+
result = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro.create_operation(
|
669
|
+
operation: result,
|
670
|
+
client: zone_operations,
|
671
|
+
request_values: {
|
672
|
+
"project" => request.project,
|
673
|
+
"zone" => request.zone
|
674
|
+
},
|
675
|
+
options: options
|
676
|
+
)
|
632
677
|
yield result, response if block_given?
|
633
678
|
return result
|
634
679
|
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/backend_buckets/rest/service_stub"
|
22
|
+
require "google/cloud/compute/v1/global_operations/rest"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -144,9 +145,21 @@ module Google
|
|
144
145
|
credentials = Credentials.new credentials, scope: @config.scope
|
145
146
|
end
|
146
147
|
|
148
|
+
@global_operations = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.endpoint = @config.endpoint
|
151
|
+
end
|
152
|
+
|
147
153
|
@backend_buckets_stub = ::Google::Cloud::Compute::V1::BackendBuckets::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
|
148
154
|
end
|
149
155
|
|
156
|
+
##
|
157
|
+
# Get the associated client for long-running operations via GlobalOperations.
|
158
|
+
#
|
159
|
+
# @return [::Google::Cloud::Compute::V1::GlobalOperations::Rest::Client]
|
160
|
+
#
|
161
|
+
attr_reader :global_operations
|
162
|
+
|
150
163
|
# Service calls
|
151
164
|
|
152
165
|
##
|
@@ -178,10 +191,10 @@ module Google
|
|
178
191
|
# @param signed_url_key_resource [::Google::Cloud::Compute::V1::SignedUrlKey, ::Hash]
|
179
192
|
# The body resource for this request
|
180
193
|
# @yield [result, response] Access the result along with the Faraday response object
|
181
|
-
# @yieldparam result [::Gapic::
|
194
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
182
195
|
# @yieldparam response [::Faraday::Response]
|
183
196
|
#
|
184
|
-
# @return [::Gapic::
|
197
|
+
# @return [::Gapic::GenericLRO::Operation]
|
185
198
|
#
|
186
199
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
187
200
|
def add_signed_url_key request, options = nil
|
@@ -208,7 +221,14 @@ module Google
|
|
208
221
|
metadata: @config.metadata
|
209
222
|
|
210
223
|
@backend_buckets_stub.add_signed_url_key request, options do |result, response|
|
211
|
-
result = ::
|
224
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
225
|
+
operation: result,
|
226
|
+
client: global_operations,
|
227
|
+
request_values: {
|
228
|
+
"project" => request.project
|
229
|
+
},
|
230
|
+
options: options
|
231
|
+
)
|
212
232
|
yield result, response if block_given?
|
213
233
|
return result
|
214
234
|
end
|
@@ -244,10 +264,10 @@ module Google
|
|
244
264
|
# @param request_id [::String]
|
245
265
|
# 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).
|
246
266
|
# @yield [result, response] Access the result along with the Faraday response object
|
247
|
-
# @yieldparam result [::Gapic::
|
267
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
248
268
|
# @yieldparam response [::Faraday::Response]
|
249
269
|
#
|
250
|
-
# @return [::Gapic::
|
270
|
+
# @return [::Gapic::GenericLRO::Operation]
|
251
271
|
#
|
252
272
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
253
273
|
def delete request, options = nil
|
@@ -274,7 +294,14 @@ module Google
|
|
274
294
|
metadata: @config.metadata
|
275
295
|
|
276
296
|
@backend_buckets_stub.delete request, options do |result, response|
|
277
|
-
result = ::
|
297
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
298
|
+
operation: result,
|
299
|
+
client: global_operations,
|
300
|
+
request_values: {
|
301
|
+
"project" => request.project
|
302
|
+
},
|
303
|
+
options: options
|
304
|
+
)
|
278
305
|
yield result, response if block_given?
|
279
306
|
return result
|
280
307
|
end
|
@@ -312,10 +339,10 @@ module Google
|
|
312
339
|
# @param request_id [::String]
|
313
340
|
# 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).
|
314
341
|
# @yield [result, response] Access the result along with the Faraday response object
|
315
|
-
# @yieldparam result [::Gapic::
|
342
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
316
343
|
# @yieldparam response [::Faraday::Response]
|
317
344
|
#
|
318
|
-
# @return [::Gapic::
|
345
|
+
# @return [::Gapic::GenericLRO::Operation]
|
319
346
|
#
|
320
347
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
321
348
|
def delete_signed_url_key request, options = nil
|
@@ -342,7 +369,14 @@ module Google
|
|
342
369
|
metadata: @config.metadata
|
343
370
|
|
344
371
|
@backend_buckets_stub.delete_signed_url_key request, options do |result, response|
|
345
|
-
result = ::
|
372
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
373
|
+
operation: result,
|
374
|
+
client: global_operations,
|
375
|
+
request_values: {
|
376
|
+
"project" => request.project
|
377
|
+
},
|
378
|
+
options: options
|
379
|
+
)
|
346
380
|
yield result, response if block_given?
|
347
381
|
return result
|
348
382
|
end
|
@@ -441,10 +475,10 @@ module Google
|
|
441
475
|
# @param request_id [::String]
|
442
476
|
# 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).
|
443
477
|
# @yield [result, response] Access the result along with the Faraday response object
|
444
|
-
# @yieldparam result [::Gapic::
|
478
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
445
479
|
# @yieldparam response [::Faraday::Response]
|
446
480
|
#
|
447
|
-
# @return [::Gapic::
|
481
|
+
# @return [::Gapic::GenericLRO::Operation]
|
448
482
|
#
|
449
483
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
450
484
|
def insert request, options = nil
|
@@ -471,7 +505,14 @@ module Google
|
|
471
505
|
metadata: @config.metadata
|
472
506
|
|
473
507
|
@backend_buckets_stub.insert request, options do |result, response|
|
474
|
-
result = ::
|
508
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
509
|
+
operation: result,
|
510
|
+
client: global_operations,
|
511
|
+
request_values: {
|
512
|
+
"project" => request.project
|
513
|
+
},
|
514
|
+
options: options
|
515
|
+
)
|
475
516
|
yield result, response if block_given?
|
476
517
|
return result
|
477
518
|
end
|
@@ -581,10 +622,10 @@ module Google
|
|
581
622
|
# @param request_id [::String]
|
582
623
|
# 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).
|
583
624
|
# @yield [result, response] Access the result along with the Faraday response object
|
584
|
-
# @yieldparam result [::Gapic::
|
625
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
585
626
|
# @yieldparam response [::Faraday::Response]
|
586
627
|
#
|
587
|
-
# @return [::Gapic::
|
628
|
+
# @return [::Gapic::GenericLRO::Operation]
|
588
629
|
#
|
589
630
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
590
631
|
def patch request, options = nil
|
@@ -611,7 +652,14 @@ module Google
|
|
611
652
|
metadata: @config.metadata
|
612
653
|
|
613
654
|
@backend_buckets_stub.patch request, options do |result, response|
|
614
|
-
result = ::
|
655
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
656
|
+
operation: result,
|
657
|
+
client: global_operations,
|
658
|
+
request_values: {
|
659
|
+
"project" => request.project
|
660
|
+
},
|
661
|
+
options: options
|
662
|
+
)
|
615
663
|
yield result, response if block_given?
|
616
664
|
return result
|
617
665
|
end
|
@@ -649,10 +697,10 @@ module Google
|
|
649
697
|
# @param security_policy_reference_resource [::Google::Cloud::Compute::V1::SecurityPolicyReference, ::Hash]
|
650
698
|
# The body resource for this request
|
651
699
|
# @yield [result, response] Access the result along with the Faraday response object
|
652
|
-
# @yieldparam result [::Gapic::
|
700
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
653
701
|
# @yieldparam response [::Faraday::Response]
|
654
702
|
#
|
655
|
-
# @return [::Gapic::
|
703
|
+
# @return [::Gapic::GenericLRO::Operation]
|
656
704
|
#
|
657
705
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
658
706
|
def set_edge_security_policy request, options = nil
|
@@ -679,7 +727,14 @@ module Google
|
|
679
727
|
metadata: @config.metadata
|
680
728
|
|
681
729
|
@backend_buckets_stub.set_edge_security_policy request, options do |result, response|
|
682
|
-
result = ::
|
730
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
731
|
+
operation: result,
|
732
|
+
client: global_operations,
|
733
|
+
request_values: {
|
734
|
+
"project" => request.project
|
735
|
+
},
|
736
|
+
options: options
|
737
|
+
)
|
683
738
|
yield result, response if block_given?
|
684
739
|
return result
|
685
740
|
end
|
@@ -717,10 +772,10 @@ module Google
|
|
717
772
|
# @param request_id [::String]
|
718
773
|
# 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).
|
719
774
|
# @yield [result, response] Access the result along with the Faraday response object
|
720
|
-
# @yieldparam result [::Gapic::
|
775
|
+
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
721
776
|
# @yieldparam response [::Faraday::Response]
|
722
777
|
#
|
723
|
-
# @return [::Gapic::
|
778
|
+
# @return [::Gapic::GenericLRO::Operation]
|
724
779
|
#
|
725
780
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
726
781
|
def update request, options = nil
|
@@ -747,7 +802,14 @@ module Google
|
|
747
802
|
metadata: @config.metadata
|
748
803
|
|
749
804
|
@backend_buckets_stub.update request, options do |result, response|
|
750
|
-
result = ::
|
805
|
+
result = ::Google::Cloud::Compute::V1::GlobalOperations::Rest::NonstandardLro.create_operation(
|
806
|
+
operation: result,
|
807
|
+
client: global_operations,
|
808
|
+
request_values: {
|
809
|
+
"project" => request.project
|
810
|
+
},
|
811
|
+
options: options
|
812
|
+
)
|
751
813
|
yield result, response if block_given?
|
752
814
|
return result
|
753
815
|
end
|