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
|
@@ -322,7 +322,11 @@ module Google
|
|
|
322
322
|
end
|
|
323
323
|
|
|
324
324
|
##
|
|
325
|
-
# Retrieves the list of all SecurityPolicy resources, regional and global,
|
|
325
|
+
# Retrieves the list of all SecurityPolicy resources, regional and global,
|
|
326
|
+
# available to the specified project.
|
|
327
|
+
#
|
|
328
|
+
# To prevent failure, Google recommends that you set the
|
|
329
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
326
330
|
#
|
|
327
331
|
# @overload aggregated_list(request, options = nil)
|
|
328
332
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -340,21 +344,106 @@ module Google
|
|
|
340
344
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
341
345
|
#
|
|
342
346
|
# @param filter [::String]
|
|
343
|
-
# A filter expression that filters resources listed in the response. Most
|
|
347
|
+
# A filter expression that filters resources listed in the response. Most
|
|
348
|
+
# Compute resources support two types of filter expressions:
|
|
349
|
+
# expressions that support regular expressions and expressions that follow
|
|
350
|
+
# API improvement proposal AIP-160.
|
|
351
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
352
|
+
#
|
|
353
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
354
|
+
# operator, and the value that you want to use for filtering. The value
|
|
355
|
+
# must be a string, a number, or a boolean. The operator
|
|
356
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
357
|
+
#
|
|
358
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
359
|
+
# exclude instances named `example-instance` by specifying
|
|
360
|
+
# `name != example-instance`.
|
|
361
|
+
#
|
|
362
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
363
|
+
# For example, to find all objects with `owner` label use:
|
|
364
|
+
# ```
|
|
365
|
+
# labels.owner:*
|
|
366
|
+
# ```
|
|
367
|
+
#
|
|
368
|
+
# You can also filter nested fields. For example, you could specify
|
|
369
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
370
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
371
|
+
# on nested fields to filter based onresource labels.
|
|
372
|
+
#
|
|
373
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
374
|
+
# parentheses. For example:
|
|
375
|
+
# ```
|
|
376
|
+
# (scheduling.automaticRestart = true)
|
|
377
|
+
# (cpuPlatform = "Intel Skylake")
|
|
378
|
+
# ```
|
|
379
|
+
# By default, each expression is an `AND` expression. However, you
|
|
380
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
381
|
+
# For example:
|
|
382
|
+
# ```
|
|
383
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
384
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
385
|
+
# (scheduling.automaticRestart = true)
|
|
386
|
+
# ```
|
|
387
|
+
#
|
|
388
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
389
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
390
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
391
|
+
#
|
|
392
|
+
# `fieldname eq unquoted literal`
|
|
393
|
+
# `fieldname eq 'single quoted literal'`
|
|
394
|
+
# `fieldname eq "double quoted literal"`
|
|
395
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
396
|
+
#
|
|
397
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
398
|
+
# The literal value must match the entire field.
|
|
399
|
+
#
|
|
400
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
401
|
+
# you would use `name ne .*instance`.
|
|
402
|
+
#
|
|
403
|
+
# You cannot combine constraints on multiple fields using regular
|
|
404
|
+
# expressions.
|
|
344
405
|
# @param include_all_scopes [::Boolean]
|
|
345
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
406
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
407
|
+
# global) should be included in the response. For new resource types added
|
|
408
|
+
# after this field, the flag has no effect as new resource types will always
|
|
409
|
+
# include every visible scope for each scope type in response. For resource
|
|
410
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
411
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
412
|
+
# will be included.
|
|
346
413
|
# @param max_results [::Integer]
|
|
347
|
-
# The maximum number of results per page that should be returned.
|
|
414
|
+
# The maximum number of results per page that should be returned.
|
|
415
|
+
# If the number of available results is larger than `maxResults`,
|
|
416
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
417
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
418
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
348
419
|
# @param order_by [::String]
|
|
349
|
-
# Sorts list results by a certain order. By default, results
|
|
420
|
+
# Sorts list results by a certain order. By default, results
|
|
421
|
+
# are returned in alphanumerical order based on the resource name.
|
|
422
|
+
#
|
|
423
|
+
# You can also sort results in descending order based on the creation
|
|
424
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
425
|
+
# results based on the `creationTimestamp` field in
|
|
426
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
427
|
+
# resources like operations so that the newest operation is returned first.
|
|
428
|
+
#
|
|
429
|
+
# Currently, only sorting by `name` or
|
|
430
|
+
# `creationTimestamp desc` is supported.
|
|
350
431
|
# @param page_token [::String]
|
|
351
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
432
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
433
|
+
# `nextPageToken` returned by a previous list request to get
|
|
434
|
+
# the next page of results.
|
|
352
435
|
# @param project [::String]
|
|
353
436
|
# Name of the project scoping this request.
|
|
354
437
|
# @param return_partial_success [::Boolean]
|
|
355
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
438
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
439
|
+
# of failure. The default value is false.
|
|
440
|
+
#
|
|
441
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
442
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
443
|
+
# with an error code.
|
|
356
444
|
# @param service_project_number [::Integer]
|
|
357
|
-
# The Shared VPC service project id or service project number for which
|
|
445
|
+
# The Shared VPC service project id or service project number for which
|
|
446
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
358
447
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
359
448
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::SecurityPoliciesScopedList>]
|
|
360
449
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -436,7 +525,19 @@ module Google
|
|
|
436
525
|
# @param project [::String]
|
|
437
526
|
# Project ID for this request.
|
|
438
527
|
# @param request_id [::String]
|
|
439
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
528
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
529
|
+
# that if you must retry your request, the server will know to ignore the
|
|
530
|
+
# request if it has already been completed.
|
|
531
|
+
#
|
|
532
|
+
# For example, consider a situation where you make an initial request and
|
|
533
|
+
# the request times out. If you make the request again with the same
|
|
534
|
+
# request ID, the server can check if original operation with the same
|
|
535
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
536
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
537
|
+
#
|
|
538
|
+
# The request ID must be
|
|
539
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
540
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
440
541
|
# @param security_policy [::String]
|
|
441
542
|
# Name of the security policy to delete.
|
|
442
543
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -669,7 +770,8 @@ module Google
|
|
|
669
770
|
end
|
|
670
771
|
|
|
671
772
|
##
|
|
672
|
-
# Creates a new policy in the specified project using the data included in
|
|
773
|
+
# Creates a new policy in the specified project using the data included in
|
|
774
|
+
# the request.
|
|
673
775
|
#
|
|
674
776
|
# @overload insert(request, options = nil)
|
|
675
777
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -689,7 +791,19 @@ module Google
|
|
|
689
791
|
# @param project [::String]
|
|
690
792
|
# Project ID for this request.
|
|
691
793
|
# @param request_id [::String]
|
|
692
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
794
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
795
|
+
# that if you must retry your request, the server will know to ignore the
|
|
796
|
+
# request if it has already been completed.
|
|
797
|
+
#
|
|
798
|
+
# For example, consider a situation where you make an initial request and
|
|
799
|
+
# the request times out. If you make the request again with the same
|
|
800
|
+
# request ID, the server can check if original operation with the same
|
|
801
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
802
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
803
|
+
#
|
|
804
|
+
# The request ID must be
|
|
805
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
806
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
693
807
|
# @param security_policy_resource [::Google::Cloud::Compute::V1::SecurityPolicy, ::Hash]
|
|
694
808
|
# The body resource for this request
|
|
695
809
|
# @param validate_only [::Boolean]
|
|
@@ -780,17 +894,95 @@ module Google
|
|
|
780
894
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
781
895
|
#
|
|
782
896
|
# @param filter [::String]
|
|
783
|
-
# A filter expression that filters resources listed in the response. Most
|
|
897
|
+
# A filter expression that filters resources listed in the response. Most
|
|
898
|
+
# Compute resources support two types of filter expressions:
|
|
899
|
+
# expressions that support regular expressions and expressions that follow
|
|
900
|
+
# API improvement proposal AIP-160.
|
|
901
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
902
|
+
#
|
|
903
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
904
|
+
# operator, and the value that you want to use for filtering. The value
|
|
905
|
+
# must be a string, a number, or a boolean. The operator
|
|
906
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
907
|
+
#
|
|
908
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
909
|
+
# exclude instances named `example-instance` by specifying
|
|
910
|
+
# `name != example-instance`.
|
|
911
|
+
#
|
|
912
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
913
|
+
# For example, to find all objects with `owner` label use:
|
|
914
|
+
# ```
|
|
915
|
+
# labels.owner:*
|
|
916
|
+
# ```
|
|
917
|
+
#
|
|
918
|
+
# You can also filter nested fields. For example, you could specify
|
|
919
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
920
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
921
|
+
# on nested fields to filter based onresource labels.
|
|
922
|
+
#
|
|
923
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
924
|
+
# parentheses. For example:
|
|
925
|
+
# ```
|
|
926
|
+
# (scheduling.automaticRestart = true)
|
|
927
|
+
# (cpuPlatform = "Intel Skylake")
|
|
928
|
+
# ```
|
|
929
|
+
# By default, each expression is an `AND` expression. However, you
|
|
930
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
931
|
+
# For example:
|
|
932
|
+
# ```
|
|
933
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
934
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
935
|
+
# (scheduling.automaticRestart = true)
|
|
936
|
+
# ```
|
|
937
|
+
#
|
|
938
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
939
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
940
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
941
|
+
#
|
|
942
|
+
# `fieldname eq unquoted literal`
|
|
943
|
+
# `fieldname eq 'single quoted literal'`
|
|
944
|
+
# `fieldname eq "double quoted literal"`
|
|
945
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
946
|
+
#
|
|
947
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
948
|
+
# The literal value must match the entire field.
|
|
949
|
+
#
|
|
950
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
951
|
+
# you would use `name ne .*instance`.
|
|
952
|
+
#
|
|
953
|
+
# You cannot combine constraints on multiple fields using regular
|
|
954
|
+
# expressions.
|
|
784
955
|
# @param max_results [::Integer]
|
|
785
|
-
# The maximum number of results per page that should be returned.
|
|
956
|
+
# The maximum number of results per page that should be returned.
|
|
957
|
+
# If the number of available results is larger than `maxResults`,
|
|
958
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
959
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
960
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
786
961
|
# @param order_by [::String]
|
|
787
|
-
# Sorts list results by a certain order. By default, results
|
|
962
|
+
# Sorts list results by a certain order. By default, results
|
|
963
|
+
# are returned in alphanumerical order based on the resource name.
|
|
964
|
+
#
|
|
965
|
+
# You can also sort results in descending order based on the creation
|
|
966
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
967
|
+
# results based on the `creationTimestamp` field in
|
|
968
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
969
|
+
# resources like operations so that the newest operation is returned first.
|
|
970
|
+
#
|
|
971
|
+
# Currently, only sorting by `name` or
|
|
972
|
+
# `creationTimestamp desc` is supported.
|
|
788
973
|
# @param page_token [::String]
|
|
789
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
974
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
975
|
+
# `nextPageToken` returned by a previous list request to get
|
|
976
|
+
# the next page of results.
|
|
790
977
|
# @param project [::String]
|
|
791
978
|
# Project ID for this request.
|
|
792
979
|
# @param return_partial_success [::Boolean]
|
|
793
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
980
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
981
|
+
# of failure. The default value is false.
|
|
982
|
+
#
|
|
983
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
984
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
985
|
+
# with an error code.
|
|
794
986
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
795
987
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SecurityPolicy>]
|
|
796
988
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -852,7 +1044,8 @@ module Google
|
|
|
852
1044
|
end
|
|
853
1045
|
|
|
854
1046
|
##
|
|
855
|
-
# Gets the current list of preconfigured Web Application Firewall (WAF)
|
|
1047
|
+
# Gets the current list of preconfigured Web Application Firewall (WAF)
|
|
1048
|
+
# expressions.
|
|
856
1049
|
#
|
|
857
1050
|
# @overload list_preconfigured_expression_sets(request, options = nil)
|
|
858
1051
|
# Pass arguments to `list_preconfigured_expression_sets` via a request object, either of type
|
|
@@ -870,17 +1063,95 @@ module Google
|
|
|
870
1063
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
871
1064
|
#
|
|
872
1065
|
# @param filter [::String]
|
|
873
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1066
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1067
|
+
# Compute resources support two types of filter expressions:
|
|
1068
|
+
# expressions that support regular expressions and expressions that follow
|
|
1069
|
+
# API improvement proposal AIP-160.
|
|
1070
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1071
|
+
#
|
|
1072
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1073
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1074
|
+
# must be a string, a number, or a boolean. The operator
|
|
1075
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1076
|
+
#
|
|
1077
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1078
|
+
# exclude instances named `example-instance` by specifying
|
|
1079
|
+
# `name != example-instance`.
|
|
1080
|
+
#
|
|
1081
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1082
|
+
# For example, to find all objects with `owner` label use:
|
|
1083
|
+
# ```
|
|
1084
|
+
# labels.owner:*
|
|
1085
|
+
# ```
|
|
1086
|
+
#
|
|
1087
|
+
# You can also filter nested fields. For example, you could specify
|
|
1088
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1089
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1090
|
+
# on nested fields to filter based onresource labels.
|
|
1091
|
+
#
|
|
1092
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1093
|
+
# parentheses. For example:
|
|
1094
|
+
# ```
|
|
1095
|
+
# (scheduling.automaticRestart = true)
|
|
1096
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1097
|
+
# ```
|
|
1098
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1099
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1100
|
+
# For example:
|
|
1101
|
+
# ```
|
|
1102
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1103
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1104
|
+
# (scheduling.automaticRestart = true)
|
|
1105
|
+
# ```
|
|
1106
|
+
#
|
|
1107
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1108
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1109
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1110
|
+
#
|
|
1111
|
+
# `fieldname eq unquoted literal`
|
|
1112
|
+
# `fieldname eq 'single quoted literal'`
|
|
1113
|
+
# `fieldname eq "double quoted literal"`
|
|
1114
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1115
|
+
#
|
|
1116
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1117
|
+
# The literal value must match the entire field.
|
|
1118
|
+
#
|
|
1119
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1120
|
+
# you would use `name ne .*instance`.
|
|
1121
|
+
#
|
|
1122
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1123
|
+
# expressions.
|
|
874
1124
|
# @param max_results [::Integer]
|
|
875
|
-
# The maximum number of results per page that should be returned.
|
|
1125
|
+
# The maximum number of results per page that should be returned.
|
|
1126
|
+
# If the number of available results is larger than `maxResults`,
|
|
1127
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1128
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1129
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
876
1130
|
# @param order_by [::String]
|
|
877
|
-
# Sorts list results by a certain order. By default, results
|
|
1131
|
+
# Sorts list results by a certain order. By default, results
|
|
1132
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1133
|
+
#
|
|
1134
|
+
# You can also sort results in descending order based on the creation
|
|
1135
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1136
|
+
# results based on the `creationTimestamp` field in
|
|
1137
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1138
|
+
# resources like operations so that the newest operation is returned first.
|
|
1139
|
+
#
|
|
1140
|
+
# Currently, only sorting by `name` or
|
|
1141
|
+
# `creationTimestamp desc` is supported.
|
|
878
1142
|
# @param page_token [::String]
|
|
879
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1143
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1144
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1145
|
+
# the next page of results.
|
|
880
1146
|
# @param project [::String]
|
|
881
1147
|
# Project ID for this request.
|
|
882
1148
|
# @param return_partial_success [::Boolean]
|
|
883
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1149
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1150
|
+
# of failure. The default value is false.
|
|
1151
|
+
#
|
|
1152
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1153
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1154
|
+
# with an error code.
|
|
884
1155
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
885
1156
|
# @yieldparam result [::Google::Cloud::Compute::V1::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
|
|
886
1157
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -940,7 +1211,11 @@ module Google
|
|
|
940
1211
|
end
|
|
941
1212
|
|
|
942
1213
|
##
|
|
943
|
-
# Patches the specified policy with the data included in the request. To
|
|
1214
|
+
# Patches the specified policy with the data included in the request. To
|
|
1215
|
+
# clear fields in the policy, leave the fields empty and specify them in the
|
|
1216
|
+
# updateMask. This cannot be used to be update the rules in the policy.
|
|
1217
|
+
# Please use the per rule methods like addRule, patchRule, and removeRule
|
|
1218
|
+
# instead.
|
|
944
1219
|
#
|
|
945
1220
|
# @overload patch(request, options = nil)
|
|
946
1221
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -960,7 +1235,19 @@ module Google
|
|
|
960
1235
|
# @param project [::String]
|
|
961
1236
|
# Project ID for this request.
|
|
962
1237
|
# @param request_id [::String]
|
|
963
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1238
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1239
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1240
|
+
# request if it has already been completed.
|
|
1241
|
+
#
|
|
1242
|
+
# For example, consider a situation where you make an initial request and
|
|
1243
|
+
# the request times out. If you make the request again with the same
|
|
1244
|
+
# request ID, the server can check if original operation with the same
|
|
1245
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1246
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1247
|
+
#
|
|
1248
|
+
# The request ID must be
|
|
1249
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1250
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
964
1251
|
# @param security_policy [::String]
|
|
965
1252
|
# Name of the security policy to update.
|
|
966
1253
|
# @param security_policy_resource [::Google::Cloud::Compute::V1::SecurityPolicy, ::Hash]
|
|
@@ -1035,7 +1322,8 @@ module Google
|
|
|
1035
1322
|
end
|
|
1036
1323
|
|
|
1037
1324
|
##
|
|
1038
|
-
# Patches a rule at the specified priority. To clear fields in the rule,
|
|
1325
|
+
# Patches a rule at the specified priority. To clear fields in the rule,
|
|
1326
|
+
# leave the fields empty and specify them in the updateMask.
|
|
1039
1327
|
#
|
|
1040
1328
|
# @overload patch_rule(request, options = nil)
|
|
1041
1329
|
# Pass arguments to `patch_rule` via a request object, either of type
|
|
@@ -1223,7 +1511,9 @@ module Google
|
|
|
1223
1511
|
end
|
|
1224
1512
|
|
|
1225
1513
|
##
|
|
1226
|
-
# Sets the labels on a security policy. To learn more about labels,
|
|
1514
|
+
# Sets the labels on a security policy. To learn more about labels,
|
|
1515
|
+
# read the Labeling Resources
|
|
1516
|
+
# documentation.
|
|
1227
1517
|
#
|
|
1228
1518
|
# @overload set_labels(request, options = nil)
|
|
1229
1519
|
# Pass arguments to `set_labels` via a request object, either of type
|