google-cloud-compute-v1 2.4.0 → 2.5.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/accelerator_types/rest/client.rb +48 -0
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +224 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +48 -0
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +288 -0
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +288 -0
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +128 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +48 -0
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +16 -0
- data/lib/google/cloud/compute/v1/images/rest/client.rb +176 -0
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +320 -0
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +128 -0
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +736 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +32 -0
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +32 -0
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +32 -0
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +48 -0
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +128 -0
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +256 -0
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +176 -0
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +224 -0
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +128 -0
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +48 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +208 -0
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +32 -0
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +272 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +304 -0
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +16 -0
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +272 -0
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +32 -0
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +160 -0
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +160 -0
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +192 -0
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +128 -0
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +192 -0
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +176 -0
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +80 -0
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +176 -0
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +112 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +144 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +128 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +96 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +64 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +32 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
@@ -209,6 +209,22 @@ module Google
|
|
209
209
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::TargetHttpProxiesScopedList>]
|
210
210
|
#
|
211
211
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
212
|
+
#
|
213
|
+
# @example Basic example
|
214
|
+
# require "google/cloud/compute/v1"
|
215
|
+
#
|
216
|
+
# # Create a client object. The client can be reused for multiple calls.
|
217
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
218
|
+
#
|
219
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
220
|
+
# request = Google::Cloud::Compute::V1::AggregatedListTargetHttpProxiesRequest.new
|
221
|
+
#
|
222
|
+
# # Call the aggregated_list method.
|
223
|
+
# result = client.aggregated_list request
|
224
|
+
#
|
225
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetHttpProxyAggregatedList.
|
226
|
+
# p result
|
227
|
+
#
|
212
228
|
def aggregated_list request, options = nil
|
213
229
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
214
230
|
|
@@ -276,6 +292,22 @@ module Google
|
|
276
292
|
# @return [::Gapic::GenericLRO::Operation]
|
277
293
|
#
|
278
294
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
295
|
+
#
|
296
|
+
# @example Basic example
|
297
|
+
# require "google/cloud/compute/v1"
|
298
|
+
#
|
299
|
+
# # Create a client object. The client can be reused for multiple calls.
|
300
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
301
|
+
#
|
302
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
303
|
+
# request = Google::Cloud::Compute::V1::DeleteTargetHttpProxyRequest.new
|
304
|
+
#
|
305
|
+
# # Call the delete method.
|
306
|
+
# result = client.delete request
|
307
|
+
#
|
308
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
309
|
+
# p result
|
310
|
+
#
|
279
311
|
def delete request, options = nil
|
280
312
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
281
313
|
|
@@ -348,6 +380,22 @@ module Google
|
|
348
380
|
# @return [::Google::Cloud::Compute::V1::TargetHttpProxy]
|
349
381
|
#
|
350
382
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
383
|
+
#
|
384
|
+
# @example Basic example
|
385
|
+
# require "google/cloud/compute/v1"
|
386
|
+
#
|
387
|
+
# # Create a client object. The client can be reused for multiple calls.
|
388
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
389
|
+
#
|
390
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
391
|
+
# request = Google::Cloud::Compute::V1::GetTargetHttpProxyRequest.new
|
392
|
+
#
|
393
|
+
# # Call the get method.
|
394
|
+
# result = client.get request
|
395
|
+
#
|
396
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetHttpProxy.
|
397
|
+
# p result
|
398
|
+
#
|
351
399
|
def get request, options = nil
|
352
400
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
353
401
|
|
@@ -414,6 +462,22 @@ module Google
|
|
414
462
|
# @return [::Gapic::GenericLRO::Operation]
|
415
463
|
#
|
416
464
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
465
|
+
#
|
466
|
+
# @example Basic example
|
467
|
+
# require "google/cloud/compute/v1"
|
468
|
+
#
|
469
|
+
# # Create a client object. The client can be reused for multiple calls.
|
470
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
471
|
+
#
|
472
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
473
|
+
# request = Google::Cloud::Compute::V1::InsertTargetHttpProxyRequest.new
|
474
|
+
#
|
475
|
+
# # Call the insert method.
|
476
|
+
# result = client.insert request
|
477
|
+
#
|
478
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
479
|
+
# p result
|
480
|
+
#
|
417
481
|
def insert request, options = nil
|
418
482
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
419
483
|
|
@@ -494,6 +558,22 @@ module Google
|
|
494
558
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpProxy>]
|
495
559
|
#
|
496
560
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
561
|
+
#
|
562
|
+
# @example Basic example
|
563
|
+
# require "google/cloud/compute/v1"
|
564
|
+
#
|
565
|
+
# # Create a client object. The client can be reused for multiple calls.
|
566
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
567
|
+
#
|
568
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
569
|
+
# request = Google::Cloud::Compute::V1::ListTargetHttpProxiesRequest.new
|
570
|
+
#
|
571
|
+
# # Call the list method.
|
572
|
+
# result = client.list request
|
573
|
+
#
|
574
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetHttpProxyList.
|
575
|
+
# p result
|
576
|
+
#
|
497
577
|
def list request, options = nil
|
498
578
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
499
579
|
|
@@ -563,6 +643,22 @@ module Google
|
|
563
643
|
# @return [::Gapic::GenericLRO::Operation]
|
564
644
|
#
|
565
645
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
646
|
+
#
|
647
|
+
# @example Basic example
|
648
|
+
# require "google/cloud/compute/v1"
|
649
|
+
#
|
650
|
+
# # Create a client object. The client can be reused for multiple calls.
|
651
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
652
|
+
#
|
653
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
654
|
+
# request = Google::Cloud::Compute::V1::PatchTargetHttpProxyRequest.new
|
655
|
+
#
|
656
|
+
# # Call the patch method.
|
657
|
+
# result = client.patch request
|
658
|
+
#
|
659
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
660
|
+
# p result
|
661
|
+
#
|
566
662
|
def patch request, options = nil
|
567
663
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
568
664
|
|
@@ -639,6 +735,22 @@ module Google
|
|
639
735
|
# @return [::Gapic::GenericLRO::Operation]
|
640
736
|
#
|
641
737
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
738
|
+
#
|
739
|
+
# @example Basic example
|
740
|
+
# require "google/cloud/compute/v1"
|
741
|
+
#
|
742
|
+
# # Create a client object. The client can be reused for multiple calls.
|
743
|
+
# client = Google::Cloud::Compute::V1::TargetHttpProxies::Rest::Client.new
|
744
|
+
#
|
745
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
746
|
+
# request = Google::Cloud::Compute::V1::SetUrlMapTargetHttpProxyRequest.new
|
747
|
+
#
|
748
|
+
# # Call the set_url_map method.
|
749
|
+
# result = client.set_url_map request
|
750
|
+
#
|
751
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
752
|
+
# p result
|
753
|
+
#
|
642
754
|
def set_url_map request, options = nil
|
643
755
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
644
756
|
|
@@ -217,6 +217,22 @@ module Google
|
|
217
217
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::TargetHttpsProxiesScopedList>]
|
218
218
|
#
|
219
219
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
220
|
+
#
|
221
|
+
# @example Basic example
|
222
|
+
# require "google/cloud/compute/v1"
|
223
|
+
#
|
224
|
+
# # Create a client object. The client can be reused for multiple calls.
|
225
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
226
|
+
#
|
227
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
228
|
+
# request = Google::Cloud::Compute::V1::AggregatedListTargetHttpsProxiesRequest.new
|
229
|
+
#
|
230
|
+
# # Call the aggregated_list method.
|
231
|
+
# result = client.aggregated_list request
|
232
|
+
#
|
233
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetHttpsProxyAggregatedList.
|
234
|
+
# p result
|
235
|
+
#
|
220
236
|
def aggregated_list request, options = nil
|
221
237
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
222
238
|
|
@@ -284,6 +300,22 @@ module Google
|
|
284
300
|
# @return [::Gapic::GenericLRO::Operation]
|
285
301
|
#
|
286
302
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
303
|
+
#
|
304
|
+
# @example Basic example
|
305
|
+
# require "google/cloud/compute/v1"
|
306
|
+
#
|
307
|
+
# # Create a client object. The client can be reused for multiple calls.
|
308
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
309
|
+
#
|
310
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
311
|
+
# request = Google::Cloud::Compute::V1::DeleteTargetHttpsProxyRequest.new
|
312
|
+
#
|
313
|
+
# # Call the delete method.
|
314
|
+
# result = client.delete request
|
315
|
+
#
|
316
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
317
|
+
# p result
|
318
|
+
#
|
287
319
|
def delete request, options = nil
|
288
320
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
289
321
|
|
@@ -356,6 +388,22 @@ module Google
|
|
356
388
|
# @return [::Google::Cloud::Compute::V1::TargetHttpsProxy]
|
357
389
|
#
|
358
390
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
391
|
+
#
|
392
|
+
# @example Basic example
|
393
|
+
# require "google/cloud/compute/v1"
|
394
|
+
#
|
395
|
+
# # Create a client object. The client can be reused for multiple calls.
|
396
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
397
|
+
#
|
398
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
399
|
+
# request = Google::Cloud::Compute::V1::GetTargetHttpsProxyRequest.new
|
400
|
+
#
|
401
|
+
# # Call the get method.
|
402
|
+
# result = client.get request
|
403
|
+
#
|
404
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetHttpsProxy.
|
405
|
+
# p result
|
406
|
+
#
|
359
407
|
def get request, options = nil
|
360
408
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
361
409
|
|
@@ -422,6 +470,22 @@ module Google
|
|
422
470
|
# @return [::Gapic::GenericLRO::Operation]
|
423
471
|
#
|
424
472
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
473
|
+
#
|
474
|
+
# @example Basic example
|
475
|
+
# require "google/cloud/compute/v1"
|
476
|
+
#
|
477
|
+
# # Create a client object. The client can be reused for multiple calls.
|
478
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
479
|
+
#
|
480
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
481
|
+
# request = Google::Cloud::Compute::V1::InsertTargetHttpsProxyRequest.new
|
482
|
+
#
|
483
|
+
# # Call the insert method.
|
484
|
+
# result = client.insert request
|
485
|
+
#
|
486
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
487
|
+
# p result
|
488
|
+
#
|
425
489
|
def insert request, options = nil
|
426
490
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
427
491
|
|
@@ -502,6 +566,22 @@ module Google
|
|
502
566
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpsProxy>]
|
503
567
|
#
|
504
568
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
569
|
+
#
|
570
|
+
# @example Basic example
|
571
|
+
# require "google/cloud/compute/v1"
|
572
|
+
#
|
573
|
+
# # Create a client object. The client can be reused for multiple calls.
|
574
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
575
|
+
#
|
576
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
577
|
+
# request = Google::Cloud::Compute::V1::ListTargetHttpsProxiesRequest.new
|
578
|
+
#
|
579
|
+
# # Call the list method.
|
580
|
+
# result = client.list request
|
581
|
+
#
|
582
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetHttpsProxyList.
|
583
|
+
# p result
|
584
|
+
#
|
505
585
|
def list request, options = nil
|
506
586
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
507
587
|
|
@@ -571,6 +651,22 @@ module Google
|
|
571
651
|
# @return [::Gapic::GenericLRO::Operation]
|
572
652
|
#
|
573
653
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
654
|
+
#
|
655
|
+
# @example Basic example
|
656
|
+
# require "google/cloud/compute/v1"
|
657
|
+
#
|
658
|
+
# # Create a client object. The client can be reused for multiple calls.
|
659
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
660
|
+
#
|
661
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
662
|
+
# request = Google::Cloud::Compute::V1::PatchTargetHttpsProxyRequest.new
|
663
|
+
#
|
664
|
+
# # Call the patch method.
|
665
|
+
# result = client.patch request
|
666
|
+
#
|
667
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
668
|
+
# p result
|
669
|
+
#
|
574
670
|
def patch request, options = nil
|
575
671
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
576
672
|
|
@@ -647,6 +743,22 @@ module Google
|
|
647
743
|
# @return [::Gapic::GenericLRO::Operation]
|
648
744
|
#
|
649
745
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
746
|
+
#
|
747
|
+
# @example Basic example
|
748
|
+
# require "google/cloud/compute/v1"
|
749
|
+
#
|
750
|
+
# # Create a client object. The client can be reused for multiple calls.
|
751
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
752
|
+
#
|
753
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
754
|
+
# request = Google::Cloud::Compute::V1::SetCertificateMapTargetHttpsProxyRequest.new
|
755
|
+
#
|
756
|
+
# # Call the set_certificate_map method.
|
757
|
+
# result = client.set_certificate_map request
|
758
|
+
#
|
759
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
760
|
+
# p result
|
761
|
+
#
|
650
762
|
def set_certificate_map request, options = nil
|
651
763
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
652
764
|
|
@@ -723,6 +835,22 @@ module Google
|
|
723
835
|
# @return [::Gapic::GenericLRO::Operation]
|
724
836
|
#
|
725
837
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
838
|
+
#
|
839
|
+
# @example Basic example
|
840
|
+
# require "google/cloud/compute/v1"
|
841
|
+
#
|
842
|
+
# # Create a client object. The client can be reused for multiple calls.
|
843
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
844
|
+
#
|
845
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
846
|
+
# request = Google::Cloud::Compute::V1::SetQuicOverrideTargetHttpsProxyRequest.new
|
847
|
+
#
|
848
|
+
# # Call the set_quic_override method.
|
849
|
+
# result = client.set_quic_override request
|
850
|
+
#
|
851
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
852
|
+
# p result
|
853
|
+
#
|
726
854
|
def set_quic_override request, options = nil
|
727
855
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
728
856
|
|
@@ -799,6 +927,22 @@ module Google
|
|
799
927
|
# @return [::Gapic::GenericLRO::Operation]
|
800
928
|
#
|
801
929
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
930
|
+
#
|
931
|
+
# @example Basic example
|
932
|
+
# require "google/cloud/compute/v1"
|
933
|
+
#
|
934
|
+
# # Create a client object. The client can be reused for multiple calls.
|
935
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
936
|
+
#
|
937
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
938
|
+
# request = Google::Cloud::Compute::V1::SetSslCertificatesTargetHttpsProxyRequest.new
|
939
|
+
#
|
940
|
+
# # Call the set_ssl_certificates method.
|
941
|
+
# result = client.set_ssl_certificates request
|
942
|
+
#
|
943
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
944
|
+
# p result
|
945
|
+
#
|
802
946
|
def set_ssl_certificates request, options = nil
|
803
947
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
804
948
|
|
@@ -875,6 +1019,22 @@ module Google
|
|
875
1019
|
# @return [::Gapic::GenericLRO::Operation]
|
876
1020
|
#
|
877
1021
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1022
|
+
#
|
1023
|
+
# @example Basic example
|
1024
|
+
# require "google/cloud/compute/v1"
|
1025
|
+
#
|
1026
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1027
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
1028
|
+
#
|
1029
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1030
|
+
# request = Google::Cloud::Compute::V1::SetSslPolicyTargetHttpsProxyRequest.new
|
1031
|
+
#
|
1032
|
+
# # Call the set_ssl_policy method.
|
1033
|
+
# result = client.set_ssl_policy request
|
1034
|
+
#
|
1035
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
1036
|
+
# p result
|
1037
|
+
#
|
878
1038
|
def set_ssl_policy request, options = nil
|
879
1039
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
880
1040
|
|
@@ -951,6 +1111,22 @@ module Google
|
|
951
1111
|
# @return [::Gapic::GenericLRO::Operation]
|
952
1112
|
#
|
953
1113
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1114
|
+
#
|
1115
|
+
# @example Basic example
|
1116
|
+
# require "google/cloud/compute/v1"
|
1117
|
+
#
|
1118
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1119
|
+
# client = Google::Cloud::Compute::V1::TargetHttpsProxies::Rest::Client.new
|
1120
|
+
#
|
1121
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1122
|
+
# request = Google::Cloud::Compute::V1::SetUrlMapTargetHttpsProxyRequest.new
|
1123
|
+
#
|
1124
|
+
# # Call the set_url_map method.
|
1125
|
+
# result = client.set_url_map request
|
1126
|
+
#
|
1127
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
1128
|
+
# p result
|
1129
|
+
#
|
954
1130
|
def set_url_map request, options = nil
|
955
1131
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
956
1132
|
|
@@ -205,6 +205,22 @@ module Google
|
|
205
205
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::TargetInstancesScopedList>]
|
206
206
|
#
|
207
207
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
208
|
+
#
|
209
|
+
# @example Basic example
|
210
|
+
# require "google/cloud/compute/v1"
|
211
|
+
#
|
212
|
+
# # Create a client object. The client can be reused for multiple calls.
|
213
|
+
# client = Google::Cloud::Compute::V1::TargetInstances::Rest::Client.new
|
214
|
+
#
|
215
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
216
|
+
# request = Google::Cloud::Compute::V1::AggregatedListTargetInstancesRequest.new
|
217
|
+
#
|
218
|
+
# # Call the aggregated_list method.
|
219
|
+
# result = client.aggregated_list request
|
220
|
+
#
|
221
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetInstanceAggregatedList.
|
222
|
+
# p result
|
223
|
+
#
|
208
224
|
def aggregated_list request, options = nil
|
209
225
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
210
226
|
|
@@ -274,6 +290,22 @@ module Google
|
|
274
290
|
# @return [::Gapic::GenericLRO::Operation]
|
275
291
|
#
|
276
292
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
293
|
+
#
|
294
|
+
# @example Basic example
|
295
|
+
# require "google/cloud/compute/v1"
|
296
|
+
#
|
297
|
+
# # Create a client object. The client can be reused for multiple calls.
|
298
|
+
# client = Google::Cloud::Compute::V1::TargetInstances::Rest::Client.new
|
299
|
+
#
|
300
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
301
|
+
# request = Google::Cloud::Compute::V1::DeleteTargetInstanceRequest.new
|
302
|
+
#
|
303
|
+
# # Call the delete method.
|
304
|
+
# result = client.delete request
|
305
|
+
#
|
306
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
307
|
+
# p result
|
308
|
+
#
|
277
309
|
def delete request, options = nil
|
278
310
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
279
311
|
|
@@ -349,6 +381,22 @@ module Google
|
|
349
381
|
# @return [::Google::Cloud::Compute::V1::TargetInstance]
|
350
382
|
#
|
351
383
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
384
|
+
#
|
385
|
+
# @example Basic example
|
386
|
+
# require "google/cloud/compute/v1"
|
387
|
+
#
|
388
|
+
# # Create a client object. The client can be reused for multiple calls.
|
389
|
+
# client = Google::Cloud::Compute::V1::TargetInstances::Rest::Client.new
|
390
|
+
#
|
391
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
392
|
+
# request = Google::Cloud::Compute::V1::GetTargetInstanceRequest.new
|
393
|
+
#
|
394
|
+
# # Call the get method.
|
395
|
+
# result = client.get request
|
396
|
+
#
|
397
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetInstance.
|
398
|
+
# p result
|
399
|
+
#
|
352
400
|
def get request, options = nil
|
353
401
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
354
402
|
|
@@ -417,6 +465,22 @@ module Google
|
|
417
465
|
# @return [::Gapic::GenericLRO::Operation]
|
418
466
|
#
|
419
467
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
468
|
+
#
|
469
|
+
# @example Basic example
|
470
|
+
# require "google/cloud/compute/v1"
|
471
|
+
#
|
472
|
+
# # Create a client object. The client can be reused for multiple calls.
|
473
|
+
# client = Google::Cloud::Compute::V1::TargetInstances::Rest::Client.new
|
474
|
+
#
|
475
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
476
|
+
# request = Google::Cloud::Compute::V1::InsertTargetInstanceRequest.new
|
477
|
+
#
|
478
|
+
# # Call the insert method.
|
479
|
+
# result = client.insert request
|
480
|
+
#
|
481
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
482
|
+
# p result
|
483
|
+
#
|
420
484
|
def insert request, options = nil
|
421
485
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
422
486
|
|
@@ -500,6 +564,22 @@ module Google
|
|
500
564
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetInstance>]
|
501
565
|
#
|
502
566
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
567
|
+
#
|
568
|
+
# @example Basic example
|
569
|
+
# require "google/cloud/compute/v1"
|
570
|
+
#
|
571
|
+
# # Create a client object. The client can be reused for multiple calls.
|
572
|
+
# client = Google::Cloud::Compute::V1::TargetInstances::Rest::Client.new
|
573
|
+
#
|
574
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
575
|
+
# request = Google::Cloud::Compute::V1::ListTargetInstancesRequest.new
|
576
|
+
#
|
577
|
+
# # Call the list method.
|
578
|
+
# result = client.list request
|
579
|
+
#
|
580
|
+
# # The returned object is of type Google::Cloud::Compute::V1::TargetInstanceList.
|
581
|
+
# p result
|
582
|
+
#
|
503
583
|
def list request, options = nil
|
504
584
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
505
585
|
|