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
|
@@ -251,7 +251,10 @@ module Google
|
|
|
251
251
|
# Service calls
|
|
252
252
|
|
|
253
253
|
##
|
|
254
|
-
# Retrieves an aggregated list of routers.
|
|
254
|
+
# Retrieves an aggregated list of routers.
|
|
255
|
+
#
|
|
256
|
+
# To prevent failure, Google recommends that you set the
|
|
257
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
255
258
|
#
|
|
256
259
|
# @overload aggregated_list(request, options = nil)
|
|
257
260
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -269,21 +272,106 @@ module Google
|
|
|
269
272
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
270
273
|
#
|
|
271
274
|
# @param filter [::String]
|
|
272
|
-
# A filter expression that filters resources listed in the response. Most
|
|
275
|
+
# A filter expression that filters resources listed in the response. Most
|
|
276
|
+
# Compute resources support two types of filter expressions:
|
|
277
|
+
# expressions that support regular expressions and expressions that follow
|
|
278
|
+
# API improvement proposal AIP-160.
|
|
279
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
280
|
+
#
|
|
281
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
282
|
+
# operator, and the value that you want to use for filtering. The value
|
|
283
|
+
# must be a string, a number, or a boolean. The operator
|
|
284
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
285
|
+
#
|
|
286
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
287
|
+
# exclude instances named `example-instance` by specifying
|
|
288
|
+
# `name != example-instance`.
|
|
289
|
+
#
|
|
290
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
291
|
+
# For example, to find all objects with `owner` label use:
|
|
292
|
+
# ```
|
|
293
|
+
# labels.owner:*
|
|
294
|
+
# ```
|
|
295
|
+
#
|
|
296
|
+
# You can also filter nested fields. For example, you could specify
|
|
297
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
298
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
299
|
+
# on nested fields to filter based onresource labels.
|
|
300
|
+
#
|
|
301
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
302
|
+
# parentheses. For example:
|
|
303
|
+
# ```
|
|
304
|
+
# (scheduling.automaticRestart = true)
|
|
305
|
+
# (cpuPlatform = "Intel Skylake")
|
|
306
|
+
# ```
|
|
307
|
+
# By default, each expression is an `AND` expression. However, you
|
|
308
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
309
|
+
# For example:
|
|
310
|
+
# ```
|
|
311
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
312
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
313
|
+
# (scheduling.automaticRestart = true)
|
|
314
|
+
# ```
|
|
315
|
+
#
|
|
316
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
317
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
318
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
319
|
+
#
|
|
320
|
+
# `fieldname eq unquoted literal`
|
|
321
|
+
# `fieldname eq 'single quoted literal'`
|
|
322
|
+
# `fieldname eq "double quoted literal"`
|
|
323
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
324
|
+
#
|
|
325
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
326
|
+
# The literal value must match the entire field.
|
|
327
|
+
#
|
|
328
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
329
|
+
# you would use `name ne .*instance`.
|
|
330
|
+
#
|
|
331
|
+
# You cannot combine constraints on multiple fields using regular
|
|
332
|
+
# expressions.
|
|
273
333
|
# @param include_all_scopes [::Boolean]
|
|
274
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
334
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
335
|
+
# global) should be included in the response. For new resource types added
|
|
336
|
+
# after this field, the flag has no effect as new resource types will always
|
|
337
|
+
# include every visible scope for each scope type in response. For resource
|
|
338
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
339
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
340
|
+
# will be included.
|
|
275
341
|
# @param max_results [::Integer]
|
|
276
|
-
# The maximum number of results per page that should be returned.
|
|
342
|
+
# The maximum number of results per page that should be returned.
|
|
343
|
+
# If the number of available results is larger than `maxResults`,
|
|
344
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
345
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
346
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
277
347
|
# @param order_by [::String]
|
|
278
|
-
# Sorts list results by a certain order. By default, results
|
|
348
|
+
# Sorts list results by a certain order. By default, results
|
|
349
|
+
# are returned in alphanumerical order based on the resource name.
|
|
350
|
+
#
|
|
351
|
+
# You can also sort results in descending order based on the creation
|
|
352
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
353
|
+
# results based on the `creationTimestamp` field in
|
|
354
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
355
|
+
# resources like operations so that the newest operation is returned first.
|
|
356
|
+
#
|
|
357
|
+
# Currently, only sorting by `name` or
|
|
358
|
+
# `creationTimestamp desc` is supported.
|
|
279
359
|
# @param page_token [::String]
|
|
280
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
360
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
361
|
+
# `nextPageToken` returned by a previous list request to get
|
|
362
|
+
# the next page of results.
|
|
281
363
|
# @param project [::String]
|
|
282
364
|
# Project ID for this request.
|
|
283
365
|
# @param return_partial_success [::Boolean]
|
|
284
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
366
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
367
|
+
# of failure. The default value is false.
|
|
368
|
+
#
|
|
369
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
370
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
371
|
+
# with an error code.
|
|
285
372
|
# @param service_project_number [::Integer]
|
|
286
|
-
# The Shared VPC service project id or service project number for which
|
|
373
|
+
# The Shared VPC service project id or service project number for which
|
|
374
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
287
375
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
288
376
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::RoutersScopedList>]
|
|
289
377
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -367,7 +455,19 @@ module Google
|
|
|
367
455
|
# @param region [::String]
|
|
368
456
|
# Name of the region for this request.
|
|
369
457
|
# @param request_id [::String]
|
|
370
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
458
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
459
|
+
# that if you must retry your request, the server will know to ignore the
|
|
460
|
+
# request if it has already been completed.
|
|
461
|
+
#
|
|
462
|
+
# For example, consider a situation where you make an initial request and
|
|
463
|
+
# the request times out. If you make the request again with the same
|
|
464
|
+
# request ID, the server can check if original operation with the same
|
|
465
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
466
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
467
|
+
#
|
|
468
|
+
# The request ID must be
|
|
469
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
470
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
371
471
|
# @param router [::String]
|
|
372
472
|
# Name of the Router resource to delete.
|
|
373
473
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -463,7 +563,19 @@ module Google
|
|
|
463
563
|
# @param region [::String]
|
|
464
564
|
# Name of the region for this request.
|
|
465
565
|
# @param request_id [::String]
|
|
466
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
566
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
567
|
+
# that if you must retry your request, the server will know to ignore the
|
|
568
|
+
# request if it has already been completed.
|
|
569
|
+
#
|
|
570
|
+
# For example, consider a situation where you make an initial request and
|
|
571
|
+
# the request times out. If you make the request again with the same
|
|
572
|
+
# request ID, the server can check if original operation with the same
|
|
573
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
574
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
575
|
+
#
|
|
576
|
+
# The request ID must be
|
|
577
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
578
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
467
579
|
# @param router [::String]
|
|
468
580
|
# Name of the Router resource where Route Policy is defined.
|
|
469
581
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -635,13 +747,16 @@ module Google
|
|
|
635
747
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
636
748
|
#
|
|
637
749
|
# @param nat_name [::String]
|
|
638
|
-
# Name of the nat service to filter the NAT IP information.
|
|
750
|
+
# Name of the nat service to filter the NAT IP information.
|
|
751
|
+
# If it is omitted, all nats for this router will be returned.
|
|
752
|
+
# Name should conform to RFC1035.
|
|
639
753
|
# @param project [::String]
|
|
640
754
|
# Project ID for this request.
|
|
641
755
|
# @param region [::String]
|
|
642
756
|
# Name of the region for this request.
|
|
643
757
|
# @param router [::String]
|
|
644
|
-
# Name of the Router resource to query for Nat IP information. The name
|
|
758
|
+
# Name of the Router resource to query for Nat IP information. The name
|
|
759
|
+
# should conform to RFC1035.
|
|
645
760
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
646
761
|
# @yieldparam result [::Google::Cloud::Compute::V1::NatIpInfoResponse]
|
|
647
762
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -719,23 +834,104 @@ module Google
|
|
|
719
834
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
720
835
|
#
|
|
721
836
|
# @param filter [::String]
|
|
722
|
-
# A filter expression that filters resources listed in the response. Most
|
|
837
|
+
# A filter expression that filters resources listed in the response. Most
|
|
838
|
+
# Compute resources support two types of filter expressions:
|
|
839
|
+
# expressions that support regular expressions and expressions that follow
|
|
840
|
+
# API improvement proposal AIP-160.
|
|
841
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
842
|
+
#
|
|
843
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
844
|
+
# operator, and the value that you want to use for filtering. The value
|
|
845
|
+
# must be a string, a number, or a boolean. The operator
|
|
846
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
847
|
+
#
|
|
848
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
849
|
+
# exclude instances named `example-instance` by specifying
|
|
850
|
+
# `name != example-instance`.
|
|
851
|
+
#
|
|
852
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
853
|
+
# For example, to find all objects with `owner` label use:
|
|
854
|
+
# ```
|
|
855
|
+
# labels.owner:*
|
|
856
|
+
# ```
|
|
857
|
+
#
|
|
858
|
+
# You can also filter nested fields. For example, you could specify
|
|
859
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
860
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
861
|
+
# on nested fields to filter based onresource labels.
|
|
862
|
+
#
|
|
863
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
864
|
+
# parentheses. For example:
|
|
865
|
+
# ```
|
|
866
|
+
# (scheduling.automaticRestart = true)
|
|
867
|
+
# (cpuPlatform = "Intel Skylake")
|
|
868
|
+
# ```
|
|
869
|
+
# By default, each expression is an `AND` expression. However, you
|
|
870
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
871
|
+
# For example:
|
|
872
|
+
# ```
|
|
873
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
874
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
875
|
+
# (scheduling.automaticRestart = true)
|
|
876
|
+
# ```
|
|
877
|
+
#
|
|
878
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
879
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
880
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
881
|
+
#
|
|
882
|
+
# `fieldname eq unquoted literal`
|
|
883
|
+
# `fieldname eq 'single quoted literal'`
|
|
884
|
+
# `fieldname eq "double quoted literal"`
|
|
885
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
886
|
+
#
|
|
887
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
888
|
+
# The literal value must match the entire field.
|
|
889
|
+
#
|
|
890
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
891
|
+
# you would use `name ne .*instance`.
|
|
892
|
+
#
|
|
893
|
+
# You cannot combine constraints on multiple fields using regular
|
|
894
|
+
# expressions.
|
|
723
895
|
# @param max_results [::Integer]
|
|
724
|
-
# The maximum number of results per page that should be returned.
|
|
896
|
+
# The maximum number of results per page that should be returned.
|
|
897
|
+
# If the number of available results is larger than `maxResults`,
|
|
898
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
899
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
900
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
725
901
|
# @param nat_name [::String]
|
|
726
|
-
# Name of the nat service to filter the Nat Mapping information.
|
|
902
|
+
# Name of the nat service to filter the Nat Mapping information.
|
|
903
|
+
# If it is omitted, all nats for this router will be returned.
|
|
904
|
+
# Name should conform to RFC1035.
|
|
727
905
|
# @param order_by [::String]
|
|
728
|
-
# Sorts list results by a certain order. By default, results
|
|
906
|
+
# Sorts list results by a certain order. By default, results
|
|
907
|
+
# are returned in alphanumerical order based on the resource name.
|
|
908
|
+
#
|
|
909
|
+
# You can also sort results in descending order based on the creation
|
|
910
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
911
|
+
# results based on the `creationTimestamp` field in
|
|
912
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
913
|
+
# resources like operations so that the newest operation is returned first.
|
|
914
|
+
#
|
|
915
|
+
# Currently, only sorting by `name` or
|
|
916
|
+
# `creationTimestamp desc` is supported.
|
|
729
917
|
# @param page_token [::String]
|
|
730
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
918
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
919
|
+
# `nextPageToken` returned by a previous list request to get
|
|
920
|
+
# the next page of results.
|
|
731
921
|
# @param project [::String]
|
|
732
922
|
# Project ID for this request.
|
|
733
923
|
# @param region [::String]
|
|
734
924
|
# Name of the region for this request.
|
|
735
925
|
# @param return_partial_success [::Boolean]
|
|
736
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
926
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
927
|
+
# of failure. The default value is false.
|
|
928
|
+
#
|
|
929
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
930
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
931
|
+
# with an error code.
|
|
737
932
|
# @param router [::String]
|
|
738
|
-
# Name of the Router resource to query for Nat Mapping information of
|
|
933
|
+
# Name of the Router resource to query for Nat Mapping information of
|
|
934
|
+
# VM endpoints.
|
|
739
935
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
740
936
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::VmEndpointNatMappings>]
|
|
741
937
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -821,7 +1017,8 @@ module Google
|
|
|
821
1017
|
# @param region [::String]
|
|
822
1018
|
# Name of the region for this request.
|
|
823
1019
|
# @param router [::String]
|
|
824
|
-
# Name of the Router resource to query for the route policy. The name should
|
|
1020
|
+
# Name of the Router resource to query for the route policy. The name should
|
|
1021
|
+
# conform to RFC1035.
|
|
825
1022
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
826
1023
|
# @yieldparam result [::Google::Cloud::Compute::V1::RoutersGetRoutePolicyResponse]
|
|
827
1024
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -963,7 +1160,8 @@ module Google
|
|
|
963
1160
|
end
|
|
964
1161
|
|
|
965
1162
|
##
|
|
966
|
-
# Creates a Router resource in the specified project and region using
|
|
1163
|
+
# Creates a Router resource in the specified project and region using
|
|
1164
|
+
# the data included in the request.
|
|
967
1165
|
#
|
|
968
1166
|
# @overload insert(request, options = nil)
|
|
969
1167
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -985,7 +1183,19 @@ module Google
|
|
|
985
1183
|
# @param region [::String]
|
|
986
1184
|
# Name of the region for this request.
|
|
987
1185
|
# @param request_id [::String]
|
|
988
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1186
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1187
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1188
|
+
# request if it has already been completed.
|
|
1189
|
+
#
|
|
1190
|
+
# For example, consider a situation where you make an initial request and
|
|
1191
|
+
# the request times out. If you make the request again with the same
|
|
1192
|
+
# request ID, the server can check if original operation with the same
|
|
1193
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1194
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1195
|
+
#
|
|
1196
|
+
# The request ID must be
|
|
1197
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1198
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
989
1199
|
# @param router_resource [::Google::Cloud::Compute::V1::Router, ::Hash]
|
|
990
1200
|
# The body resource for this request
|
|
991
1201
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -1075,19 +1285,97 @@ module Google
|
|
|
1075
1285
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1076
1286
|
#
|
|
1077
1287
|
# @param filter [::String]
|
|
1078
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1288
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1289
|
+
# Compute resources support two types of filter expressions:
|
|
1290
|
+
# expressions that support regular expressions and expressions that follow
|
|
1291
|
+
# API improvement proposal AIP-160.
|
|
1292
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1293
|
+
#
|
|
1294
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1295
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1296
|
+
# must be a string, a number, or a boolean. The operator
|
|
1297
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1298
|
+
#
|
|
1299
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1300
|
+
# exclude instances named `example-instance` by specifying
|
|
1301
|
+
# `name != example-instance`.
|
|
1302
|
+
#
|
|
1303
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1304
|
+
# For example, to find all objects with `owner` label use:
|
|
1305
|
+
# ```
|
|
1306
|
+
# labels.owner:*
|
|
1307
|
+
# ```
|
|
1308
|
+
#
|
|
1309
|
+
# You can also filter nested fields. For example, you could specify
|
|
1310
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1311
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1312
|
+
# on nested fields to filter based onresource labels.
|
|
1313
|
+
#
|
|
1314
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1315
|
+
# parentheses. For example:
|
|
1316
|
+
# ```
|
|
1317
|
+
# (scheduling.automaticRestart = true)
|
|
1318
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1319
|
+
# ```
|
|
1320
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1321
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1322
|
+
# For example:
|
|
1323
|
+
# ```
|
|
1324
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1325
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1326
|
+
# (scheduling.automaticRestart = true)
|
|
1327
|
+
# ```
|
|
1328
|
+
#
|
|
1329
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1330
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1331
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1332
|
+
#
|
|
1333
|
+
# `fieldname eq unquoted literal`
|
|
1334
|
+
# `fieldname eq 'single quoted literal'`
|
|
1335
|
+
# `fieldname eq "double quoted literal"`
|
|
1336
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1337
|
+
#
|
|
1338
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1339
|
+
# The literal value must match the entire field.
|
|
1340
|
+
#
|
|
1341
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1342
|
+
# you would use `name ne .*instance`.
|
|
1343
|
+
#
|
|
1344
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1345
|
+
# expressions.
|
|
1079
1346
|
# @param max_results [::Integer]
|
|
1080
|
-
# The maximum number of results per page that should be returned.
|
|
1347
|
+
# The maximum number of results per page that should be returned.
|
|
1348
|
+
# If the number of available results is larger than `maxResults`,
|
|
1349
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1350
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1351
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
1081
1352
|
# @param order_by [::String]
|
|
1082
|
-
# Sorts list results by a certain order. By default, results
|
|
1353
|
+
# Sorts list results by a certain order. By default, results
|
|
1354
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1355
|
+
#
|
|
1356
|
+
# You can also sort results in descending order based on the creation
|
|
1357
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1358
|
+
# results based on the `creationTimestamp` field in
|
|
1359
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1360
|
+
# resources like operations so that the newest operation is returned first.
|
|
1361
|
+
#
|
|
1362
|
+
# Currently, only sorting by `name` or
|
|
1363
|
+
# `creationTimestamp desc` is supported.
|
|
1083
1364
|
# @param page_token [::String]
|
|
1084
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1365
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1366
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1367
|
+
# the next page of results.
|
|
1085
1368
|
# @param project [::String]
|
|
1086
1369
|
# Project ID for this request.
|
|
1087
1370
|
# @param region [::String]
|
|
1088
1371
|
# Name of the region for this request.
|
|
1089
1372
|
# @param return_partial_success [::Boolean]
|
|
1090
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1373
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1374
|
+
# of failure. The default value is false.
|
|
1375
|
+
#
|
|
1376
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1377
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1378
|
+
# with an error code.
|
|
1091
1379
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1092
1380
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Router>]
|
|
1093
1381
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1172,28 +1460,110 @@ module Google
|
|
|
1172
1460
|
# @param destination_prefix [::String]
|
|
1173
1461
|
# Limit results to destinations that are subnets of this CIDR range
|
|
1174
1462
|
# @param filter [::String]
|
|
1175
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1463
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1464
|
+
# Compute resources support two types of filter expressions:
|
|
1465
|
+
# expressions that support regular expressions and expressions that follow
|
|
1466
|
+
# API improvement proposal AIP-160.
|
|
1467
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1468
|
+
#
|
|
1469
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1470
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1471
|
+
# must be a string, a number, or a boolean. The operator
|
|
1472
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1473
|
+
#
|
|
1474
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1475
|
+
# exclude instances named `example-instance` by specifying
|
|
1476
|
+
# `name != example-instance`.
|
|
1477
|
+
#
|
|
1478
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1479
|
+
# For example, to find all objects with `owner` label use:
|
|
1480
|
+
# ```
|
|
1481
|
+
# labels.owner:*
|
|
1482
|
+
# ```
|
|
1483
|
+
#
|
|
1484
|
+
# You can also filter nested fields. For example, you could specify
|
|
1485
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1486
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1487
|
+
# on nested fields to filter based onresource labels.
|
|
1488
|
+
#
|
|
1489
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1490
|
+
# parentheses. For example:
|
|
1491
|
+
# ```
|
|
1492
|
+
# (scheduling.automaticRestart = true)
|
|
1493
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1494
|
+
# ```
|
|
1495
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1496
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1497
|
+
# For example:
|
|
1498
|
+
# ```
|
|
1499
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1500
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1501
|
+
# (scheduling.automaticRestart = true)
|
|
1502
|
+
# ```
|
|
1503
|
+
#
|
|
1504
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1505
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1506
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1507
|
+
#
|
|
1508
|
+
# `fieldname eq unquoted literal`
|
|
1509
|
+
# `fieldname eq 'single quoted literal'`
|
|
1510
|
+
# `fieldname eq "double quoted literal"`
|
|
1511
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1512
|
+
#
|
|
1513
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1514
|
+
# The literal value must match the entire field.
|
|
1515
|
+
#
|
|
1516
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1517
|
+
# you would use `name ne .*instance`.
|
|
1518
|
+
#
|
|
1519
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1520
|
+
# expressions.
|
|
1176
1521
|
# @param max_results [::Integer]
|
|
1177
|
-
# The maximum number of results per page that should be returned.
|
|
1522
|
+
# The maximum number of results per page that should be returned.
|
|
1523
|
+
# If the number of available results is larger than `maxResults`,
|
|
1524
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1525
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1526
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
1178
1527
|
# @param order_by [::String]
|
|
1179
|
-
# Sorts list results by a certain order. By default, results
|
|
1528
|
+
# Sorts list results by a certain order. By default, results
|
|
1529
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1530
|
+
#
|
|
1531
|
+
# You can also sort results in descending order based on the creation
|
|
1532
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1533
|
+
# results based on the `creationTimestamp` field in
|
|
1534
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1535
|
+
# resources like operations so that the newest operation is returned first.
|
|
1536
|
+
#
|
|
1537
|
+
# Currently, only sorting by `name` or
|
|
1538
|
+
# `creationTimestamp desc` is supported.
|
|
1180
1539
|
# @param page_token [::String]
|
|
1181
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1540
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1541
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1542
|
+
# the next page of results.
|
|
1182
1543
|
# @param peer [::String]
|
|
1183
|
-
# (Required) limit results to the BGP peer with the given name.
|
|
1544
|
+
# (Required) limit results to the BGP peer with the given name.
|
|
1545
|
+
# Name should conform to RFC1035.
|
|
1184
1546
|
# @param policy_applied [::Boolean]
|
|
1185
|
-
# When true, the method returns post-policy routes. Otherwise, it returns
|
|
1547
|
+
# When true, the method returns post-policy routes. Otherwise, it returns
|
|
1548
|
+
# pre-policy routes.
|
|
1186
1549
|
# @param project [::String]
|
|
1187
1550
|
# Project ID for this request.
|
|
1188
1551
|
# @param region [::String]
|
|
1189
1552
|
# Name of the region for this request.
|
|
1190
1553
|
# @param return_partial_success [::Boolean]
|
|
1191
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1554
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1555
|
+
# of failure. The default value is false.
|
|
1556
|
+
#
|
|
1557
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1558
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1559
|
+
# with an error code.
|
|
1192
1560
|
# @param route_type [::String]
|
|
1193
|
-
# (Required) limit results to this type of route (either LEARNED or
|
|
1561
|
+
# (Required) limit results to this type of route (either LEARNED or
|
|
1562
|
+
# ADVERTISED)
|
|
1194
1563
|
# Check the RouteType enum for the list of possible values.
|
|
1195
1564
|
# @param router [::String]
|
|
1196
|
-
# Name or id of the resource for this request.
|
|
1565
|
+
# Name or id of the resource for this request.
|
|
1566
|
+
# Name should conform to RFC1035.
|
|
1197
1567
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1198
1568
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::BgpRoute>]
|
|
1199
1569
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1255,7 +1625,8 @@ module Google
|
|
|
1255
1625
|
end
|
|
1256
1626
|
|
|
1257
1627
|
##
|
|
1258
|
-
# Retrieves a list of router route policy subresources available to the
|
|
1628
|
+
# Retrieves a list of router route policy subresources available to the
|
|
1629
|
+
# specified project.
|
|
1259
1630
|
#
|
|
1260
1631
|
# @overload list_route_policies(request, options = nil)
|
|
1261
1632
|
# Pass arguments to `list_route_policies` via a request object, either of type
|
|
@@ -1273,21 +1644,100 @@ module Google
|
|
|
1273
1644
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1274
1645
|
#
|
|
1275
1646
|
# @param filter [::String]
|
|
1276
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1647
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1648
|
+
# Compute resources support two types of filter expressions:
|
|
1649
|
+
# expressions that support regular expressions and expressions that follow
|
|
1650
|
+
# API improvement proposal AIP-160.
|
|
1651
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1652
|
+
#
|
|
1653
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1654
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1655
|
+
# must be a string, a number, or a boolean. The operator
|
|
1656
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1657
|
+
#
|
|
1658
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1659
|
+
# exclude instances named `example-instance` by specifying
|
|
1660
|
+
# `name != example-instance`.
|
|
1661
|
+
#
|
|
1662
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1663
|
+
# For example, to find all objects with `owner` label use:
|
|
1664
|
+
# ```
|
|
1665
|
+
# labels.owner:*
|
|
1666
|
+
# ```
|
|
1667
|
+
#
|
|
1668
|
+
# You can also filter nested fields. For example, you could specify
|
|
1669
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1670
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1671
|
+
# on nested fields to filter based onresource labels.
|
|
1672
|
+
#
|
|
1673
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1674
|
+
# parentheses. For example:
|
|
1675
|
+
# ```
|
|
1676
|
+
# (scheduling.automaticRestart = true)
|
|
1677
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1678
|
+
# ```
|
|
1679
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1680
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1681
|
+
# For example:
|
|
1682
|
+
# ```
|
|
1683
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1684
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1685
|
+
# (scheduling.automaticRestart = true)
|
|
1686
|
+
# ```
|
|
1687
|
+
#
|
|
1688
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1689
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1690
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1691
|
+
#
|
|
1692
|
+
# `fieldname eq unquoted literal`
|
|
1693
|
+
# `fieldname eq 'single quoted literal'`
|
|
1694
|
+
# `fieldname eq "double quoted literal"`
|
|
1695
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1696
|
+
#
|
|
1697
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1698
|
+
# The literal value must match the entire field.
|
|
1699
|
+
#
|
|
1700
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1701
|
+
# you would use `name ne .*instance`.
|
|
1702
|
+
#
|
|
1703
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1704
|
+
# expressions.
|
|
1277
1705
|
# @param max_results [::Integer]
|
|
1278
|
-
# The maximum number of results per page that should be returned.
|
|
1706
|
+
# The maximum number of results per page that should be returned.
|
|
1707
|
+
# If the number of available results is larger than `maxResults`,
|
|
1708
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1709
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1710
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
1279
1711
|
# @param order_by [::String]
|
|
1280
|
-
# Sorts list results by a certain order. By default, results
|
|
1712
|
+
# Sorts list results by a certain order. By default, results
|
|
1713
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1714
|
+
#
|
|
1715
|
+
# You can also sort results in descending order based on the creation
|
|
1716
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1717
|
+
# results based on the `creationTimestamp` field in
|
|
1718
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1719
|
+
# resources like operations so that the newest operation is returned first.
|
|
1720
|
+
#
|
|
1721
|
+
# Currently, only sorting by `name` or
|
|
1722
|
+
# `creationTimestamp desc` is supported.
|
|
1281
1723
|
# @param page_token [::String]
|
|
1282
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1724
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1725
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1726
|
+
# the next page of results.
|
|
1283
1727
|
# @param project [::String]
|
|
1284
1728
|
# Project ID for this request.
|
|
1285
1729
|
# @param region [::String]
|
|
1286
1730
|
# Name of the region for this request.
|
|
1287
1731
|
# @param return_partial_success [::Boolean]
|
|
1288
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1732
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1733
|
+
# of failure. The default value is false.
|
|
1734
|
+
#
|
|
1735
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1736
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1737
|
+
# with an error code.
|
|
1289
1738
|
# @param router [::String]
|
|
1290
|
-
# Name or id of the resource for this request.
|
|
1739
|
+
# Name or id of the resource for this request.
|
|
1740
|
+
# Name should conform to RFC1035.
|
|
1291
1741
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1292
1742
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::RoutePolicy>]
|
|
1293
1743
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1349,7 +1799,10 @@ module Google
|
|
|
1349
1799
|
end
|
|
1350
1800
|
|
|
1351
1801
|
##
|
|
1352
|
-
# Patches the specified Router resource with the data included in the
|
|
1802
|
+
# Patches the specified Router resource with the data included in the
|
|
1803
|
+
# request. This method supportsPATCH
|
|
1804
|
+
# semantics and usesJSON merge
|
|
1805
|
+
# patch format and processing rules.
|
|
1353
1806
|
#
|
|
1354
1807
|
# @overload patch(request, options = nil)
|
|
1355
1808
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -1371,7 +1824,19 @@ module Google
|
|
|
1371
1824
|
# @param region [::String]
|
|
1372
1825
|
# Name of the region for this request.
|
|
1373
1826
|
# @param request_id [::String]
|
|
1374
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1827
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1828
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1829
|
+
# request if it has already been completed.
|
|
1830
|
+
#
|
|
1831
|
+
# For example, consider a situation where you make an initial request and
|
|
1832
|
+
# the request times out. If you make the request again with the same
|
|
1833
|
+
# request ID, the server can check if original operation with the same
|
|
1834
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1835
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1836
|
+
#
|
|
1837
|
+
# The request ID must be
|
|
1838
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1839
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1375
1840
|
# @param router [::String]
|
|
1376
1841
|
# Name of the Router resource to patch.
|
|
1377
1842
|
# @param router_resource [::Google::Cloud::Compute::V1::Router, ::Hash]
|
|
@@ -1467,7 +1932,19 @@ module Google
|
|
|
1467
1932
|
# @param region [::String]
|
|
1468
1933
|
# Name of the region for this request.
|
|
1469
1934
|
# @param request_id [::String]
|
|
1470
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1935
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1936
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1937
|
+
# request if it has already been completed.
|
|
1938
|
+
#
|
|
1939
|
+
# For example, consider a situation where you make an initial request and
|
|
1940
|
+
# the request times out. If you make the request again with the same
|
|
1941
|
+
# request ID, the server can check if original operation with the same
|
|
1942
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1943
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1944
|
+
#
|
|
1945
|
+
# The request ID must be
|
|
1946
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1947
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1471
1948
|
# @param route_policy_resource [::Google::Cloud::Compute::V1::RoutePolicy, ::Hash]
|
|
1472
1949
|
# The body resource for this request
|
|
1473
1950
|
# @param router [::String]
|
|
@@ -1541,7 +2018,8 @@ module Google
|
|
|
1541
2018
|
end
|
|
1542
2019
|
|
|
1543
2020
|
##
|
|
1544
|
-
# Preview fields auto-generated during router create
|
|
2021
|
+
# Preview fields auto-generated during router create andupdate operations.
|
|
2022
|
+
# Calling this method does NOT create or update the router.
|
|
1545
2023
|
#
|
|
1546
2024
|
# @overload preview(request, options = nil)
|
|
1547
2025
|
# Pass arguments to `preview` via a request object, either of type
|
|
@@ -1625,7 +2103,10 @@ module Google
|
|
|
1625
2103
|
end
|
|
1626
2104
|
|
|
1627
2105
|
##
|
|
1628
|
-
# Updates the specified Router resource with the data included in the
|
|
2106
|
+
# Updates the specified Router resource with the data included in the
|
|
2107
|
+
# request. This method conforms toPUT semantics, which requests that the state of the
|
|
2108
|
+
# target resource be created or replaced with the state defined by the
|
|
2109
|
+
# representation enclosed in the request message payload.
|
|
1629
2110
|
#
|
|
1630
2111
|
# @overload update(request, options = nil)
|
|
1631
2112
|
# Pass arguments to `update` via a request object, either of type
|
|
@@ -1647,7 +2128,19 @@ module Google
|
|
|
1647
2128
|
# @param region [::String]
|
|
1648
2129
|
# Name of the region for this request.
|
|
1649
2130
|
# @param request_id [::String]
|
|
1650
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2131
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2132
|
+
# that if you must retry your request, the server will know to ignore the
|
|
2133
|
+
# request if it has already been completed.
|
|
2134
|
+
#
|
|
2135
|
+
# For example, consider a situation where you make an initial request and
|
|
2136
|
+
# the request times out. If you make the request again with the same
|
|
2137
|
+
# request ID, the server can check if original operation with the same
|
|
2138
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
2139
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
2140
|
+
#
|
|
2141
|
+
# The request ID must be
|
|
2142
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
2143
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1651
2144
|
# @param router [::String]
|
|
1652
2145
|
# Name of the Router resource to update.
|
|
1653
2146
|
# @param router_resource [::Google::Cloud::Compute::V1::Router, ::Hash]
|
|
@@ -1743,7 +2236,19 @@ module Google
|
|
|
1743
2236
|
# @param region [::String]
|
|
1744
2237
|
# Name of the region for this request.
|
|
1745
2238
|
# @param request_id [::String]
|
|
1746
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2239
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
2240
|
+
# that if you must retry your request, the server will know to ignore the
|
|
2241
|
+
# request if it has already been completed.
|
|
2242
|
+
#
|
|
2243
|
+
# For example, consider a situation where you make an initial request and
|
|
2244
|
+
# the request times out. If you make the request again with the same
|
|
2245
|
+
# request ID, the server can check if original operation with the same
|
|
2246
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
2247
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
2248
|
+
#
|
|
2249
|
+
# The request ID must be
|
|
2250
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
2251
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1747
2252
|
# @param route_policy_resource [::Google::Cloud::Compute::V1::RoutePolicy, ::Hash]
|
|
1748
2253
|
# The body resource for this request
|
|
1749
2254
|
# @param router [::String]
|