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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +48 -0
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +112 -0
  4. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +112 -0
  5. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +144 -0
  6. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +224 -0
  7. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +48 -0
  8. data/lib/google/cloud/compute/v1/disks/rest/client.rb +288 -0
  9. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +96 -0
  10. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +288 -0
  11. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +96 -0
  12. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +128 -0
  13. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +96 -0
  14. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +112 -0
  15. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +112 -0
  16. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +80 -0
  17. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +48 -0
  18. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +80 -0
  19. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +112 -0
  20. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +16 -0
  21. data/lib/google/cloud/compute/v1/images/rest/client.rb +176 -0
  22. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +320 -0
  23. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +144 -0
  24. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +128 -0
  25. data/lib/google/cloud/compute/v1/instances/rest/client.rb +736 -0
  26. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +112 -0
  27. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +32 -0
  28. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +32 -0
  29. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +112 -0
  30. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +32 -0
  31. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +112 -0
  32. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +112 -0
  33. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +48 -0
  34. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +128 -0
  35. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +80 -0
  36. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +144 -0
  37. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +256 -0
  38. data/lib/google/cloud/compute/v1/networks/rest/client.rb +176 -0
  39. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +224 -0
  40. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +128 -0
  41. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +48 -0
  42. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +112 -0
  43. data/lib/google/cloud/compute/v1/projects/rest/client.rb +208 -0
  44. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +80 -0
  45. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +96 -0
  46. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +96 -0
  47. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +144 -0
  48. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +80 -0
  49. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +32 -0
  50. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +272 -0
  51. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +80 -0
  52. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +96 -0
  53. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +304 -0
  54. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +64 -0
  55. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +64 -0
  56. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +16 -0
  57. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +64 -0
  58. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +272 -0
  59. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +64 -0
  60. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +64 -0
  61. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +80 -0
  62. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +64 -0
  63. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +96 -0
  64. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +80 -0
  65. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +112 -0
  66. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +64 -0
  67. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +112 -0
  68. data/lib/google/cloud/compute/v1/regions/rest/client.rb +32 -0
  69. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +160 -0
  70. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +144 -0
  71. data/lib/google/cloud/compute/v1/routers/rest/client.rb +160 -0
  72. data/lib/google/cloud/compute/v1/routes/rest/client.rb +64 -0
  73. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +192 -0
  74. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +144 -0
  75. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +128 -0
  76. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +80 -0
  77. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +112 -0
  78. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +192 -0
  79. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +80 -0
  80. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +112 -0
  81. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +176 -0
  82. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +80 -0
  83. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +176 -0
  84. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +144 -0
  85. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +112 -0
  86. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +96 -0
  87. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +144 -0
  88. data/lib/google/cloud/compute/v1/version.rb +1 -1
  89. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +128 -0
  90. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +96 -0
  91. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +64 -0
  92. data/lib/google/cloud/compute/v1/zones/rest/client.rb +32 -0
  93. data/proto_docs/google/api/field_behavior.rb +14 -0
  94. metadata +5 -5
@@ -196,6 +196,22 @@ module Google
196
196
  # @return [::Gapic::GenericLRO::Operation]
197
197
  #
198
198
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
199
+ #
200
+ # @example Basic example
201
+ # require "google/cloud/compute/v1"
202
+ #
203
+ # # Create a client object. The client can be reused for multiple calls.
204
+ # client = Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client.new
205
+ #
206
+ # # Create a request. To set request fields, pass in keyword arguments.
207
+ # request = Google::Cloud::Compute::V1::DeleteRegionSecurityPolicyRequest.new
208
+ #
209
+ # # Call the delete method.
210
+ # result = client.delete request
211
+ #
212
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
213
+ # p result
214
+ #
199
215
  def delete request, options = nil
200
216
  raise ::ArgumentError, "request must be provided" if request.nil?
201
217
 
@@ -271,6 +287,22 @@ module Google
271
287
  # @return [::Google::Cloud::Compute::V1::SecurityPolicy]
272
288
  #
273
289
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
290
+ #
291
+ # @example Basic example
292
+ # require "google/cloud/compute/v1"
293
+ #
294
+ # # Create a client object. The client can be reused for multiple calls.
295
+ # client = Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client.new
296
+ #
297
+ # # Create a request. To set request fields, pass in keyword arguments.
298
+ # request = Google::Cloud::Compute::V1::GetRegionSecurityPolicyRequest.new
299
+ #
300
+ # # Call the get method.
301
+ # result = client.get request
302
+ #
303
+ # # The returned object is of type Google::Cloud::Compute::V1::SecurityPolicy.
304
+ # p result
305
+ #
274
306
  def get request, options = nil
275
307
  raise ::ArgumentError, "request must be provided" if request.nil?
276
308
 
@@ -341,6 +373,22 @@ module Google
341
373
  # @return [::Gapic::GenericLRO::Operation]
342
374
  #
343
375
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
376
+ #
377
+ # @example Basic example
378
+ # require "google/cloud/compute/v1"
379
+ #
380
+ # # Create a client object. The client can be reused for multiple calls.
381
+ # client = Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client.new
382
+ #
383
+ # # Create a request. To set request fields, pass in keyword arguments.
384
+ # request = Google::Cloud::Compute::V1::InsertRegionSecurityPolicyRequest.new
385
+ #
386
+ # # Call the insert method.
387
+ # result = client.insert request
388
+ #
389
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
390
+ # p result
391
+ #
344
392
  def insert request, options = nil
345
393
  raise ::ArgumentError, "request must be provided" if request.nil?
346
394
 
@@ -424,6 +472,22 @@ module Google
424
472
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SecurityPolicy>]
425
473
  #
426
474
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
475
+ #
476
+ # @example Basic example
477
+ # require "google/cloud/compute/v1"
478
+ #
479
+ # # Create a client object. The client can be reused for multiple calls.
480
+ # client = Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client.new
481
+ #
482
+ # # Create a request. To set request fields, pass in keyword arguments.
483
+ # request = Google::Cloud::Compute::V1::ListRegionSecurityPoliciesRequest.new
484
+ #
485
+ # # Call the list method.
486
+ # result = client.list request
487
+ #
488
+ # # The returned object is of type Google::Cloud::Compute::V1::SecurityPolicyList.
489
+ # p result
490
+ #
427
491
  def list request, options = nil
428
492
  raise ::ArgumentError, "request must be provided" if request.nil?
429
493
 
@@ -495,6 +559,22 @@ module Google
495
559
  # @return [::Gapic::GenericLRO::Operation]
496
560
  #
497
561
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
562
+ #
563
+ # @example Basic example
564
+ # require "google/cloud/compute/v1"
565
+ #
566
+ # # Create a client object. The client can be reused for multiple calls.
567
+ # client = Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client.new
568
+ #
569
+ # # Create a request. To set request fields, pass in keyword arguments.
570
+ # request = Google::Cloud::Compute::V1::PatchRegionSecurityPolicyRequest.new
571
+ #
572
+ # # Call the patch method.
573
+ # result = client.patch request
574
+ #
575
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
576
+ # p result
577
+ #
498
578
  def patch request, options = nil
499
579
  raise ::ArgumentError, "request must be provided" if request.nil?
500
580
 
@@ -194,6 +194,22 @@ module Google
194
194
  # @return [::Gapic::GenericLRO::Operation]
195
195
  #
196
196
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
197
+ #
198
+ # @example Basic example
199
+ # require "google/cloud/compute/v1"
200
+ #
201
+ # # Create a client object. The client can be reused for multiple calls.
202
+ # client = Google::Cloud::Compute::V1::RegionSslCertificates::Rest::Client.new
203
+ #
204
+ # # Create a request. To set request fields, pass in keyword arguments.
205
+ # request = Google::Cloud::Compute::V1::DeleteRegionSslCertificateRequest.new
206
+ #
207
+ # # Call the delete method.
208
+ # result = client.delete request
209
+ #
210
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
211
+ # p result
212
+ #
197
213
  def delete request, options = nil
198
214
  raise ::ArgumentError, "request must be provided" if request.nil?
199
215
 
@@ -269,6 +285,22 @@ module Google
269
285
  # @return [::Google::Cloud::Compute::V1::SslCertificate]
270
286
  #
271
287
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
288
+ #
289
+ # @example Basic example
290
+ # require "google/cloud/compute/v1"
291
+ #
292
+ # # Create a client object. The client can be reused for multiple calls.
293
+ # client = Google::Cloud::Compute::V1::RegionSslCertificates::Rest::Client.new
294
+ #
295
+ # # Create a request. To set request fields, pass in keyword arguments.
296
+ # request = Google::Cloud::Compute::V1::GetRegionSslCertificateRequest.new
297
+ #
298
+ # # Call the get method.
299
+ # result = client.get request
300
+ #
301
+ # # The returned object is of type Google::Cloud::Compute::V1::SslCertificate.
302
+ # p result
303
+ #
272
304
  def get request, options = nil
273
305
  raise ::ArgumentError, "request must be provided" if request.nil?
274
306
 
@@ -337,6 +369,22 @@ module Google
337
369
  # @return [::Gapic::GenericLRO::Operation]
338
370
  #
339
371
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
372
+ #
373
+ # @example Basic example
374
+ # require "google/cloud/compute/v1"
375
+ #
376
+ # # Create a client object. The client can be reused for multiple calls.
377
+ # client = Google::Cloud::Compute::V1::RegionSslCertificates::Rest::Client.new
378
+ #
379
+ # # Create a request. To set request fields, pass in keyword arguments.
380
+ # request = Google::Cloud::Compute::V1::InsertRegionSslCertificateRequest.new
381
+ #
382
+ # # Call the insert method.
383
+ # result = client.insert request
384
+ #
385
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
386
+ # p result
387
+ #
340
388
  def insert request, options = nil
341
389
  raise ::ArgumentError, "request must be provided" if request.nil?
342
390
 
@@ -420,6 +468,22 @@ module Google
420
468
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslCertificate>]
421
469
  #
422
470
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
471
+ #
472
+ # @example Basic example
473
+ # require "google/cloud/compute/v1"
474
+ #
475
+ # # Create a client object. The client can be reused for multiple calls.
476
+ # client = Google::Cloud::Compute::V1::RegionSslCertificates::Rest::Client.new
477
+ #
478
+ # # Create a request. To set request fields, pass in keyword arguments.
479
+ # request = Google::Cloud::Compute::V1::ListRegionSslCertificatesRequest.new
480
+ #
481
+ # # Call the list method.
482
+ # result = client.list request
483
+ #
484
+ # # The returned object is of type Google::Cloud::Compute::V1::SslCertificateList.
485
+ # p result
486
+ #
423
487
  def list request, options = nil
424
488
  raise ::ArgumentError, "request must be provided" if request.nil?
425
489
 
@@ -201,6 +201,22 @@ module Google
201
201
  # @return [::Gapic::GenericLRO::Operation]
202
202
  #
203
203
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
204
+ #
205
+ # @example Basic example
206
+ # require "google/cloud/compute/v1"
207
+ #
208
+ # # Create a client object. The client can be reused for multiple calls.
209
+ # client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
210
+ #
211
+ # # Create a request. To set request fields, pass in keyword arguments.
212
+ # request = Google::Cloud::Compute::V1::DeleteRegionSslPolicyRequest.new
213
+ #
214
+ # # Call the delete method.
215
+ # result = client.delete request
216
+ #
217
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
218
+ # p result
219
+ #
204
220
  def delete request, options = nil
205
221
  raise ::ArgumentError, "request must be provided" if request.nil?
206
222
 
@@ -276,6 +292,22 @@ module Google
276
292
  # @return [::Google::Cloud::Compute::V1::SslPolicy]
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::RegionSslPolicies::Rest::Client.new
301
+ #
302
+ # # Create a request. To set request fields, pass in keyword arguments.
303
+ # request = Google::Cloud::Compute::V1::GetRegionSslPolicyRequest.new
304
+ #
305
+ # # Call the get method.
306
+ # result = client.get request
307
+ #
308
+ # # The returned object is of type Google::Cloud::Compute::V1::SslPolicy.
309
+ # p result
310
+ #
279
311
  def get request, options = nil
280
312
  raise ::ArgumentError, "request must be provided" if request.nil?
281
313
 
@@ -344,6 +376,22 @@ module Google
344
376
  # @return [::Gapic::GenericLRO::Operation]
345
377
  #
346
378
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
379
+ #
380
+ # @example Basic example
381
+ # require "google/cloud/compute/v1"
382
+ #
383
+ # # Create a client object. The client can be reused for multiple calls.
384
+ # client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
385
+ #
386
+ # # Create a request. To set request fields, pass in keyword arguments.
387
+ # request = Google::Cloud::Compute::V1::InsertRegionSslPolicyRequest.new
388
+ #
389
+ # # Call the insert method.
390
+ # result = client.insert request
391
+ #
392
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
393
+ # p result
394
+ #
347
395
  def insert request, options = nil
348
396
  raise ::ArgumentError, "request must be provided" if request.nil?
349
397
 
@@ -427,6 +475,22 @@ module Google
427
475
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslPolicy>]
428
476
  #
429
477
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
478
+ #
479
+ # @example Basic example
480
+ # require "google/cloud/compute/v1"
481
+ #
482
+ # # Create a client object. The client can be reused for multiple calls.
483
+ # client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
484
+ #
485
+ # # Create a request. To set request fields, pass in keyword arguments.
486
+ # request = Google::Cloud::Compute::V1::ListRegionSslPoliciesRequest.new
487
+ #
488
+ # # Call the list method.
489
+ # result = client.list request
490
+ #
491
+ # # The returned object is of type Google::Cloud::Compute::V1::SslPoliciesList.
492
+ # p result
493
+ #
430
494
  def list request, options = nil
431
495
  raise ::ArgumentError, "request must be provided" if request.nil?
432
496
 
@@ -502,6 +566,22 @@ module Google
502
566
  # @return [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
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::RegionSslPolicies::Rest::Client.new
575
+ #
576
+ # # Create a request. To set request fields, pass in keyword arguments.
577
+ # request = Google::Cloud::Compute::V1::ListAvailableFeaturesRegionSslPoliciesRequest.new
578
+ #
579
+ # # Call the list_available_features method.
580
+ # result = client.list_available_features request
581
+ #
582
+ # # The returned object is of type Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse.
583
+ # p result
584
+ #
505
585
  def list_available_features request, options = nil
506
586
  raise ::ArgumentError, "request must be provided" if request.nil?
507
587
 
@@ -572,6 +652,22 @@ module Google
572
652
  # @return [::Gapic::GenericLRO::Operation]
573
653
  #
574
654
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
655
+ #
656
+ # @example Basic example
657
+ # require "google/cloud/compute/v1"
658
+ #
659
+ # # Create a client object. The client can be reused for multiple calls.
660
+ # client = Google::Cloud::Compute::V1::RegionSslPolicies::Rest::Client.new
661
+ #
662
+ # # Create a request. To set request fields, pass in keyword arguments.
663
+ # request = Google::Cloud::Compute::V1::PatchRegionSslPolicyRequest.new
664
+ #
665
+ # # Call the patch method.
666
+ # result = client.patch request
667
+ #
668
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
669
+ # p result
670
+ #
575
671
  def patch request, options = nil
576
672
  raise ::ArgumentError, "request must be provided" if request.nil?
577
673
 
@@ -196,6 +196,22 @@ module Google
196
196
  # @return [::Gapic::GenericLRO::Operation]
197
197
  #
198
198
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
199
+ #
200
+ # @example Basic example
201
+ # require "google/cloud/compute/v1"
202
+ #
203
+ # # Create a client object. The client can be reused for multiple calls.
204
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpProxies::Rest::Client.new
205
+ #
206
+ # # Create a request. To set request fields, pass in keyword arguments.
207
+ # request = Google::Cloud::Compute::V1::DeleteRegionTargetHttpProxyRequest.new
208
+ #
209
+ # # Call the delete method.
210
+ # result = client.delete request
211
+ #
212
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
213
+ # p result
214
+ #
199
215
  def delete request, options = nil
200
216
  raise ::ArgumentError, "request must be provided" if request.nil?
201
217
 
@@ -271,6 +287,22 @@ module Google
271
287
  # @return [::Google::Cloud::Compute::V1::TargetHttpProxy]
272
288
  #
273
289
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
290
+ #
291
+ # @example Basic example
292
+ # require "google/cloud/compute/v1"
293
+ #
294
+ # # Create a client object. The client can be reused for multiple calls.
295
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpProxies::Rest::Client.new
296
+ #
297
+ # # Create a request. To set request fields, pass in keyword arguments.
298
+ # request = Google::Cloud::Compute::V1::GetRegionTargetHttpProxyRequest.new
299
+ #
300
+ # # Call the get method.
301
+ # result = client.get request
302
+ #
303
+ # # The returned object is of type Google::Cloud::Compute::V1::TargetHttpProxy.
304
+ # p result
305
+ #
274
306
  def get request, options = nil
275
307
  raise ::ArgumentError, "request must be provided" if request.nil?
276
308
 
@@ -339,6 +371,22 @@ module Google
339
371
  # @return [::Gapic::GenericLRO::Operation]
340
372
  #
341
373
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
374
+ #
375
+ # @example Basic example
376
+ # require "google/cloud/compute/v1"
377
+ #
378
+ # # Create a client object. The client can be reused for multiple calls.
379
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpProxies::Rest::Client.new
380
+ #
381
+ # # Create a request. To set request fields, pass in keyword arguments.
382
+ # request = Google::Cloud::Compute::V1::InsertRegionTargetHttpProxyRequest.new
383
+ #
384
+ # # Call the insert method.
385
+ # result = client.insert request
386
+ #
387
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
388
+ # p result
389
+ #
342
390
  def insert request, options = nil
343
391
  raise ::ArgumentError, "request must be provided" if request.nil?
344
392
 
@@ -422,6 +470,22 @@ module Google
422
470
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpProxy>]
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::RegionTargetHttpProxies::Rest::Client.new
479
+ #
480
+ # # Create a request. To set request fields, pass in keyword arguments.
481
+ # request = Google::Cloud::Compute::V1::ListRegionTargetHttpProxiesRequest.new
482
+ #
483
+ # # Call the list method.
484
+ # result = client.list request
485
+ #
486
+ # # The returned object is of type Google::Cloud::Compute::V1::TargetHttpProxyList.
487
+ # p result
488
+ #
425
489
  def list request, options = nil
426
490
  raise ::ArgumentError, "request must be provided" if request.nil?
427
491
 
@@ -493,6 +557,22 @@ module Google
493
557
  # @return [::Gapic::GenericLRO::Operation]
494
558
  #
495
559
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
560
+ #
561
+ # @example Basic example
562
+ # require "google/cloud/compute/v1"
563
+ #
564
+ # # Create a client object. The client can be reused for multiple calls.
565
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpProxies::Rest::Client.new
566
+ #
567
+ # # Create a request. To set request fields, pass in keyword arguments.
568
+ # request = Google::Cloud::Compute::V1::SetUrlMapRegionTargetHttpProxyRequest.new
569
+ #
570
+ # # Call the set_url_map method.
571
+ # result = client.set_url_map request
572
+ #
573
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
574
+ # p result
575
+ #
496
576
  def set_url_map request, options = nil
497
577
  raise ::ArgumentError, "request must be provided" if request.nil?
498
578
 
@@ -200,6 +200,22 @@ module Google
200
200
  # @return [::Gapic::GenericLRO::Operation]
201
201
  #
202
202
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
203
+ #
204
+ # @example Basic example
205
+ # require "google/cloud/compute/v1"
206
+ #
207
+ # # Create a client object. The client can be reused for multiple calls.
208
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
209
+ #
210
+ # # Create a request. To set request fields, pass in keyword arguments.
211
+ # request = Google::Cloud::Compute::V1::DeleteRegionTargetHttpsProxyRequest.new
212
+ #
213
+ # # Call the delete method.
214
+ # result = client.delete request
215
+ #
216
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
217
+ # p result
218
+ #
203
219
  def delete request, options = nil
204
220
  raise ::ArgumentError, "request must be provided" if request.nil?
205
221
 
@@ -275,6 +291,22 @@ module Google
275
291
  # @return [::Google::Cloud::Compute::V1::TargetHttpsProxy]
276
292
  #
277
293
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
294
+ #
295
+ # @example Basic example
296
+ # require "google/cloud/compute/v1"
297
+ #
298
+ # # Create a client object. The client can be reused for multiple calls.
299
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
300
+ #
301
+ # # Create a request. To set request fields, pass in keyword arguments.
302
+ # request = Google::Cloud::Compute::V1::GetRegionTargetHttpsProxyRequest.new
303
+ #
304
+ # # Call the get method.
305
+ # result = client.get request
306
+ #
307
+ # # The returned object is of type Google::Cloud::Compute::V1::TargetHttpsProxy.
308
+ # p result
309
+ #
278
310
  def get request, options = nil
279
311
  raise ::ArgumentError, "request must be provided" if request.nil?
280
312
 
@@ -343,6 +375,22 @@ module Google
343
375
  # @return [::Gapic::GenericLRO::Operation]
344
376
  #
345
377
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
378
+ #
379
+ # @example Basic example
380
+ # require "google/cloud/compute/v1"
381
+ #
382
+ # # Create a client object. The client can be reused for multiple calls.
383
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
384
+ #
385
+ # # Create a request. To set request fields, pass in keyword arguments.
386
+ # request = Google::Cloud::Compute::V1::InsertRegionTargetHttpsProxyRequest.new
387
+ #
388
+ # # Call the insert method.
389
+ # result = client.insert request
390
+ #
391
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
392
+ # p result
393
+ #
346
394
  def insert request, options = nil
347
395
  raise ::ArgumentError, "request must be provided" if request.nil?
348
396
 
@@ -426,6 +474,22 @@ module Google
426
474
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpsProxy>]
427
475
  #
428
476
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
477
+ #
478
+ # @example Basic example
479
+ # require "google/cloud/compute/v1"
480
+ #
481
+ # # Create a client object. The client can be reused for multiple calls.
482
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
483
+ #
484
+ # # Create a request. To set request fields, pass in keyword arguments.
485
+ # request = Google::Cloud::Compute::V1::ListRegionTargetHttpsProxiesRequest.new
486
+ #
487
+ # # Call the list method.
488
+ # result = client.list request
489
+ #
490
+ # # The returned object is of type Google::Cloud::Compute::V1::TargetHttpsProxyList.
491
+ # p result
492
+ #
429
493
  def list request, options = nil
430
494
  raise ::ArgumentError, "request must be provided" if request.nil?
431
495
 
@@ -497,6 +561,22 @@ module Google
497
561
  # @return [::Gapic::GenericLRO::Operation]
498
562
  #
499
563
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
564
+ #
565
+ # @example Basic example
566
+ # require "google/cloud/compute/v1"
567
+ #
568
+ # # Create a client object. The client can be reused for multiple calls.
569
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
570
+ #
571
+ # # Create a request. To set request fields, pass in keyword arguments.
572
+ # request = Google::Cloud::Compute::V1::PatchRegionTargetHttpsProxyRequest.new
573
+ #
574
+ # # Call the patch method.
575
+ # result = client.patch request
576
+ #
577
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
578
+ # p result
579
+ #
500
580
  def patch request, options = nil
501
581
  raise ::ArgumentError, "request must be provided" if request.nil?
502
582
 
@@ -576,6 +656,22 @@ module Google
576
656
  # @return [::Gapic::GenericLRO::Operation]
577
657
  #
578
658
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
659
+ #
660
+ # @example Basic example
661
+ # require "google/cloud/compute/v1"
662
+ #
663
+ # # Create a client object. The client can be reused for multiple calls.
664
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
665
+ #
666
+ # # Create a request. To set request fields, pass in keyword arguments.
667
+ # request = Google::Cloud::Compute::V1::SetSslCertificatesRegionTargetHttpsProxyRequest.new
668
+ #
669
+ # # Call the set_ssl_certificates method.
670
+ # result = client.set_ssl_certificates request
671
+ #
672
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
673
+ # p result
674
+ #
579
675
  def set_ssl_certificates request, options = nil
580
676
  raise ::ArgumentError, "request must be provided" if request.nil?
581
677
 
@@ -655,6 +751,22 @@ module Google
655
751
  # @return [::Gapic::GenericLRO::Operation]
656
752
  #
657
753
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
754
+ #
755
+ # @example Basic example
756
+ # require "google/cloud/compute/v1"
757
+ #
758
+ # # Create a client object. The client can be reused for multiple calls.
759
+ # client = Google::Cloud::Compute::V1::RegionTargetHttpsProxies::Rest::Client.new
760
+ #
761
+ # # Create a request. To set request fields, pass in keyword arguments.
762
+ # request = Google::Cloud::Compute::V1::SetUrlMapRegionTargetHttpsProxyRequest.new
763
+ #
764
+ # # Call the set_url_map method.
765
+ # result = client.set_url_map request
766
+ #
767
+ # # The returned object is of type Google::Cloud::Compute::V1::Operation.
768
+ # p result
769
+ #
658
770
  def set_url_map request, options = nil
659
771
  raise ::ArgumentError, "request must be provided" if request.nil?
660
772