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
@@ -191,6 +191,22 @@ module Google
|
|
191
191
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::OperationsScopedList>]
|
192
192
|
#
|
193
193
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
194
|
+
#
|
195
|
+
# @example Basic example
|
196
|
+
# require "google/cloud/compute/v1"
|
197
|
+
#
|
198
|
+
# # Create a client object. The client can be reused for multiple calls.
|
199
|
+
# client = Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new
|
200
|
+
#
|
201
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
202
|
+
# request = Google::Cloud::Compute::V1::AggregatedListGlobalOperationsRequest.new
|
203
|
+
#
|
204
|
+
# # Call the aggregated_list method.
|
205
|
+
# result = client.aggregated_list request
|
206
|
+
#
|
207
|
+
# # The returned object is of type Google::Cloud::Compute::V1::OperationAggregatedList.
|
208
|
+
# p result
|
209
|
+
#
|
194
210
|
def aggregated_list request, options = nil
|
195
211
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
196
212
|
|
@@ -256,6 +272,22 @@ module Google
|
|
256
272
|
# @return [::Google::Cloud::Compute::V1::DeleteGlobalOperationResponse]
|
257
273
|
#
|
258
274
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
275
|
+
#
|
276
|
+
# @example Basic example
|
277
|
+
# require "google/cloud/compute/v1"
|
278
|
+
#
|
279
|
+
# # Create a client object. The client can be reused for multiple calls.
|
280
|
+
# client = Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new
|
281
|
+
#
|
282
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
283
|
+
# request = Google::Cloud::Compute::V1::DeleteGlobalOperationRequest.new
|
284
|
+
#
|
285
|
+
# # Call the delete method.
|
286
|
+
# result = client.delete request
|
287
|
+
#
|
288
|
+
# # The returned object is of type Google::Cloud::Compute::V1::DeleteGlobalOperationResponse.
|
289
|
+
# p result
|
290
|
+
#
|
259
291
|
def delete request, options = nil
|
260
292
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
261
293
|
|
@@ -320,6 +352,22 @@ module Google
|
|
320
352
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
321
353
|
#
|
322
354
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
355
|
+
#
|
356
|
+
# @example Basic example
|
357
|
+
# require "google/cloud/compute/v1"
|
358
|
+
#
|
359
|
+
# # Create a client object. The client can be reused for multiple calls.
|
360
|
+
# client = Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new
|
361
|
+
#
|
362
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
363
|
+
# request = Google::Cloud::Compute::V1::GetGlobalOperationRequest.new
|
364
|
+
#
|
365
|
+
# # Call the get method.
|
366
|
+
# result = client.get request
|
367
|
+
#
|
368
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
369
|
+
# p result
|
370
|
+
#
|
323
371
|
def get request, options = nil
|
324
372
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
325
373
|
|
@@ -392,6 +440,22 @@ module Google
|
|
392
440
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
|
393
441
|
#
|
394
442
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
443
|
+
#
|
444
|
+
# @example Basic example
|
445
|
+
# require "google/cloud/compute/v1"
|
446
|
+
#
|
447
|
+
# # Create a client object. The client can be reused for multiple calls.
|
448
|
+
# client = Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new
|
449
|
+
#
|
450
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
451
|
+
# request = Google::Cloud::Compute::V1::ListGlobalOperationsRequest.new
|
452
|
+
#
|
453
|
+
# # Call the list method.
|
454
|
+
# result = client.list request
|
455
|
+
#
|
456
|
+
# # The returned object is of type Google::Cloud::Compute::V1::OperationList.
|
457
|
+
# p result
|
458
|
+
#
|
395
459
|
def list request, options = nil
|
396
460
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
397
461
|
|
@@ -457,6 +521,22 @@ module Google
|
|
457
521
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
458
522
|
#
|
459
523
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
524
|
+
#
|
525
|
+
# @example Basic example
|
526
|
+
# require "google/cloud/compute/v1"
|
527
|
+
#
|
528
|
+
# # Create a client object. The client can be reused for multiple calls.
|
529
|
+
# client = Google::Cloud::Compute::V1::GlobalOperations::Rest::Client.new
|
530
|
+
#
|
531
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
532
|
+
# request = Google::Cloud::Compute::V1::WaitGlobalOperationRequest.new
|
533
|
+
#
|
534
|
+
# # Call the wait method.
|
535
|
+
# result = client.wait request
|
536
|
+
#
|
537
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
538
|
+
# p result
|
539
|
+
#
|
460
540
|
def wait request, options = nil
|
461
541
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
462
542
|
|
@@ -174,6 +174,22 @@ module Google
|
|
174
174
|
# @return [::Google::Cloud::Compute::V1::DeleteGlobalOrganizationOperationResponse]
|
175
175
|
#
|
176
176
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
177
|
+
#
|
178
|
+
# @example Basic example
|
179
|
+
# require "google/cloud/compute/v1"
|
180
|
+
#
|
181
|
+
# # Create a client object. The client can be reused for multiple calls.
|
182
|
+
# client = Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::Client.new
|
183
|
+
#
|
184
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
185
|
+
# request = Google::Cloud::Compute::V1::DeleteGlobalOrganizationOperationRequest.new
|
186
|
+
#
|
187
|
+
# # Call the delete method.
|
188
|
+
# result = client.delete request
|
189
|
+
#
|
190
|
+
# # The returned object is of type Google::Cloud::Compute::V1::DeleteGlobalOrganizationOperationResponse.
|
191
|
+
# p result
|
192
|
+
#
|
177
193
|
def delete request, options = nil
|
178
194
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
179
195
|
|
@@ -238,6 +254,22 @@ module Google
|
|
238
254
|
# @return [::Google::Cloud::Compute::V1::Operation]
|
239
255
|
#
|
240
256
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
257
|
+
#
|
258
|
+
# @example Basic example
|
259
|
+
# require "google/cloud/compute/v1"
|
260
|
+
#
|
261
|
+
# # Create a client object. The client can be reused for multiple calls.
|
262
|
+
# client = Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::Client.new
|
263
|
+
#
|
264
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
265
|
+
# request = Google::Cloud::Compute::V1::GetGlobalOrganizationOperationRequest.new
|
266
|
+
#
|
267
|
+
# # Call the get method.
|
268
|
+
# result = client.get request
|
269
|
+
#
|
270
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
271
|
+
# p result
|
272
|
+
#
|
241
273
|
def get request, options = nil
|
242
274
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
243
275
|
|
@@ -310,6 +342,22 @@ module Google
|
|
310
342
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Operation>]
|
311
343
|
#
|
312
344
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
345
|
+
#
|
346
|
+
# @example Basic example
|
347
|
+
# require "google/cloud/compute/v1"
|
348
|
+
#
|
349
|
+
# # Create a client object. The client can be reused for multiple calls.
|
350
|
+
# client = Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::Client.new
|
351
|
+
#
|
352
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
353
|
+
# request = Google::Cloud::Compute::V1::ListGlobalOrganizationOperationsRequest.new
|
354
|
+
#
|
355
|
+
# # Call the list method.
|
356
|
+
# result = client.list request
|
357
|
+
#
|
358
|
+
# # The returned object is of type Google::Cloud::Compute::V1::OperationList.
|
359
|
+
# p result
|
360
|
+
#
|
313
361
|
def list request, options = nil
|
314
362
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
315
363
|
|
@@ -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::GlobalPublicDelegatedPrefixes::Rest::Client.new
|
203
|
+
#
|
204
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
205
|
+
# request = Google::Cloud::Compute::V1::DeleteGlobalPublicDelegatedPrefixeRequest.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
|
|
@@ -266,6 +282,22 @@ module Google
|
|
266
282
|
# @return [::Google::Cloud::Compute::V1::PublicDelegatedPrefix]
|
267
283
|
#
|
268
284
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
285
|
+
#
|
286
|
+
# @example Basic example
|
287
|
+
# require "google/cloud/compute/v1"
|
288
|
+
#
|
289
|
+
# # Create a client object. The client can be reused for multiple calls.
|
290
|
+
# client = Google::Cloud::Compute::V1::GlobalPublicDelegatedPrefixes::Rest::Client.new
|
291
|
+
#
|
292
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
293
|
+
# request = Google::Cloud::Compute::V1::GetGlobalPublicDelegatedPrefixeRequest.new
|
294
|
+
#
|
295
|
+
# # Call the get method.
|
296
|
+
# result = client.get request
|
297
|
+
#
|
298
|
+
# # The returned object is of type Google::Cloud::Compute::V1::PublicDelegatedPrefix.
|
299
|
+
# p result
|
300
|
+
#
|
269
301
|
def get request, options = nil
|
270
302
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
271
303
|
|
@@ -332,6 +364,22 @@ module Google
|
|
332
364
|
# @return [::Gapic::GenericLRO::Operation]
|
333
365
|
#
|
334
366
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
367
|
+
#
|
368
|
+
# @example Basic example
|
369
|
+
# require "google/cloud/compute/v1"
|
370
|
+
#
|
371
|
+
# # Create a client object. The client can be reused for multiple calls.
|
372
|
+
# client = Google::Cloud::Compute::V1::GlobalPublicDelegatedPrefixes::Rest::Client.new
|
373
|
+
#
|
374
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
375
|
+
# request = Google::Cloud::Compute::V1::InsertGlobalPublicDelegatedPrefixeRequest.new
|
376
|
+
#
|
377
|
+
# # Call the insert method.
|
378
|
+
# result = client.insert request
|
379
|
+
#
|
380
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
381
|
+
# p result
|
382
|
+
#
|
335
383
|
def insert request, options = nil
|
336
384
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
337
385
|
|
@@ -412,6 +460,22 @@ module Google
|
|
412
460
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::PublicDelegatedPrefix>]
|
413
461
|
#
|
414
462
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
463
|
+
#
|
464
|
+
# @example Basic example
|
465
|
+
# require "google/cloud/compute/v1"
|
466
|
+
#
|
467
|
+
# # Create a client object. The client can be reused for multiple calls.
|
468
|
+
# client = Google::Cloud::Compute::V1::GlobalPublicDelegatedPrefixes::Rest::Client.new
|
469
|
+
#
|
470
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
471
|
+
# request = Google::Cloud::Compute::V1::ListGlobalPublicDelegatedPrefixesRequest.new
|
472
|
+
#
|
473
|
+
# # Call the list method.
|
474
|
+
# result = client.list request
|
475
|
+
#
|
476
|
+
# # The returned object is of type Google::Cloud::Compute::V1::PublicDelegatedPrefixList.
|
477
|
+
# p result
|
478
|
+
#
|
415
479
|
def list request, options = nil
|
416
480
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
417
481
|
|
@@ -481,6 +545,22 @@ module Google
|
|
481
545
|
# @return [::Gapic::GenericLRO::Operation]
|
482
546
|
#
|
483
547
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
548
|
+
#
|
549
|
+
# @example Basic example
|
550
|
+
# require "google/cloud/compute/v1"
|
551
|
+
#
|
552
|
+
# # Create a client object. The client can be reused for multiple calls.
|
553
|
+
# client = Google::Cloud::Compute::V1::GlobalPublicDelegatedPrefixes::Rest::Client.new
|
554
|
+
#
|
555
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
556
|
+
# request = Google::Cloud::Compute::V1::PatchGlobalPublicDelegatedPrefixeRequest.new
|
557
|
+
#
|
558
|
+
# # Call the patch method.
|
559
|
+
# result = client.patch request
|
560
|
+
#
|
561
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
562
|
+
# p result
|
563
|
+
#
|
484
564
|
def patch request, options = nil
|
485
565
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
486
566
|
|
@@ -209,6 +209,22 @@ module Google
|
|
209
209
|
# @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::HealthChecksScopedList>]
|
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::HealthChecks::Rest::Client.new
|
218
|
+
#
|
219
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
220
|
+
# request = Google::Cloud::Compute::V1::AggregatedListHealthChecksRequest.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::HealthChecksAggregatedList.
|
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::HealthChecks::Rest::Client.new
|
301
|
+
#
|
302
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
303
|
+
# request = Google::Cloud::Compute::V1::DeleteHealthCheckRequest.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::HealthCheck]
|
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::HealthChecks::Rest::Client.new
|
389
|
+
#
|
390
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
391
|
+
# request = Google::Cloud::Compute::V1::GetHealthCheckRequest.new
|
392
|
+
#
|
393
|
+
# # Call the get method.
|
394
|
+
# result = client.get request
|
395
|
+
#
|
396
|
+
# # The returned object is of type Google::Cloud::Compute::V1::HealthCheck.
|
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::HealthChecks::Rest::Client.new
|
471
|
+
#
|
472
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
473
|
+
# request = Google::Cloud::Compute::V1::InsertHealthCheckRequest.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::HealthCheck>]
|
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::HealthChecks::Rest::Client.new
|
567
|
+
#
|
568
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
569
|
+
# request = Google::Cloud::Compute::V1::ListHealthChecksRequest.new
|
570
|
+
#
|
571
|
+
# # Call the list method.
|
572
|
+
# result = client.list request
|
573
|
+
#
|
574
|
+
# # The returned object is of type Google::Cloud::Compute::V1::HealthCheckList.
|
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::HealthChecks::Rest::Client.new
|
652
|
+
#
|
653
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
654
|
+
# request = Google::Cloud::Compute::V1::PatchHealthCheckRequest.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::HealthChecks::Rest::Client.new
|
744
|
+
#
|
745
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
746
|
+
# request = Google::Cloud::Compute::V1::UpdateHealthCheckRequest.new
|
747
|
+
#
|
748
|
+
# # Call the update method.
|
749
|
+
# result = client.update request
|
750
|
+
#
|
751
|
+
# # The returned object is of type Google::Cloud::Compute::V1::Operation.
|
752
|
+
# p result
|
753
|
+
#
|
642
754
|
def update request, options = nil
|
643
755
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
644
756
|
|
@@ -169,6 +169,22 @@ module Google
|
|
169
169
|
# @return [::Google::Cloud::Compute::V1::ImageFamilyView]
|
170
170
|
#
|
171
171
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
172
|
+
#
|
173
|
+
# @example Basic example
|
174
|
+
# require "google/cloud/compute/v1"
|
175
|
+
#
|
176
|
+
# # Create a client object. The client can be reused for multiple calls.
|
177
|
+
# client = Google::Cloud::Compute::V1::ImageFamilyViews::Rest::Client.new
|
178
|
+
#
|
179
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
180
|
+
# request = Google::Cloud::Compute::V1::GetImageFamilyViewRequest.new
|
181
|
+
#
|
182
|
+
# # Call the get method.
|
183
|
+
# result = client.get request
|
184
|
+
#
|
185
|
+
# # The returned object is of type Google::Cloud::Compute::V1::ImageFamilyView.
|
186
|
+
# p result
|
187
|
+
#
|
172
188
|
def get request, options = nil
|
173
189
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
174
190
|
|