google-cloud-compute-v1 3.4.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
- data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
- data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
- data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/advice.rb +47 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +264 -25
- data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
- data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
- data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
- data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
- data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/rest.rb +10 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +10 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +43929 -5522
- metadata +52 -2
|
@@ -223,7 +223,8 @@ module Google
|
|
|
223
223
|
# Service calls
|
|
224
224
|
|
|
225
225
|
##
|
|
226
|
-
# Adds a key for validating requests with signed URLs for this backend
|
|
226
|
+
# Adds a key for validating requests with signed URLs for this backend
|
|
227
|
+
# bucket.
|
|
227
228
|
#
|
|
228
229
|
# @overload add_signed_url_key(request, options = nil)
|
|
229
230
|
# Pass arguments to `add_signed_url_key` via a request object, either of type
|
|
@@ -241,11 +242,24 @@ module Google
|
|
|
241
242
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
242
243
|
#
|
|
243
244
|
# @param backend_bucket [::String]
|
|
244
|
-
# Name of the BackendBucket resource to which the Signed URL Key should be
|
|
245
|
+
# Name of the BackendBucket resource to which the Signed URL Key should be
|
|
246
|
+
# added. The name should conform to RFC1035.
|
|
245
247
|
# @param project [::String]
|
|
246
248
|
# Project ID for this request.
|
|
247
249
|
# @param request_id [::String]
|
|
248
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
250
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
251
|
+
# that if you must retry your request, the server will know to ignore the
|
|
252
|
+
# request if it has already been completed.
|
|
253
|
+
#
|
|
254
|
+
# For example, consider a situation where you make an initial request and
|
|
255
|
+
# the request times out. If you make the request again with the same
|
|
256
|
+
# request ID, the server can check if original operation with the same
|
|
257
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
258
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
259
|
+
#
|
|
260
|
+
# The request ID must be
|
|
261
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
262
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
249
263
|
# @param signed_url_key_resource [::Google::Cloud::Compute::V1::SignedUrlKey, ::Hash]
|
|
250
264
|
# The body resource for this request
|
|
251
265
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -338,7 +352,19 @@ module Google
|
|
|
338
352
|
# @param project [::String]
|
|
339
353
|
# Project ID for this request.
|
|
340
354
|
# @param request_id [::String]
|
|
341
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
355
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
356
|
+
# that if you must retry your request, the server will know to ignore the
|
|
357
|
+
# request if it has already been completed.
|
|
358
|
+
#
|
|
359
|
+
# For example, consider a situation where you make an initial request and
|
|
360
|
+
# the request times out. If you make the request again with the same
|
|
361
|
+
# request ID, the server can check if original operation with the same
|
|
362
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
363
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
364
|
+
#
|
|
365
|
+
# The request ID must be
|
|
366
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
367
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
342
368
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
343
369
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
344
370
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -407,7 +433,8 @@ module Google
|
|
|
407
433
|
end
|
|
408
434
|
|
|
409
435
|
##
|
|
410
|
-
# Deletes a key for validating requests with signed URLs for this backend
|
|
436
|
+
# Deletes a key for validating requests with signed URLs for this backend
|
|
437
|
+
# bucket.
|
|
411
438
|
#
|
|
412
439
|
# @overload delete_signed_url_key(request, options = nil)
|
|
413
440
|
# Pass arguments to `delete_signed_url_key` via a request object, either of type
|
|
@@ -425,13 +452,26 @@ module Google
|
|
|
425
452
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
426
453
|
#
|
|
427
454
|
# @param backend_bucket [::String]
|
|
428
|
-
# Name of the BackendBucket resource to which the Signed URL Key should be
|
|
455
|
+
# Name of the BackendBucket resource to which the Signed URL Key should be
|
|
456
|
+
# added. The name should conform to RFC1035.
|
|
429
457
|
# @param key_name [::String]
|
|
430
458
|
# The name of the Signed URL Key to delete.
|
|
431
459
|
# @param project [::String]
|
|
432
460
|
# Project ID for this request.
|
|
433
461
|
# @param request_id [::String]
|
|
434
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
462
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
463
|
+
# that if you must retry your request, the server will know to ignore the
|
|
464
|
+
# request if it has already been completed.
|
|
465
|
+
#
|
|
466
|
+
# For example, consider a situation where you make an initial request and
|
|
467
|
+
# the request times out. If you make the request again with the same
|
|
468
|
+
# request ID, the server can check if original operation with the same
|
|
469
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
470
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
471
|
+
#
|
|
472
|
+
# The request ID must be
|
|
473
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
474
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
435
475
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
436
476
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
437
477
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -580,7 +620,8 @@ module Google
|
|
|
580
620
|
end
|
|
581
621
|
|
|
582
622
|
##
|
|
583
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
623
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
624
|
+
# policy or resource exists.
|
|
584
625
|
#
|
|
585
626
|
# @overload get_iam_policy(request, options = nil)
|
|
586
627
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -662,7 +703,8 @@ module Google
|
|
|
662
703
|
end
|
|
663
704
|
|
|
664
705
|
##
|
|
665
|
-
# Creates a BackendBucket resource in the specified project using
|
|
706
|
+
# Creates a BackendBucket resource in the specified project using
|
|
707
|
+
# the data included in the request.
|
|
666
708
|
#
|
|
667
709
|
# @overload insert(request, options = nil)
|
|
668
710
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -684,7 +726,19 @@ module Google
|
|
|
684
726
|
# @param project [::String]
|
|
685
727
|
# Project ID for this request.
|
|
686
728
|
# @param request_id [::String]
|
|
687
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
729
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
730
|
+
# that if you must retry your request, the server will know to ignore the
|
|
731
|
+
# request if it has already been completed.
|
|
732
|
+
#
|
|
733
|
+
# For example, consider a situation where you make an initial request and
|
|
734
|
+
# the request times out. If you make the request again with the same
|
|
735
|
+
# request ID, the server can check if original operation with the same
|
|
736
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
737
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
738
|
+
#
|
|
739
|
+
# The request ID must be
|
|
740
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
741
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
688
742
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
689
743
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
690
744
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -753,7 +807,8 @@ module Google
|
|
|
753
807
|
end
|
|
754
808
|
|
|
755
809
|
##
|
|
756
|
-
# Retrieves the list of BackendBucket resources available to the specified
|
|
810
|
+
# Retrieves the list of BackendBucket resources available to the specified
|
|
811
|
+
# project.
|
|
757
812
|
#
|
|
758
813
|
# @overload list(request, options = nil)
|
|
759
814
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -771,17 +826,95 @@ module Google
|
|
|
771
826
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
772
827
|
#
|
|
773
828
|
# @param filter [::String]
|
|
774
|
-
# A filter expression that filters resources listed in the response. Most
|
|
829
|
+
# A filter expression that filters resources listed in the response. Most
|
|
830
|
+
# Compute resources support two types of filter expressions:
|
|
831
|
+
# expressions that support regular expressions and expressions that follow
|
|
832
|
+
# API improvement proposal AIP-160.
|
|
833
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
834
|
+
#
|
|
835
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
836
|
+
# operator, and the value that you want to use for filtering. The value
|
|
837
|
+
# must be a string, a number, or a boolean. The operator
|
|
838
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
839
|
+
#
|
|
840
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
841
|
+
# exclude instances named `example-instance` by specifying
|
|
842
|
+
# `name != example-instance`.
|
|
843
|
+
#
|
|
844
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
845
|
+
# For example, to find all objects with `owner` label use:
|
|
846
|
+
# ```
|
|
847
|
+
# labels.owner:*
|
|
848
|
+
# ```
|
|
849
|
+
#
|
|
850
|
+
# You can also filter nested fields. For example, you could specify
|
|
851
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
852
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
853
|
+
# on nested fields to filter based onresource labels.
|
|
854
|
+
#
|
|
855
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
856
|
+
# parentheses. For example:
|
|
857
|
+
# ```
|
|
858
|
+
# (scheduling.automaticRestart = true)
|
|
859
|
+
# (cpuPlatform = "Intel Skylake")
|
|
860
|
+
# ```
|
|
861
|
+
# By default, each expression is an `AND` expression. However, you
|
|
862
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
863
|
+
# For example:
|
|
864
|
+
# ```
|
|
865
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
866
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
867
|
+
# (scheduling.automaticRestart = true)
|
|
868
|
+
# ```
|
|
869
|
+
#
|
|
870
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
871
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
872
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
873
|
+
#
|
|
874
|
+
# `fieldname eq unquoted literal`
|
|
875
|
+
# `fieldname eq 'single quoted literal'`
|
|
876
|
+
# `fieldname eq "double quoted literal"`
|
|
877
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
878
|
+
#
|
|
879
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
880
|
+
# The literal value must match the entire field.
|
|
881
|
+
#
|
|
882
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
883
|
+
# you would use `name ne .*instance`.
|
|
884
|
+
#
|
|
885
|
+
# You cannot combine constraints on multiple fields using regular
|
|
886
|
+
# expressions.
|
|
775
887
|
# @param max_results [::Integer]
|
|
776
|
-
# The maximum number of results per page that should be returned.
|
|
888
|
+
# The maximum number of results per page that should be returned.
|
|
889
|
+
# If the number of available results is larger than `maxResults`,
|
|
890
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
891
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
892
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
777
893
|
# @param order_by [::String]
|
|
778
|
-
# Sorts list results by a certain order. By default, results
|
|
894
|
+
# Sorts list results by a certain order. By default, results
|
|
895
|
+
# are returned in alphanumerical order based on the resource name.
|
|
896
|
+
#
|
|
897
|
+
# You can also sort results in descending order based on the creation
|
|
898
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
899
|
+
# results based on the `creationTimestamp` field in
|
|
900
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
901
|
+
# resources like operations so that the newest operation is returned first.
|
|
902
|
+
#
|
|
903
|
+
# Currently, only sorting by `name` or
|
|
904
|
+
# `creationTimestamp desc` is supported.
|
|
779
905
|
# @param page_token [::String]
|
|
780
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
906
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
907
|
+
# `nextPageToken` returned by a previous list request to get
|
|
908
|
+
# the next page of results.
|
|
781
909
|
# @param project [::String]
|
|
782
910
|
# Project ID for this request.
|
|
783
911
|
# @param return_partial_success [::Boolean]
|
|
784
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
912
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
913
|
+
# of failure. The default value is false.
|
|
914
|
+
#
|
|
915
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
916
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
917
|
+
# with an error code.
|
|
785
918
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
786
919
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BackendBucket>]
|
|
787
920
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -843,7 +976,10 @@ module Google
|
|
|
843
976
|
end
|
|
844
977
|
|
|
845
978
|
##
|
|
846
|
-
# Updates the specified BackendBucket resource with the data included in the
|
|
979
|
+
# Updates the specified BackendBucket resource with the data included in the
|
|
980
|
+
# request. This method supportsPATCH
|
|
981
|
+
# semantics and uses theJSON merge
|
|
982
|
+
# patch format and processing rules.
|
|
847
983
|
#
|
|
848
984
|
# @overload patch(request, options = nil)
|
|
849
985
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -867,7 +1003,19 @@ module Google
|
|
|
867
1003
|
# @param project [::String]
|
|
868
1004
|
# Project ID for this request.
|
|
869
1005
|
# @param request_id [::String]
|
|
870
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1006
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1007
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1008
|
+
# request if it has already been completed.
|
|
1009
|
+
#
|
|
1010
|
+
# For example, consider a situation where you make an initial request and
|
|
1011
|
+
# the request times out. If you make the request again with the same
|
|
1012
|
+
# request ID, the server can check if original operation with the same
|
|
1013
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1014
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1015
|
+
#
|
|
1016
|
+
# The request ID must be
|
|
1017
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1018
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
871
1019
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
872
1020
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
873
1021
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -954,11 +1102,24 @@ module Google
|
|
|
954
1102
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
955
1103
|
#
|
|
956
1104
|
# @param backend_bucket [::String]
|
|
957
|
-
# Name of the BackendBucket resource to which the security policy should be
|
|
1105
|
+
# Name of the BackendBucket resource to which the security policy should be
|
|
1106
|
+
# set. The name should conform to RFC1035.
|
|
958
1107
|
# @param project [::String]
|
|
959
1108
|
# Project ID for this request.
|
|
960
1109
|
# @param request_id [::String]
|
|
961
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1110
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1111
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1112
|
+
# request if it has already been completed.
|
|
1113
|
+
#
|
|
1114
|
+
# For example, consider a situation where you make an initial request and
|
|
1115
|
+
# the request times out. If you make the request again with the same
|
|
1116
|
+
# request ID, the server can check if original operation with the same
|
|
1117
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1118
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1119
|
+
#
|
|
1120
|
+
# The request ID must be
|
|
1121
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1122
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
962
1123
|
# @param security_policy_reference_resource [::Google::Cloud::Compute::V1::SecurityPolicyReference, ::Hash]
|
|
963
1124
|
# The body resource for this request
|
|
964
1125
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1029,7 +1190,8 @@ module Google
|
|
|
1029
1190
|
end
|
|
1030
1191
|
|
|
1031
1192
|
##
|
|
1032
|
-
# Sets the access control policy on the specified resource.
|
|
1193
|
+
# Sets the access control policy on the specified resource.
|
|
1194
|
+
# Replaces any existing policy.
|
|
1033
1195
|
#
|
|
1034
1196
|
# @overload set_iam_policy(request, options = nil)
|
|
1035
1197
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -1193,7 +1355,8 @@ module Google
|
|
|
1193
1355
|
end
|
|
1194
1356
|
|
|
1195
1357
|
##
|
|
1196
|
-
# Updates the specified BackendBucket resource with the data included in the
|
|
1358
|
+
# Updates the specified BackendBucket resource with the data included in the
|
|
1359
|
+
# request.
|
|
1197
1360
|
#
|
|
1198
1361
|
# @overload update(request, options = nil)
|
|
1199
1362
|
# Pass arguments to `update` via a request object, either of type
|
|
@@ -1217,7 +1380,19 @@ module Google
|
|
|
1217
1380
|
# @param project [::String]
|
|
1218
1381
|
# Project ID for this request.
|
|
1219
1382
|
# @param request_id [::String]
|
|
1220
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1383
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1384
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1385
|
+
# request if it has already been completed.
|
|
1386
|
+
#
|
|
1387
|
+
# For example, consider a situation where you make an initial request and
|
|
1388
|
+
# the request times out. If you make the request again with the same
|
|
1389
|
+
# request ID, the server can check if original operation with the same
|
|
1390
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1391
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1392
|
+
#
|
|
1393
|
+
# The request ID must be
|
|
1394
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1395
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1221
1396
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1222
1397
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1223
1398
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|