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
|
@@ -211,7 +211,10 @@ module Google
|
|
|
211
211
|
# Service calls
|
|
212
212
|
|
|
213
213
|
##
|
|
214
|
-
# Retrieves an aggregated list of target VPN gateways.
|
|
214
|
+
# Retrieves an aggregated list of target VPN gateways.
|
|
215
|
+
#
|
|
216
|
+
# To prevent failure, Google recommends that you set the
|
|
217
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
215
218
|
#
|
|
216
219
|
# @overload aggregated_list(request, options = nil)
|
|
217
220
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -229,21 +232,106 @@ module Google
|
|
|
229
232
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
230
233
|
#
|
|
231
234
|
# @param filter [::String]
|
|
232
|
-
# A filter expression that filters resources listed in the response. Most
|
|
235
|
+
# A filter expression that filters resources listed in the response. Most
|
|
236
|
+
# Compute resources support two types of filter expressions:
|
|
237
|
+
# expressions that support regular expressions and expressions that follow
|
|
238
|
+
# API improvement proposal AIP-160.
|
|
239
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
240
|
+
#
|
|
241
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
242
|
+
# operator, and the value that you want to use for filtering. The value
|
|
243
|
+
# must be a string, a number, or a boolean. The operator
|
|
244
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
245
|
+
#
|
|
246
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
247
|
+
# exclude instances named `example-instance` by specifying
|
|
248
|
+
# `name != example-instance`.
|
|
249
|
+
#
|
|
250
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
251
|
+
# For example, to find all objects with `owner` label use:
|
|
252
|
+
# ```
|
|
253
|
+
# labels.owner:*
|
|
254
|
+
# ```
|
|
255
|
+
#
|
|
256
|
+
# You can also filter nested fields. For example, you could specify
|
|
257
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
258
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
259
|
+
# on nested fields to filter based onresource labels.
|
|
260
|
+
#
|
|
261
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
262
|
+
# parentheses. For example:
|
|
263
|
+
# ```
|
|
264
|
+
# (scheduling.automaticRestart = true)
|
|
265
|
+
# (cpuPlatform = "Intel Skylake")
|
|
266
|
+
# ```
|
|
267
|
+
# By default, each expression is an `AND` expression. However, you
|
|
268
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
269
|
+
# For example:
|
|
270
|
+
# ```
|
|
271
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
272
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
273
|
+
# (scheduling.automaticRestart = true)
|
|
274
|
+
# ```
|
|
275
|
+
#
|
|
276
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
277
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
278
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
279
|
+
#
|
|
280
|
+
# `fieldname eq unquoted literal`
|
|
281
|
+
# `fieldname eq 'single quoted literal'`
|
|
282
|
+
# `fieldname eq "double quoted literal"`
|
|
283
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
284
|
+
#
|
|
285
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
286
|
+
# The literal value must match the entire field.
|
|
287
|
+
#
|
|
288
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
289
|
+
# you would use `name ne .*instance`.
|
|
290
|
+
#
|
|
291
|
+
# You cannot combine constraints on multiple fields using regular
|
|
292
|
+
# expressions.
|
|
233
293
|
# @param include_all_scopes [::Boolean]
|
|
234
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
294
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
295
|
+
# global) should be included in the response. For new resource types added
|
|
296
|
+
# after this field, the flag has no effect as new resource types will always
|
|
297
|
+
# include every visible scope for each scope type in response. For resource
|
|
298
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
299
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
300
|
+
# will be included.
|
|
235
301
|
# @param max_results [::Integer]
|
|
236
|
-
# The maximum number of results per page that should be returned.
|
|
302
|
+
# The maximum number of results per page that should be returned.
|
|
303
|
+
# If the number of available results is larger than `maxResults`,
|
|
304
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
305
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
306
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
237
307
|
# @param order_by [::String]
|
|
238
|
-
# Sorts list results by a certain order. By default, results
|
|
308
|
+
# Sorts list results by a certain order. By default, results
|
|
309
|
+
# are returned in alphanumerical order based on the resource name.
|
|
310
|
+
#
|
|
311
|
+
# You can also sort results in descending order based on the creation
|
|
312
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
313
|
+
# results based on the `creationTimestamp` field in
|
|
314
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
315
|
+
# resources like operations so that the newest operation is returned first.
|
|
316
|
+
#
|
|
317
|
+
# Currently, only sorting by `name` or
|
|
318
|
+
# `creationTimestamp desc` is supported.
|
|
239
319
|
# @param page_token [::String]
|
|
240
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
320
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
321
|
+
# `nextPageToken` returned by a previous list request to get
|
|
322
|
+
# the next page of results.
|
|
241
323
|
# @param project [::String]
|
|
242
324
|
# Project ID for this request.
|
|
243
325
|
# @param return_partial_success [::Boolean]
|
|
244
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
326
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
327
|
+
# of failure. The default value is false.
|
|
328
|
+
#
|
|
329
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
330
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
331
|
+
# with an error code.
|
|
245
332
|
# @param service_project_number [::Integer]
|
|
246
|
-
# The Shared VPC service project id or service project number for which
|
|
333
|
+
# The Shared VPC service project id or service project number for which
|
|
334
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
247
335
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
248
336
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::TargetVpnGatewaysScopedList>]
|
|
249
337
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -327,7 +415,19 @@ module Google
|
|
|
327
415
|
# @param region [::String]
|
|
328
416
|
# Name of the region for this request.
|
|
329
417
|
# @param request_id [::String]
|
|
330
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
418
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
419
|
+
# that if you must retry your request, the server will know to ignore the
|
|
420
|
+
# request if it has already been completed.
|
|
421
|
+
#
|
|
422
|
+
# For example, consider a situation where you make an initial request and
|
|
423
|
+
# the request times out. If you make the request again with the same
|
|
424
|
+
# request ID, the server can check if original operation with the same
|
|
425
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
426
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
427
|
+
#
|
|
428
|
+
# The request ID must be
|
|
429
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
430
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
331
431
|
# @param target_vpn_gateway [::String]
|
|
332
432
|
# Name of the target VPN gateway to delete.
|
|
333
433
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -481,7 +581,8 @@ module Google
|
|
|
481
581
|
end
|
|
482
582
|
|
|
483
583
|
##
|
|
484
|
-
# Creates a target VPN gateway in the specified project and region using
|
|
584
|
+
# Creates a target VPN gateway in the specified project and region using
|
|
585
|
+
# the data included in the request.
|
|
485
586
|
#
|
|
486
587
|
# @overload insert(request, options = nil)
|
|
487
588
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -503,7 +604,19 @@ module Google
|
|
|
503
604
|
# @param region [::String]
|
|
504
605
|
# Name of the region for this request.
|
|
505
606
|
# @param request_id [::String]
|
|
506
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
607
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
608
|
+
# that if you must retry your request, the server will know to ignore the
|
|
609
|
+
# request if it has already been completed.
|
|
610
|
+
#
|
|
611
|
+
# For example, consider a situation where you make an initial request and
|
|
612
|
+
# the request times out. If you make the request again with the same
|
|
613
|
+
# request ID, the server can check if original operation with the same
|
|
614
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
615
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
616
|
+
#
|
|
617
|
+
# The request ID must be
|
|
618
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
619
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
507
620
|
# @param target_vpn_gateway_resource [::Google::Cloud::Compute::V1::TargetVpnGateway, ::Hash]
|
|
508
621
|
# The body resource for this request
|
|
509
622
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -575,7 +688,8 @@ module Google
|
|
|
575
688
|
end
|
|
576
689
|
|
|
577
690
|
##
|
|
578
|
-
# Retrieves a list of target VPN gateways available to the specified
|
|
691
|
+
# Retrieves a list of target VPN gateways available to the specified
|
|
692
|
+
# project and region.
|
|
579
693
|
#
|
|
580
694
|
# @overload list(request, options = nil)
|
|
581
695
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -593,19 +707,97 @@ module Google
|
|
|
593
707
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
594
708
|
#
|
|
595
709
|
# @param filter [::String]
|
|
596
|
-
# A filter expression that filters resources listed in the response. Most
|
|
710
|
+
# A filter expression that filters resources listed in the response. Most
|
|
711
|
+
# Compute resources support two types of filter expressions:
|
|
712
|
+
# expressions that support regular expressions and expressions that follow
|
|
713
|
+
# API improvement proposal AIP-160.
|
|
714
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
715
|
+
#
|
|
716
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
717
|
+
# operator, and the value that you want to use for filtering. The value
|
|
718
|
+
# must be a string, a number, or a boolean. The operator
|
|
719
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
720
|
+
#
|
|
721
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
722
|
+
# exclude instances named `example-instance` by specifying
|
|
723
|
+
# `name != example-instance`.
|
|
724
|
+
#
|
|
725
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
726
|
+
# For example, to find all objects with `owner` label use:
|
|
727
|
+
# ```
|
|
728
|
+
# labels.owner:*
|
|
729
|
+
# ```
|
|
730
|
+
#
|
|
731
|
+
# You can also filter nested fields. For example, you could specify
|
|
732
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
733
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
734
|
+
# on nested fields to filter based onresource labels.
|
|
735
|
+
#
|
|
736
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
737
|
+
# parentheses. For example:
|
|
738
|
+
# ```
|
|
739
|
+
# (scheduling.automaticRestart = true)
|
|
740
|
+
# (cpuPlatform = "Intel Skylake")
|
|
741
|
+
# ```
|
|
742
|
+
# By default, each expression is an `AND` expression. However, you
|
|
743
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
744
|
+
# For example:
|
|
745
|
+
# ```
|
|
746
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
747
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
748
|
+
# (scheduling.automaticRestart = true)
|
|
749
|
+
# ```
|
|
750
|
+
#
|
|
751
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
752
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
753
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
754
|
+
#
|
|
755
|
+
# `fieldname eq unquoted literal`
|
|
756
|
+
# `fieldname eq 'single quoted literal'`
|
|
757
|
+
# `fieldname eq "double quoted literal"`
|
|
758
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
759
|
+
#
|
|
760
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
761
|
+
# The literal value must match the entire field.
|
|
762
|
+
#
|
|
763
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
764
|
+
# you would use `name ne .*instance`.
|
|
765
|
+
#
|
|
766
|
+
# You cannot combine constraints on multiple fields using regular
|
|
767
|
+
# expressions.
|
|
597
768
|
# @param max_results [::Integer]
|
|
598
|
-
# The maximum number of results per page that should be returned.
|
|
769
|
+
# The maximum number of results per page that should be returned.
|
|
770
|
+
# If the number of available results is larger than `maxResults`,
|
|
771
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
772
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
773
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
599
774
|
# @param order_by [::String]
|
|
600
|
-
# Sorts list results by a certain order. By default, results
|
|
775
|
+
# Sorts list results by a certain order. By default, results
|
|
776
|
+
# are returned in alphanumerical order based on the resource name.
|
|
777
|
+
#
|
|
778
|
+
# You can also sort results in descending order based on the creation
|
|
779
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
780
|
+
# results based on the `creationTimestamp` field in
|
|
781
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
782
|
+
# resources like operations so that the newest operation is returned first.
|
|
783
|
+
#
|
|
784
|
+
# Currently, only sorting by `name` or
|
|
785
|
+
# `creationTimestamp desc` is supported.
|
|
601
786
|
# @param page_token [::String]
|
|
602
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
787
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
788
|
+
# `nextPageToken` returned by a previous list request to get
|
|
789
|
+
# the next page of results.
|
|
603
790
|
# @param project [::String]
|
|
604
791
|
# Project ID for this request.
|
|
605
792
|
# @param region [::String]
|
|
606
793
|
# Name of the region for this request.
|
|
607
794
|
# @param return_partial_success [::Boolean]
|
|
608
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
795
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
796
|
+
# of failure. The default value is false.
|
|
797
|
+
#
|
|
798
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
799
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
800
|
+
# with an error code.
|
|
609
801
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
610
802
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::TargetVpnGateway>]
|
|
611
803
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -667,7 +859,8 @@ module Google
|
|
|
667
859
|
end
|
|
668
860
|
|
|
669
861
|
##
|
|
670
|
-
# Sets the labels on a TargetVpnGateway. To learn more about labels, read
|
|
862
|
+
# Sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling
|
|
863
|
+
# Resources documentation.
|
|
671
864
|
#
|
|
672
865
|
# @overload set_labels(request, options = nil)
|
|
673
866
|
# Pass arguments to `set_labels` via a request object, either of type
|
|
@@ -691,7 +884,19 @@ module Google
|
|
|
691
884
|
# @param region_set_labels_request_resource [::Google::Cloud::Compute::V1::RegionSetLabelsRequest, ::Hash]
|
|
692
885
|
# The body resource for this request
|
|
693
886
|
# @param request_id [::String]
|
|
694
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
887
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
888
|
+
# that if you must retry your request, the server will know to ignore the
|
|
889
|
+
# request if it has already been completed.
|
|
890
|
+
#
|
|
891
|
+
# For example, consider a situation where you make an initial request and
|
|
892
|
+
# the request times out. If you make the request again with the same
|
|
893
|
+
# request ID, the server can check if original operation with the same
|
|
894
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
895
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
896
|
+
#
|
|
897
|
+
# The request ID must be
|
|
898
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
899
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
695
900
|
# @param resource [::String]
|
|
696
901
|
# Name or id of the resource for this request.
|
|
697
902
|
# @yield [result, operation] Access the result along with the TransportOperation object
|