google-cloud-compute-v1 3.4.0 → 3.6.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 +573 -23
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
- 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 +357 -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 +508 -42
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
- 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_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +1145 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +47 -0
- 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_buckets/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +1450 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/service_stub.rb +649 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +47 -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 +1363 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +584 -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 +387 -29
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
- 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 +1363 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +584 -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_manager_resize_requests/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +1002 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/service_stub.rb +400 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.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_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +1146 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +47 -0
- 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_snapshot_settings/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +561 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/service_stub.rb +206 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +47 -0
- data/lib/google/cloud/compute/v1/region_snapshots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +1388 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/service_stub.rb +651 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshots.rb +47 -0
- 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 +17 -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 +245 -13
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
- 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/zone_vm_extension_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +17 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +47064 -5503
- metadata +87 -2
|
@@ -228,7 +228,19 @@ module Google
|
|
|
228
228
|
# @param region [::String]
|
|
229
229
|
# Name of the region scoping this request.
|
|
230
230
|
# @param request_id [::String]
|
|
231
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
231
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
232
|
+
# that if you must retry your request, the server will know to ignore the
|
|
233
|
+
# request if it has already been completed.
|
|
234
|
+
#
|
|
235
|
+
# For example, consider a situation where you make an initial request and
|
|
236
|
+
# the request times out. If you make the request again with the same
|
|
237
|
+
# request ID, the server can check if original operation with the same
|
|
238
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
239
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
240
|
+
#
|
|
241
|
+
# The request ID must be
|
|
242
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
243
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
232
244
|
# @param target_http_proxy [::String]
|
|
233
245
|
# Name of the TargetHttpProxy resource to delete.
|
|
234
246
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -382,7 +394,8 @@ module Google
|
|
|
382
394
|
end
|
|
383
395
|
|
|
384
396
|
##
|
|
385
|
-
# Creates a TargetHttpProxy resource in the specified project and region
|
|
397
|
+
# Creates a TargetHttpProxy resource in the specified project and region
|
|
398
|
+
# using the data included in the request.
|
|
386
399
|
#
|
|
387
400
|
# @overload insert(request, options = nil)
|
|
388
401
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -404,7 +417,19 @@ module Google
|
|
|
404
417
|
# @param region [::String]
|
|
405
418
|
# Name of the region scoping this request.
|
|
406
419
|
# @param request_id [::String]
|
|
407
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
420
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
421
|
+
# that if you must retry your request, the server will know to ignore the
|
|
422
|
+
# request if it has already been completed.
|
|
423
|
+
#
|
|
424
|
+
# For example, consider a situation where you make an initial request and
|
|
425
|
+
# the request times out. If you make the request again with the same
|
|
426
|
+
# request ID, the server can check if original operation with the same
|
|
427
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
428
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
429
|
+
#
|
|
430
|
+
# The request ID must be
|
|
431
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
432
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
408
433
|
# @param target_http_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpProxy, ::Hash]
|
|
409
434
|
# The body resource for this request
|
|
410
435
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -476,7 +501,8 @@ module Google
|
|
|
476
501
|
end
|
|
477
502
|
|
|
478
503
|
##
|
|
479
|
-
# Retrieves the list of TargetHttpProxy resources available
|
|
504
|
+
# Retrieves the list of TargetHttpProxy resources available
|
|
505
|
+
# to the specified project in the specified region.
|
|
480
506
|
#
|
|
481
507
|
# @overload list(request, options = nil)
|
|
482
508
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -494,19 +520,97 @@ module Google
|
|
|
494
520
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
495
521
|
#
|
|
496
522
|
# @param filter [::String]
|
|
497
|
-
# A filter expression that filters resources listed in the response. Most
|
|
523
|
+
# A filter expression that filters resources listed in the response. Most
|
|
524
|
+
# Compute resources support two types of filter expressions:
|
|
525
|
+
# expressions that support regular expressions and expressions that follow
|
|
526
|
+
# API improvement proposal AIP-160.
|
|
527
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
528
|
+
#
|
|
529
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
530
|
+
# operator, and the value that you want to use for filtering. The value
|
|
531
|
+
# must be a string, a number, or a boolean. The operator
|
|
532
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
533
|
+
#
|
|
534
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
535
|
+
# exclude instances named `example-instance` by specifying
|
|
536
|
+
# `name != example-instance`.
|
|
537
|
+
#
|
|
538
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
539
|
+
# For example, to find all objects with `owner` label use:
|
|
540
|
+
# ```
|
|
541
|
+
# labels.owner:*
|
|
542
|
+
# ```
|
|
543
|
+
#
|
|
544
|
+
# You can also filter nested fields. For example, you could specify
|
|
545
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
546
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
547
|
+
# on nested fields to filter based onresource labels.
|
|
548
|
+
#
|
|
549
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
550
|
+
# parentheses. For example:
|
|
551
|
+
# ```
|
|
552
|
+
# (scheduling.automaticRestart = true)
|
|
553
|
+
# (cpuPlatform = "Intel Skylake")
|
|
554
|
+
# ```
|
|
555
|
+
# By default, each expression is an `AND` expression. However, you
|
|
556
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
557
|
+
# For example:
|
|
558
|
+
# ```
|
|
559
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
560
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
561
|
+
# (scheduling.automaticRestart = true)
|
|
562
|
+
# ```
|
|
563
|
+
#
|
|
564
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
565
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
566
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
567
|
+
#
|
|
568
|
+
# `fieldname eq unquoted literal`
|
|
569
|
+
# `fieldname eq 'single quoted literal'`
|
|
570
|
+
# `fieldname eq "double quoted literal"`
|
|
571
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
572
|
+
#
|
|
573
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
574
|
+
# The literal value must match the entire field.
|
|
575
|
+
#
|
|
576
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
577
|
+
# you would use `name ne .*instance`.
|
|
578
|
+
#
|
|
579
|
+
# You cannot combine constraints on multiple fields using regular
|
|
580
|
+
# expressions.
|
|
498
581
|
# @param max_results [::Integer]
|
|
499
|
-
# The maximum number of results per page that should be returned.
|
|
582
|
+
# The maximum number of results per page that should be returned.
|
|
583
|
+
# If the number of available results is larger than `maxResults`,
|
|
584
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
585
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
586
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
500
587
|
# @param order_by [::String]
|
|
501
|
-
# Sorts list results by a certain order. By default, results
|
|
588
|
+
# Sorts list results by a certain order. By default, results
|
|
589
|
+
# are returned in alphanumerical order based on the resource name.
|
|
590
|
+
#
|
|
591
|
+
# You can also sort results in descending order based on the creation
|
|
592
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
593
|
+
# results based on the `creationTimestamp` field in
|
|
594
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
595
|
+
# resources like operations so that the newest operation is returned first.
|
|
596
|
+
#
|
|
597
|
+
# Currently, only sorting by `name` or
|
|
598
|
+
# `creationTimestamp desc` is supported.
|
|
502
599
|
# @param page_token [::String]
|
|
503
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
600
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
601
|
+
# `nextPageToken` returned by a previous list request to get
|
|
602
|
+
# the next page of results.
|
|
504
603
|
# @param project [::String]
|
|
505
604
|
# Project ID for this request.
|
|
506
605
|
# @param region [::String]
|
|
507
606
|
# Name of the region scoping this request.
|
|
508
607
|
# @param return_partial_success [::Boolean]
|
|
509
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
608
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
609
|
+
# of failure. The default value is false.
|
|
610
|
+
#
|
|
611
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
612
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
613
|
+
# with an error code.
|
|
510
614
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
511
615
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpProxy>]
|
|
512
616
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -590,7 +694,19 @@ module Google
|
|
|
590
694
|
# @param region [::String]
|
|
591
695
|
# Name of the region scoping this request.
|
|
592
696
|
# @param request_id [::String]
|
|
593
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
697
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
698
|
+
# that if you must retry your request, the server will know to ignore the
|
|
699
|
+
# request if it has already been completed.
|
|
700
|
+
#
|
|
701
|
+
# For example, consider a situation where you make an initial request and
|
|
702
|
+
# the request times out. If you make the request again with the same
|
|
703
|
+
# request ID, the server can check if original operation with the same
|
|
704
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
705
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
706
|
+
#
|
|
707
|
+
# The request ID must be
|
|
708
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
709
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
594
710
|
# @param target_http_proxy [::String]
|
|
595
711
|
# Name of the TargetHttpProxy to set a URL map for.
|
|
596
712
|
# @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
|
|
@@ -232,7 +232,19 @@ module Google
|
|
|
232
232
|
# @param region [::String]
|
|
233
233
|
# Name of the region scoping this request.
|
|
234
234
|
# @param request_id [::String]
|
|
235
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
235
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
236
|
+
# that if you must retry your request, the server will know to ignore the
|
|
237
|
+
# request if it has already been completed.
|
|
238
|
+
#
|
|
239
|
+
# For example, consider a situation where you make an initial request and
|
|
240
|
+
# the request times out. If you make the request again with the same
|
|
241
|
+
# request ID, the server can check if original operation with the same
|
|
242
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
243
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
244
|
+
#
|
|
245
|
+
# The request ID must be
|
|
246
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
247
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
236
248
|
# @param target_https_proxy [::String]
|
|
237
249
|
# Name of the TargetHttpsProxy resource to delete.
|
|
238
250
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -386,7 +398,8 @@ module Google
|
|
|
386
398
|
end
|
|
387
399
|
|
|
388
400
|
##
|
|
389
|
-
# Creates a TargetHttpsProxy resource in the specified project and region
|
|
401
|
+
# Creates a TargetHttpsProxy resource in the specified project and region
|
|
402
|
+
# using the data included in the request.
|
|
390
403
|
#
|
|
391
404
|
# @overload insert(request, options = nil)
|
|
392
405
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -408,7 +421,19 @@ module Google
|
|
|
408
421
|
# @param region [::String]
|
|
409
422
|
# Name of the region scoping this request.
|
|
410
423
|
# @param request_id [::String]
|
|
411
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
424
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
425
|
+
# that if you must retry your request, the server will know to ignore the
|
|
426
|
+
# request if it has already been completed.
|
|
427
|
+
#
|
|
428
|
+
# For example, consider a situation where you make an initial request and
|
|
429
|
+
# the request times out. If you make the request again with the same
|
|
430
|
+
# request ID, the server can check if original operation with the same
|
|
431
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
432
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
433
|
+
#
|
|
434
|
+
# The request ID must be
|
|
435
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
436
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
412
437
|
# @param target_https_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpsProxy, ::Hash]
|
|
413
438
|
# The body resource for this request
|
|
414
439
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -480,7 +505,8 @@ module Google
|
|
|
480
505
|
end
|
|
481
506
|
|
|
482
507
|
##
|
|
483
|
-
# Retrieves the list of TargetHttpsProxy resources available
|
|
508
|
+
# Retrieves the list of TargetHttpsProxy resources available
|
|
509
|
+
# to the specified project in the specified region.
|
|
484
510
|
#
|
|
485
511
|
# @overload list(request, options = nil)
|
|
486
512
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -498,19 +524,97 @@ module Google
|
|
|
498
524
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
499
525
|
#
|
|
500
526
|
# @param filter [::String]
|
|
501
|
-
# A filter expression that filters resources listed in the response. Most
|
|
527
|
+
# A filter expression that filters resources listed in the response. Most
|
|
528
|
+
# Compute resources support two types of filter expressions:
|
|
529
|
+
# expressions that support regular expressions and expressions that follow
|
|
530
|
+
# API improvement proposal AIP-160.
|
|
531
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
532
|
+
#
|
|
533
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
534
|
+
# operator, and the value that you want to use for filtering. The value
|
|
535
|
+
# must be a string, a number, or a boolean. The operator
|
|
536
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
537
|
+
#
|
|
538
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
539
|
+
# exclude instances named `example-instance` by specifying
|
|
540
|
+
# `name != example-instance`.
|
|
541
|
+
#
|
|
542
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
543
|
+
# For example, to find all objects with `owner` label use:
|
|
544
|
+
# ```
|
|
545
|
+
# labels.owner:*
|
|
546
|
+
# ```
|
|
547
|
+
#
|
|
548
|
+
# You can also filter nested fields. For example, you could specify
|
|
549
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
550
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
551
|
+
# on nested fields to filter based onresource labels.
|
|
552
|
+
#
|
|
553
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
554
|
+
# parentheses. For example:
|
|
555
|
+
# ```
|
|
556
|
+
# (scheduling.automaticRestart = true)
|
|
557
|
+
# (cpuPlatform = "Intel Skylake")
|
|
558
|
+
# ```
|
|
559
|
+
# By default, each expression is an `AND` expression. However, you
|
|
560
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
561
|
+
# For example:
|
|
562
|
+
# ```
|
|
563
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
564
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
565
|
+
# (scheduling.automaticRestart = true)
|
|
566
|
+
# ```
|
|
567
|
+
#
|
|
568
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
569
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
570
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
571
|
+
#
|
|
572
|
+
# `fieldname eq unquoted literal`
|
|
573
|
+
# `fieldname eq 'single quoted literal'`
|
|
574
|
+
# `fieldname eq "double quoted literal"`
|
|
575
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
576
|
+
#
|
|
577
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
578
|
+
# The literal value must match the entire field.
|
|
579
|
+
#
|
|
580
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
581
|
+
# you would use `name ne .*instance`.
|
|
582
|
+
#
|
|
583
|
+
# You cannot combine constraints on multiple fields using regular
|
|
584
|
+
# expressions.
|
|
502
585
|
# @param max_results [::Integer]
|
|
503
|
-
# The maximum number of results per page that should be returned.
|
|
586
|
+
# The maximum number of results per page that should be returned.
|
|
587
|
+
# If the number of available results is larger than `maxResults`,
|
|
588
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
589
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
590
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
504
591
|
# @param order_by [::String]
|
|
505
|
-
# Sorts list results by a certain order. By default, results
|
|
592
|
+
# Sorts list results by a certain order. By default, results
|
|
593
|
+
# are returned in alphanumerical order based on the resource name.
|
|
594
|
+
#
|
|
595
|
+
# You can also sort results in descending order based on the creation
|
|
596
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
597
|
+
# results based on the `creationTimestamp` field in
|
|
598
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
599
|
+
# resources like operations so that the newest operation is returned first.
|
|
600
|
+
#
|
|
601
|
+
# Currently, only sorting by `name` or
|
|
602
|
+
# `creationTimestamp desc` is supported.
|
|
506
603
|
# @param page_token [::String]
|
|
507
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
604
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
605
|
+
# `nextPageToken` returned by a previous list request to get
|
|
606
|
+
# the next page of results.
|
|
508
607
|
# @param project [::String]
|
|
509
608
|
# Project ID for this request.
|
|
510
609
|
# @param region [::String]
|
|
511
610
|
# Name of the region scoping this request.
|
|
512
611
|
# @param return_partial_success [::Boolean]
|
|
513
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
612
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
613
|
+
# of failure. The default value is false.
|
|
614
|
+
#
|
|
615
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
616
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
617
|
+
# with an error code.
|
|
514
618
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
515
619
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetHttpsProxy>]
|
|
516
620
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -572,7 +676,10 @@ module Google
|
|
|
572
676
|
end
|
|
573
677
|
|
|
574
678
|
##
|
|
575
|
-
# Patches the specified regional TargetHttpsProxy resource with the data
|
|
679
|
+
# Patches the specified regional TargetHttpsProxy resource with the data
|
|
680
|
+
# included in the request. This method supports PATCH
|
|
681
|
+
# semantics and usesJSON merge
|
|
682
|
+
# patch format and processing rules.
|
|
576
683
|
#
|
|
577
684
|
# @overload patch(request, options = nil)
|
|
578
685
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -594,7 +701,19 @@ module Google
|
|
|
594
701
|
# @param region [::String]
|
|
595
702
|
# Name of the region for this request.
|
|
596
703
|
# @param request_id [::String]
|
|
597
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
704
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
705
|
+
# that if you must retry your request, the server will know to ignore the
|
|
706
|
+
# request if it has already been completed.
|
|
707
|
+
#
|
|
708
|
+
# For example, consider a situation where you make an initial request and
|
|
709
|
+
# the request times out. If you make the request again with the same
|
|
710
|
+
# request ID, the server can check if original operation with the same
|
|
711
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
712
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
713
|
+
#
|
|
714
|
+
# The request ID must be
|
|
715
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
716
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
598
717
|
# @param target_https_proxy [::String]
|
|
599
718
|
# Name of the TargetHttpsProxy resource to patch.
|
|
600
719
|
# @param target_https_proxy_resource [::Google::Cloud::Compute::V1::TargetHttpsProxy, ::Hash]
|
|
@@ -692,9 +811,22 @@ module Google
|
|
|
692
811
|
# @param region_target_https_proxies_set_ssl_certificates_request_resource [::Google::Cloud::Compute::V1::RegionTargetHttpsProxiesSetSslCertificatesRequest, ::Hash]
|
|
693
812
|
# The body resource for this request
|
|
694
813
|
# @param request_id [::String]
|
|
695
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
814
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
815
|
+
# that if you must retry your request, the server will know to ignore the
|
|
816
|
+
# request if it has already been completed.
|
|
817
|
+
#
|
|
818
|
+
# For example, consider a situation where you make an initial request and
|
|
819
|
+
# the request times out. If you make the request again with the same
|
|
820
|
+
# request ID, the server can check if original operation with the same
|
|
821
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
822
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
823
|
+
#
|
|
824
|
+
# The request ID must be
|
|
825
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
826
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
696
827
|
# @param target_https_proxy [::String]
|
|
697
|
-
# Name of the TargetHttpsProxy resource to set an
|
|
828
|
+
# Name of the TargetHttpsProxy resource to set an
|
|
829
|
+
# SslCertificates resource for.
|
|
698
830
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
699
831
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
700
832
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -786,7 +918,19 @@ module Google
|
|
|
786
918
|
# @param region [::String]
|
|
787
919
|
# Name of the region scoping this request.
|
|
788
920
|
# @param request_id [::String]
|
|
789
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
921
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
922
|
+
# that if you must retry your request, the server will know to ignore the
|
|
923
|
+
# request if it has already been completed.
|
|
924
|
+
#
|
|
925
|
+
# For example, consider a situation where you make an initial request and
|
|
926
|
+
# the request times out. If you make the request again with the same
|
|
927
|
+
# request ID, the server can check if original operation with the same
|
|
928
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
929
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
930
|
+
#
|
|
931
|
+
# The request ID must be
|
|
932
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
933
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
790
934
|
# @param target_https_proxy [::String]
|
|
791
935
|
# Name of the TargetHttpsProxy to set a URL map for.
|
|
792
936
|
# @param url_map_reference_resource [::Google::Cloud::Compute::V1::UrlMapReference, ::Hash]
|
|
@@ -226,7 +226,19 @@ module Google
|
|
|
226
226
|
# @param region [::String]
|
|
227
227
|
# Name of the region scoping this request.
|
|
228
228
|
# @param request_id [::String]
|
|
229
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
229
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
230
|
+
# that if you must retry your request, the server will know to ignore the
|
|
231
|
+
# request if it has already been completed.
|
|
232
|
+
#
|
|
233
|
+
# For example, consider a situation where you make an initial request and
|
|
234
|
+
# the request times out. If you make the request again with the same
|
|
235
|
+
# request ID, the server can check if original operation with the same
|
|
236
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
237
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
238
|
+
#
|
|
239
|
+
# The request ID must be
|
|
240
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
241
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
230
242
|
# @param target_tcp_proxy [::String]
|
|
231
243
|
# Name of the TargetTcpProxy resource to delete.
|
|
232
244
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -380,7 +392,8 @@ module Google
|
|
|
380
392
|
end
|
|
381
393
|
|
|
382
394
|
##
|
|
383
|
-
# Creates a TargetTcpProxy resource in the specified project and region using
|
|
395
|
+
# Creates a TargetTcpProxy resource in the specified project and region using
|
|
396
|
+
# the data included in the request.
|
|
384
397
|
#
|
|
385
398
|
# @overload insert(request, options = nil)
|
|
386
399
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -402,7 +415,19 @@ module Google
|
|
|
402
415
|
# @param region [::String]
|
|
403
416
|
# Name of the region scoping this request.
|
|
404
417
|
# @param request_id [::String]
|
|
405
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
418
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
419
|
+
# that if you must retry your request, the server will know to ignore the
|
|
420
|
+
# request if it has already been completed.
|
|
421
|
+
#
|
|
422
|
+
# For example, consider a situation where you make an initial request and
|
|
423
|
+
# the request times out. If you make the request again with the same
|
|
424
|
+
# request ID, the server can check if original operation with the same
|
|
425
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
426
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
427
|
+
#
|
|
428
|
+
# The request ID must be
|
|
429
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
430
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
406
431
|
# @param target_tcp_proxy_resource [::Google::Cloud::Compute::V1::TargetTcpProxy, ::Hash]
|
|
407
432
|
# The body resource for this request
|
|
408
433
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -474,7 +499,8 @@ module Google
|
|
|
474
499
|
end
|
|
475
500
|
|
|
476
501
|
##
|
|
477
|
-
# Retrieves a list of TargetTcpProxy resources
|
|
502
|
+
# Retrieves a list of TargetTcpProxy resources
|
|
503
|
+
# available to the specified project in a given region.
|
|
478
504
|
#
|
|
479
505
|
# @overload list(request, options = nil)
|
|
480
506
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -492,19 +518,97 @@ module Google
|
|
|
492
518
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
493
519
|
#
|
|
494
520
|
# @param filter [::String]
|
|
495
|
-
# A filter expression that filters resources listed in the response. Most
|
|
521
|
+
# A filter expression that filters resources listed in the response. Most
|
|
522
|
+
# Compute resources support two types of filter expressions:
|
|
523
|
+
# expressions that support regular expressions and expressions that follow
|
|
524
|
+
# API improvement proposal AIP-160.
|
|
525
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
526
|
+
#
|
|
527
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
528
|
+
# operator, and the value that you want to use for filtering. The value
|
|
529
|
+
# must be a string, a number, or a boolean. The operator
|
|
530
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
531
|
+
#
|
|
532
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
533
|
+
# exclude instances named `example-instance` by specifying
|
|
534
|
+
# `name != example-instance`.
|
|
535
|
+
#
|
|
536
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
537
|
+
# For example, to find all objects with `owner` label use:
|
|
538
|
+
# ```
|
|
539
|
+
# labels.owner:*
|
|
540
|
+
# ```
|
|
541
|
+
#
|
|
542
|
+
# You can also filter nested fields. For example, you could specify
|
|
543
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
544
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
545
|
+
# on nested fields to filter based onresource labels.
|
|
546
|
+
#
|
|
547
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
548
|
+
# parentheses. For example:
|
|
549
|
+
# ```
|
|
550
|
+
# (scheduling.automaticRestart = true)
|
|
551
|
+
# (cpuPlatform = "Intel Skylake")
|
|
552
|
+
# ```
|
|
553
|
+
# By default, each expression is an `AND` expression. However, you
|
|
554
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
555
|
+
# For example:
|
|
556
|
+
# ```
|
|
557
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
558
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
559
|
+
# (scheduling.automaticRestart = true)
|
|
560
|
+
# ```
|
|
561
|
+
#
|
|
562
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
563
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
564
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
565
|
+
#
|
|
566
|
+
# `fieldname eq unquoted literal`
|
|
567
|
+
# `fieldname eq 'single quoted literal'`
|
|
568
|
+
# `fieldname eq "double quoted literal"`
|
|
569
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
570
|
+
#
|
|
571
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
572
|
+
# The literal value must match the entire field.
|
|
573
|
+
#
|
|
574
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
575
|
+
# you would use `name ne .*instance`.
|
|
576
|
+
#
|
|
577
|
+
# You cannot combine constraints on multiple fields using regular
|
|
578
|
+
# expressions.
|
|
496
579
|
# @param max_results [::Integer]
|
|
497
|
-
# The maximum number of results per page that should be returned.
|
|
580
|
+
# The maximum number of results per page that should be returned.
|
|
581
|
+
# If the number of available results is larger than `maxResults`,
|
|
582
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
583
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
584
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
498
585
|
# @param order_by [::String]
|
|
499
|
-
# Sorts list results by a certain order. By default, results
|
|
586
|
+
# Sorts list results by a certain order. By default, results
|
|
587
|
+
# are returned in alphanumerical order based on the resource name.
|
|
588
|
+
#
|
|
589
|
+
# You can also sort results in descending order based on the creation
|
|
590
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
591
|
+
# results based on the `creationTimestamp` field in
|
|
592
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
593
|
+
# resources like operations so that the newest operation is returned first.
|
|
594
|
+
#
|
|
595
|
+
# Currently, only sorting by `name` or
|
|
596
|
+
# `creationTimestamp desc` is supported.
|
|
500
597
|
# @param page_token [::String]
|
|
501
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
598
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
599
|
+
# `nextPageToken` returned by a previous list request to get
|
|
600
|
+
# the next page of results.
|
|
502
601
|
# @param project [::String]
|
|
503
602
|
# Project ID for this request.
|
|
504
603
|
# @param region [::String]
|
|
505
604
|
# Name of the region scoping this request.
|
|
506
605
|
# @param return_partial_success [::Boolean]
|
|
507
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
606
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
607
|
+
# of failure. The default value is false.
|
|
608
|
+
#
|
|
609
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
610
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
611
|
+
# with an error code.
|
|
508
612
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
509
613
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetTcpProxy>]
|
|
510
614
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|