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
|
@@ -211,7 +211,9 @@ module Google
|
|
|
211
211
|
# Service calls
|
|
212
212
|
|
|
213
213
|
##
|
|
214
|
-
# Deletes the specified SSL policy. The SSL policy resource can be deleted
|
|
214
|
+
# Deletes the specified SSL policy. The SSL policy resource can be deleted
|
|
215
|
+
# only if it is not in use by any TargetHttpsProxy or TargetSslProxy
|
|
216
|
+
# resources.
|
|
215
217
|
#
|
|
216
218
|
# @overload delete(request, options = nil)
|
|
217
219
|
# Pass arguments to `delete` via a request object, either of type
|
|
@@ -233,9 +235,22 @@ module Google
|
|
|
233
235
|
# @param region [::String]
|
|
234
236
|
# Name of the region scoping this request.
|
|
235
237
|
# @param request_id [::String]
|
|
236
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
238
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
239
|
+
# that if you must retry your request, the server will know to ignore the
|
|
240
|
+
# request if it has already been completed.
|
|
241
|
+
#
|
|
242
|
+
# For example, consider a situation where you make an initial request and
|
|
243
|
+
# the request times out. If you make the request again with the same
|
|
244
|
+
# request ID, the server can check if original operation with the same
|
|
245
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
246
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
247
|
+
#
|
|
248
|
+
# The request ID must be
|
|
249
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
250
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
237
251
|
# @param ssl_policy [::String]
|
|
238
|
-
# Name of the SSL policy to delete. The name must be 1-63 characters long,
|
|
252
|
+
# Name of the SSL policy to delete. The name must be 1-63 characters long,
|
|
253
|
+
# and comply with RFC1035.
|
|
239
254
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
240
255
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
241
256
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -327,7 +342,8 @@ module Google
|
|
|
327
342
|
# @param region [::String]
|
|
328
343
|
# Name of the region scoping this request.
|
|
329
344
|
# @param ssl_policy [::String]
|
|
330
|
-
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
345
|
+
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
346
|
+
# and comply with RFC1035.
|
|
331
347
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
332
348
|
# @yieldparam result [::Google::Cloud::Compute::V1::SslPolicy]
|
|
333
349
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -387,7 +403,8 @@ module Google
|
|
|
387
403
|
end
|
|
388
404
|
|
|
389
405
|
##
|
|
390
|
-
# Creates a new policy in the specified project and region using the data
|
|
406
|
+
# Creates a new policy in the specified project and region using the data
|
|
407
|
+
# included in the request.
|
|
391
408
|
#
|
|
392
409
|
# @overload insert(request, options = nil)
|
|
393
410
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -409,7 +426,19 @@ module Google
|
|
|
409
426
|
# @param region [::String]
|
|
410
427
|
# Name of the region scoping this request.
|
|
411
428
|
# @param request_id [::String]
|
|
412
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
429
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
430
|
+
# that if you must retry your request, the server will know to ignore the
|
|
431
|
+
# request if it has already been completed.
|
|
432
|
+
#
|
|
433
|
+
# For example, consider a situation where you make an initial request and
|
|
434
|
+
# the request times out. If you make the request again with the same
|
|
435
|
+
# request ID, the server can check if original operation with the same
|
|
436
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
437
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
438
|
+
#
|
|
439
|
+
# The request ID must be
|
|
440
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
441
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
413
442
|
# @param ssl_policy_resource [::Google::Cloud::Compute::V1::SslPolicy, ::Hash]
|
|
414
443
|
# The body resource for this request
|
|
415
444
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -481,7 +510,8 @@ module Google
|
|
|
481
510
|
end
|
|
482
511
|
|
|
483
512
|
##
|
|
484
|
-
# Lists all the SSL policies that have been configured for the specified
|
|
513
|
+
# Lists all the SSL policies that have been configured for the specified
|
|
514
|
+
# project and region.
|
|
485
515
|
#
|
|
486
516
|
# @overload list(request, options = nil)
|
|
487
517
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -499,19 +529,97 @@ module Google
|
|
|
499
529
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
500
530
|
#
|
|
501
531
|
# @param filter [::String]
|
|
502
|
-
# A filter expression that filters resources listed in the response. Most
|
|
532
|
+
# A filter expression that filters resources listed in the response. Most
|
|
533
|
+
# Compute resources support two types of filter expressions:
|
|
534
|
+
# expressions that support regular expressions and expressions that follow
|
|
535
|
+
# API improvement proposal AIP-160.
|
|
536
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
537
|
+
#
|
|
538
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
539
|
+
# operator, and the value that you want to use for filtering. The value
|
|
540
|
+
# must be a string, a number, or a boolean. The operator
|
|
541
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
542
|
+
#
|
|
543
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
544
|
+
# exclude instances named `example-instance` by specifying
|
|
545
|
+
# `name != example-instance`.
|
|
546
|
+
#
|
|
547
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
548
|
+
# For example, to find all objects with `owner` label use:
|
|
549
|
+
# ```
|
|
550
|
+
# labels.owner:*
|
|
551
|
+
# ```
|
|
552
|
+
#
|
|
553
|
+
# You can also filter nested fields. For example, you could specify
|
|
554
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
555
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
556
|
+
# on nested fields to filter based onresource labels.
|
|
557
|
+
#
|
|
558
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
559
|
+
# parentheses. For example:
|
|
560
|
+
# ```
|
|
561
|
+
# (scheduling.automaticRestart = true)
|
|
562
|
+
# (cpuPlatform = "Intel Skylake")
|
|
563
|
+
# ```
|
|
564
|
+
# By default, each expression is an `AND` expression. However, you
|
|
565
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
566
|
+
# For example:
|
|
567
|
+
# ```
|
|
568
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
569
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
570
|
+
# (scheduling.automaticRestart = true)
|
|
571
|
+
# ```
|
|
572
|
+
#
|
|
573
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
574
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
575
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
576
|
+
#
|
|
577
|
+
# `fieldname eq unquoted literal`
|
|
578
|
+
# `fieldname eq 'single quoted literal'`
|
|
579
|
+
# `fieldname eq "double quoted literal"`
|
|
580
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
581
|
+
#
|
|
582
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
583
|
+
# The literal value must match the entire field.
|
|
584
|
+
#
|
|
585
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
586
|
+
# you would use `name ne .*instance`.
|
|
587
|
+
#
|
|
588
|
+
# You cannot combine constraints on multiple fields using regular
|
|
589
|
+
# expressions.
|
|
503
590
|
# @param max_results [::Integer]
|
|
504
|
-
# The maximum number of results per page that should be returned.
|
|
591
|
+
# The maximum number of results per page that should be returned.
|
|
592
|
+
# If the number of available results is larger than `maxResults`,
|
|
593
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
594
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
595
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
505
596
|
# @param order_by [::String]
|
|
506
|
-
# Sorts list results by a certain order. By default, results
|
|
597
|
+
# Sorts list results by a certain order. By default, results
|
|
598
|
+
# are returned in alphanumerical order based on the resource name.
|
|
599
|
+
#
|
|
600
|
+
# You can also sort results in descending order based on the creation
|
|
601
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
602
|
+
# results based on the `creationTimestamp` field in
|
|
603
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
604
|
+
# resources like operations so that the newest operation is returned first.
|
|
605
|
+
#
|
|
606
|
+
# Currently, only sorting by `name` or
|
|
607
|
+
# `creationTimestamp desc` is supported.
|
|
507
608
|
# @param page_token [::String]
|
|
508
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
609
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
610
|
+
# `nextPageToken` returned by a previous list request to get
|
|
611
|
+
# the next page of results.
|
|
509
612
|
# @param project [::String]
|
|
510
613
|
# Project ID for this request.
|
|
511
614
|
# @param region [::String]
|
|
512
615
|
# Name of the region scoping this request.
|
|
513
616
|
# @param return_partial_success [::Boolean]
|
|
514
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
617
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
618
|
+
# of failure. The default value is false.
|
|
619
|
+
#
|
|
620
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
621
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
622
|
+
# with an error code.
|
|
515
623
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
516
624
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslPolicy>]
|
|
517
625
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -573,7 +681,8 @@ module Google
|
|
|
573
681
|
end
|
|
574
682
|
|
|
575
683
|
##
|
|
576
|
-
# Lists all features that can be specified in the SSL policy when using
|
|
684
|
+
# Lists all features that can be specified in the SSL policy when using
|
|
685
|
+
# custom profile.
|
|
577
686
|
#
|
|
578
687
|
# @overload list_available_features(request, options = nil)
|
|
579
688
|
# Pass arguments to `list_available_features` via a request object, either of type
|
|
@@ -591,19 +700,97 @@ module Google
|
|
|
591
700
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
592
701
|
#
|
|
593
702
|
# @param filter [::String]
|
|
594
|
-
# A filter expression that filters resources listed in the response. Most
|
|
703
|
+
# A filter expression that filters resources listed in the response. Most
|
|
704
|
+
# Compute resources support two types of filter expressions:
|
|
705
|
+
# expressions that support regular expressions and expressions that follow
|
|
706
|
+
# API improvement proposal AIP-160.
|
|
707
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
708
|
+
#
|
|
709
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
710
|
+
# operator, and the value that you want to use for filtering. The value
|
|
711
|
+
# must be a string, a number, or a boolean. The operator
|
|
712
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
713
|
+
#
|
|
714
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
715
|
+
# exclude instances named `example-instance` by specifying
|
|
716
|
+
# `name != example-instance`.
|
|
717
|
+
#
|
|
718
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
719
|
+
# For example, to find all objects with `owner` label use:
|
|
720
|
+
# ```
|
|
721
|
+
# labels.owner:*
|
|
722
|
+
# ```
|
|
723
|
+
#
|
|
724
|
+
# You can also filter nested fields. For example, you could specify
|
|
725
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
726
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
727
|
+
# on nested fields to filter based onresource labels.
|
|
728
|
+
#
|
|
729
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
730
|
+
# parentheses. For example:
|
|
731
|
+
# ```
|
|
732
|
+
# (scheduling.automaticRestart = true)
|
|
733
|
+
# (cpuPlatform = "Intel Skylake")
|
|
734
|
+
# ```
|
|
735
|
+
# By default, each expression is an `AND` expression. However, you
|
|
736
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
737
|
+
# For example:
|
|
738
|
+
# ```
|
|
739
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
740
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
741
|
+
# (scheduling.automaticRestart = true)
|
|
742
|
+
# ```
|
|
743
|
+
#
|
|
744
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
745
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
746
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
747
|
+
#
|
|
748
|
+
# `fieldname eq unquoted literal`
|
|
749
|
+
# `fieldname eq 'single quoted literal'`
|
|
750
|
+
# `fieldname eq "double quoted literal"`
|
|
751
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
752
|
+
#
|
|
753
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
754
|
+
# The literal value must match the entire field.
|
|
755
|
+
#
|
|
756
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
757
|
+
# you would use `name ne .*instance`.
|
|
758
|
+
#
|
|
759
|
+
# You cannot combine constraints on multiple fields using regular
|
|
760
|
+
# expressions.
|
|
595
761
|
# @param max_results [::Integer]
|
|
596
|
-
# The maximum number of results per page that should be returned.
|
|
762
|
+
# The maximum number of results per page that should be returned.
|
|
763
|
+
# If the number of available results is larger than `maxResults`,
|
|
764
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
765
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
766
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
597
767
|
# @param order_by [::String]
|
|
598
|
-
# Sorts list results by a certain order. By default, results
|
|
768
|
+
# Sorts list results by a certain order. By default, results
|
|
769
|
+
# are returned in alphanumerical order based on the resource name.
|
|
770
|
+
#
|
|
771
|
+
# You can also sort results in descending order based on the creation
|
|
772
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
773
|
+
# results based on the `creationTimestamp` field in
|
|
774
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
775
|
+
# resources like operations so that the newest operation is returned first.
|
|
776
|
+
#
|
|
777
|
+
# Currently, only sorting by `name` or
|
|
778
|
+
# `creationTimestamp desc` is supported.
|
|
599
779
|
# @param page_token [::String]
|
|
600
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
780
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
781
|
+
# `nextPageToken` returned by a previous list request to get
|
|
782
|
+
# the next page of results.
|
|
601
783
|
# @param project [::String]
|
|
602
784
|
# Project ID for this request.
|
|
603
785
|
# @param region [::String]
|
|
604
786
|
# Name of the region scoping this request.
|
|
605
787
|
# @param return_partial_success [::Boolean]
|
|
606
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
788
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
789
|
+
# of failure. The default value is false.
|
|
790
|
+
#
|
|
791
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
792
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
793
|
+
# with an error code.
|
|
607
794
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
608
795
|
# @yieldparam result [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
|
|
609
796
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -685,9 +872,22 @@ module Google
|
|
|
685
872
|
# @param region [::String]
|
|
686
873
|
# Name of the region scoping this request.
|
|
687
874
|
# @param request_id [::String]
|
|
688
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
875
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
876
|
+
# that if you must retry your request, the server will know to ignore the
|
|
877
|
+
# request if it has already been completed.
|
|
878
|
+
#
|
|
879
|
+
# For example, consider a situation where you make an initial request and
|
|
880
|
+
# the request times out. If you make the request again with the same
|
|
881
|
+
# request ID, the server can check if original operation with the same
|
|
882
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
883
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
884
|
+
#
|
|
885
|
+
# The request ID must be
|
|
886
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
887
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
689
888
|
# @param ssl_policy [::String]
|
|
690
|
-
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
889
|
+
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
890
|
+
# and comply with RFC1035.
|
|
691
891
|
# @param ssl_policy_resource [::Google::Cloud::Compute::V1::SslPolicy, ::Hash]
|
|
692
892
|
# The body resource for this request
|
|
693
893
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -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]
|