google-cloud-compute-v1 3.3.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 +330 -20
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +64 -0
- 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 +281 -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 +217 -10
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +63 -0
- 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 +473 -40
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +64 -0
- 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 +1144 -99
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +127 -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_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 +280 -14
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +64 -0
- 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 +234 -22
- 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 +320 -20
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +387 -26
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +64 -0
- 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 +44226 -5514
- metadata +52 -2
|
@@ -268,9 +268,23 @@ module Google
|
|
|
268
268
|
# @param region [::String]
|
|
269
269
|
# Name of the region scoping this request.
|
|
270
270
|
# @param replace_existing_association [::Boolean]
|
|
271
|
-
# Indicates whether or not to replace it if an association already exists.
|
|
271
|
+
# Indicates whether or not to replace it if an association already exists.
|
|
272
|
+
# This is false by default, in which case an error will be returned if an
|
|
273
|
+
# association already exists.
|
|
272
274
|
# @param request_id [::String]
|
|
273
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
275
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
276
|
+
# that if you must retry your request, the server will know to ignore the
|
|
277
|
+
# request if it has already been completed.
|
|
278
|
+
#
|
|
279
|
+
# For example, consider a situation where you make an initial request and
|
|
280
|
+
# the request times out. If you make the request again with the same
|
|
281
|
+
# request ID, the server can check if original operation with the same
|
|
282
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
283
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
284
|
+
#
|
|
285
|
+
# The request ID must be
|
|
286
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
287
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
274
288
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
275
289
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
276
290
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -362,15 +376,29 @@ module Google
|
|
|
362
376
|
# @param firewall_policy_rule_resource [::Google::Cloud::Compute::V1::FirewallPolicyRule, ::Hash]
|
|
363
377
|
# The body resource for this request
|
|
364
378
|
# @param max_priority [::Integer]
|
|
365
|
-
# When rule.priority is not specified, auto choose a unused priority
|
|
379
|
+
# When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
|
|
380
|
+
# This field is exclusive with rule.priority.
|
|
366
381
|
# @param min_priority [::Integer]
|
|
367
|
-
# When rule.priority is not specified, auto choose a unused priority
|
|
382
|
+
# When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
|
|
383
|
+
# This field is exclusive with rule.priority.
|
|
368
384
|
# @param project [::String]
|
|
369
385
|
# Project ID for this request.
|
|
370
386
|
# @param region [::String]
|
|
371
387
|
# Name of the region scoping this request.
|
|
372
388
|
# @param request_id [::String]
|
|
373
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
389
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
390
|
+
# that if you must retry your request, the server will know to ignore the
|
|
391
|
+
# request if it has already been completed.
|
|
392
|
+
#
|
|
393
|
+
# For example, consider a situation where you make an initial request and
|
|
394
|
+
# the request times out. If you make the request again with the same
|
|
395
|
+
# request ID, the server can check if original operation with the same
|
|
396
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
397
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
398
|
+
#
|
|
399
|
+
# The request ID must be
|
|
400
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
401
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
374
402
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
375
403
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
376
404
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -464,7 +492,19 @@ module Google
|
|
|
464
492
|
# @param region [::String]
|
|
465
493
|
# Name of the region scoping this request.
|
|
466
494
|
# @param request_id [::String]
|
|
467
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
495
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
496
|
+
# that if you must retry your request, the server will know to ignore the
|
|
497
|
+
# request if it has already been completed.
|
|
498
|
+
#
|
|
499
|
+
# For example, consider a situation where you make an initial request and
|
|
500
|
+
# the request times out. If you make the request again with the same
|
|
501
|
+
# request ID, the server can check if original operation with the same
|
|
502
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
503
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
504
|
+
#
|
|
505
|
+
# The request ID must be
|
|
506
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
507
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
468
508
|
# @param source_firewall_policy [::String]
|
|
469
509
|
# The firewall policy from which to copy rules.
|
|
470
510
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -560,7 +600,19 @@ module Google
|
|
|
560
600
|
# @param region [::String]
|
|
561
601
|
# Name of the region scoping this request.
|
|
562
602
|
# @param request_id [::String]
|
|
563
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
603
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
604
|
+
# that if you must retry your request, the server will know to ignore the
|
|
605
|
+
# request if it has already been completed.
|
|
606
|
+
#
|
|
607
|
+
# For example, consider a situation where you make an initial request and
|
|
608
|
+
# the request times out. If you make the request again with the same
|
|
609
|
+
# request ID, the server can check if original operation with the same
|
|
610
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
611
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
612
|
+
#
|
|
613
|
+
# The request ID must be
|
|
614
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
615
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
564
616
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
565
617
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
566
618
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -878,7 +930,8 @@ module Google
|
|
|
878
930
|
end
|
|
879
931
|
|
|
880
932
|
##
|
|
881
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
933
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
934
|
+
# policy or resource exists.
|
|
882
935
|
#
|
|
883
936
|
# @overload get_iam_policy(request, options = nil)
|
|
884
937
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -1070,7 +1123,19 @@ module Google
|
|
|
1070
1123
|
# @param region [::String]
|
|
1071
1124
|
# Name of the region scoping this request.
|
|
1072
1125
|
# @param request_id [::String]
|
|
1073
|
-
# An optional request ID to identify requests. Specify a unique request ID
|
|
1126
|
+
# An optional request ID to identify requests. Specify a unique request ID
|
|
1127
|
+
# so that if you must retry your request, the server will know to ignore the
|
|
1128
|
+
# request if it has already been completed.
|
|
1129
|
+
#
|
|
1130
|
+
# For example, consider a situation where you make an initial request and
|
|
1131
|
+
# the request times out. If you make the request again with the same
|
|
1132
|
+
# request ID, the server can check if original operation with the same
|
|
1133
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1134
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1135
|
+
#
|
|
1136
|
+
# The request ID must be
|
|
1137
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1138
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1074
1139
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1075
1140
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1076
1141
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1140,7 +1205,8 @@ module Google
|
|
|
1140
1205
|
end
|
|
1141
1206
|
|
|
1142
1207
|
##
|
|
1143
|
-
# Lists all the network firewall policies that have been configured
|
|
1208
|
+
# Lists all the network firewall policies that have been configured
|
|
1209
|
+
# for the specified project in the given region.
|
|
1144
1210
|
#
|
|
1145
1211
|
# @overload list(request, options = nil)
|
|
1146
1212
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -1158,19 +1224,97 @@ module Google
|
|
|
1158
1224
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1159
1225
|
#
|
|
1160
1226
|
# @param filter [::String]
|
|
1161
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1227
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1228
|
+
# Compute resources support two types of filter expressions:
|
|
1229
|
+
# expressions that support regular expressions and expressions that follow
|
|
1230
|
+
# API improvement proposal AIP-160.
|
|
1231
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1232
|
+
#
|
|
1233
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1234
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1235
|
+
# must be a string, a number, or a boolean. The operator
|
|
1236
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1237
|
+
#
|
|
1238
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1239
|
+
# exclude instances named `example-instance` by specifying
|
|
1240
|
+
# `name != example-instance`.
|
|
1241
|
+
#
|
|
1242
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1243
|
+
# For example, to find all objects with `owner` label use:
|
|
1244
|
+
# ```
|
|
1245
|
+
# labels.owner:*
|
|
1246
|
+
# ```
|
|
1247
|
+
#
|
|
1248
|
+
# You can also filter nested fields. For example, you could specify
|
|
1249
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1250
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1251
|
+
# on nested fields to filter based onresource labels.
|
|
1252
|
+
#
|
|
1253
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1254
|
+
# parentheses. For example:
|
|
1255
|
+
# ```
|
|
1256
|
+
# (scheduling.automaticRestart = true)
|
|
1257
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1258
|
+
# ```
|
|
1259
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1260
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1261
|
+
# For example:
|
|
1262
|
+
# ```
|
|
1263
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1264
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1265
|
+
# (scheduling.automaticRestart = true)
|
|
1266
|
+
# ```
|
|
1267
|
+
#
|
|
1268
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1269
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1270
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1271
|
+
#
|
|
1272
|
+
# `fieldname eq unquoted literal`
|
|
1273
|
+
# `fieldname eq 'single quoted literal'`
|
|
1274
|
+
# `fieldname eq "double quoted literal"`
|
|
1275
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1276
|
+
#
|
|
1277
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1278
|
+
# The literal value must match the entire field.
|
|
1279
|
+
#
|
|
1280
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1281
|
+
# you would use `name ne .*instance`.
|
|
1282
|
+
#
|
|
1283
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1284
|
+
# expressions.
|
|
1162
1285
|
# @param max_results [::Integer]
|
|
1163
|
-
# The maximum number of results per page that should be returned.
|
|
1286
|
+
# The maximum number of results per page that should be returned.
|
|
1287
|
+
# If the number of available results is larger than `maxResults`,
|
|
1288
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1289
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1290
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
1164
1291
|
# @param order_by [::String]
|
|
1165
|
-
# Sorts list results by a certain order. By default, results
|
|
1292
|
+
# Sorts list results by a certain order. By default, results
|
|
1293
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1294
|
+
#
|
|
1295
|
+
# You can also sort results in descending order based on the creation
|
|
1296
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1297
|
+
# results based on the `creationTimestamp` field in
|
|
1298
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1299
|
+
# resources like operations so that the newest operation is returned first.
|
|
1300
|
+
#
|
|
1301
|
+
# Currently, only sorting by `name` or
|
|
1302
|
+
# `creationTimestamp desc` is supported.
|
|
1166
1303
|
# @param page_token [::String]
|
|
1167
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1304
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1305
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1306
|
+
# the next page of results.
|
|
1168
1307
|
# @param project [::String]
|
|
1169
1308
|
# Project ID for this request.
|
|
1170
1309
|
# @param region [::String]
|
|
1171
1310
|
# Name of the region scoping this request.
|
|
1172
1311
|
# @param return_partial_success [::Boolean]
|
|
1173
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1312
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1313
|
+
# of failure. The default value is false.
|
|
1314
|
+
#
|
|
1315
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1316
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1317
|
+
# with an error code.
|
|
1174
1318
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1175
1319
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::FirewallPolicy>]
|
|
1176
1320
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1258,7 +1402,19 @@ module Google
|
|
|
1258
1402
|
# @param region [::String]
|
|
1259
1403
|
# Name of the region scoping this request.
|
|
1260
1404
|
# @param request_id [::String]
|
|
1261
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1405
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1406
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1407
|
+
# request if it has already been completed.
|
|
1408
|
+
#
|
|
1409
|
+
# For example, consider a situation where you make an initial request and
|
|
1410
|
+
# the request times out. If you make the request again with the same
|
|
1411
|
+
# request ID, the server can check if original operation with the same
|
|
1412
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1413
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1414
|
+
#
|
|
1415
|
+
# The request ID must be
|
|
1416
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1417
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1262
1418
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1263
1419
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1264
1420
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1356,7 +1512,19 @@ module Google
|
|
|
1356
1512
|
# @param region [::String]
|
|
1357
1513
|
# Name of the region scoping this request.
|
|
1358
1514
|
# @param request_id [::String]
|
|
1359
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1515
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1516
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1517
|
+
# request if it has already been completed.
|
|
1518
|
+
#
|
|
1519
|
+
# For example, consider a situation where you make an initial request and
|
|
1520
|
+
# the request times out. If you make the request again with the same
|
|
1521
|
+
# request ID, the server can check if original operation with the same
|
|
1522
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1523
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1524
|
+
#
|
|
1525
|
+
# The request ID must be
|
|
1526
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1527
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1360
1528
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1361
1529
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1362
1530
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1452,7 +1620,19 @@ module Google
|
|
|
1452
1620
|
# @param region [::String]
|
|
1453
1621
|
# Name of the region scoping this request.
|
|
1454
1622
|
# @param request_id [::String]
|
|
1455
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1623
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1624
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1625
|
+
# request if it has already been completed.
|
|
1626
|
+
#
|
|
1627
|
+
# For example, consider a situation where you make an initial request and
|
|
1628
|
+
# the request times out. If you make the request again with the same
|
|
1629
|
+
# request ID, the server can check if original operation with the same
|
|
1630
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1631
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1632
|
+
#
|
|
1633
|
+
# The request ID must be
|
|
1634
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1635
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1456
1636
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1457
1637
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1458
1638
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1548,7 +1728,19 @@ module Google
|
|
|
1548
1728
|
# @param region [::String]
|
|
1549
1729
|
# Name of the region scoping this request.
|
|
1550
1730
|
# @param request_id [::String]
|
|
1551
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1731
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1732
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1733
|
+
# request if it has already been completed.
|
|
1734
|
+
#
|
|
1735
|
+
# For example, consider a situation where you make an initial request and
|
|
1736
|
+
# the request times out. If you make the request again with the same
|
|
1737
|
+
# request ID, the server can check if original operation with the same
|
|
1738
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1739
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1740
|
+
#
|
|
1741
|
+
# The request ID must be
|
|
1742
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1743
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1552
1744
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1553
1745
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
1554
1746
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1618,7 +1810,8 @@ module Google
|
|
|
1618
1810
|
end
|
|
1619
1811
|
|
|
1620
1812
|
##
|
|
1621
|
-
# Sets the access control policy on the specified resource.
|
|
1813
|
+
# Sets the access control policy on the specified resource.
|
|
1814
|
+
# Replaces any existing policy.
|
|
1622
1815
|
#
|
|
1623
1816
|
# @overload set_iam_policy(request, options = nil)
|
|
1624
1817
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|