google-cloud-compute-v1 3.4.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +237 -20
- data/lib/google/cloud/compute/v1/advice/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/advice/rest/client.rb +431 -0
- data/lib/google/cloud/compute/v1/advice/rest/service_stub.rb +144 -0
- data/lib/google/cloud/compute/v1/advice/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/advice.rb +47 -0
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +334 -21
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +198 -23
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +499 -40
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +62 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +264 -25
- data/lib/google/cloud/compute/v1/cross_site_networks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest/service_stub.rb +391 -0
- data/lib/google/cloud/compute/v1/cross_site_networks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/cross_site_networks.rb +47 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +390 -42
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +118 -11
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +240 -25
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +258 -23
- data/lib/google/cloud/compute/v1/future_reservations/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/client.rb +1287 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest/service_stub.rb +520 -0
- data/lib/google/cloud/compute/v1/future_reservations/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/future_reservations.rb +47 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +151 -15
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +246 -21
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +203 -18
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +91 -9
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +333 -21
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -1
- data/lib/google/cloud/compute/v1/images/rest/client.rb +161 -18
- data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +159 -24
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +920 -95
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +380 -40
- data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +939 -104
- data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +235 -21
- data/lib/google/cloud/compute/v1/interconnect_attachment_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +242 -21
- data/lib/google/cloud/compute/v1/interconnect_groups/rest/client.rb +139 -14
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +87 -7
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +145 -14
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +9 -2
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +161 -16
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +124 -13
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +232 -20
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +138 -12
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +361 -37
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +354 -33
- data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +281 -23
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +381 -32
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +213 -19
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/organization_security_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/client.rb +2259 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest/service_stub.rb +1054 -0
- data/lib/google/cloud/compute/v1/organization_security_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/organization_security_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +226 -19
- data/lib/google/cloud/compute/v1/preview_features/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/client.rb +739 -0
- data/lib/google/cloud/compute/v1/preview_features/rest/service_stub.rb +267 -0
- data/lib/google/cloud/compute/v1/preview_features/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/preview_features.rb +47 -0
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +346 -30
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +154 -12
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +255 -22
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +260 -26
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +212 -18
- data/lib/google/cloud/compute/v1/region_composite_health_checks/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks.rb +47 -0
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +269 -29
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_aggregation_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +427 -17
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +238 -13
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_health_sources/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +1268 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +521 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_health_sources.rb +47 -0
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +750 -64
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +187 -14
- data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +115 -10
- data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +15 -2
- data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +139 -13
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +264 -28
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +213 -20
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +399 -11
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +107 -10
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +149 -14
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +116 -10
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +220 -20
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +126 -10
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +158 -14
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +113 -9
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +104 -14
- data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +85 -6
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +120 -7
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/client.rb +396 -11
- data/lib/google/cloud/compute/v1/reservation_blocks/rest/service_stub.rb +194 -0
- data/lib/google/cloud/compute/v1/reservation_slots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/client.rb +863 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest/service_stub.rb +338 -0
- data/lib/google/cloud/compute/v1/reservation_slots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/reservation_slots.rb +47 -0
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/client.rb +642 -12
- data/lib/google/cloud/compute/v1/reservation_sub_blocks/rest/service_stub.rb +327 -3
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +257 -24
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/rest.rb +10 -0
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +555 -50
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +202 -8
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +316 -26
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +231 -21
- data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +13 -1
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +130 -13
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +210 -17
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +315 -27
- data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +181 -14
- data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +321 -28
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +378 -34
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +128 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +240 -20
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +306 -30
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +227 -20
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +294 -26
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +281 -19
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +329 -20
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +354 -24
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +224 -19
- data/lib/google/cloud/compute/v1/wire_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/client.rb +980 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/wire_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/wire_groups.rb +47 -0
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +106 -10
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +10 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +43929 -5522
- metadata +52 -2
|
@@ -229,7 +229,10 @@ module Google
|
|
|
229
229
|
# Service calls
|
|
230
230
|
|
|
231
231
|
##
|
|
232
|
-
# Retrieves an aggregated list of subnetworks.
|
|
232
|
+
# Retrieves an aggregated list of subnetworks.
|
|
233
|
+
#
|
|
234
|
+
# To prevent failure, Google recommends that you set the
|
|
235
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
233
236
|
#
|
|
234
237
|
# @overload aggregated_list(request, options = nil)
|
|
235
238
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -241,27 +244,119 @@ module Google
|
|
|
241
244
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
242
245
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
243
246
|
#
|
|
244
|
-
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, return_partial_success: nil, service_project_number: nil)
|
|
247
|
+
# @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, return_partial_success: nil, service_project_number: nil, views: nil)
|
|
245
248
|
# Pass arguments to `aggregated_list` via keyword arguments. Note that at
|
|
246
249
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
247
250
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
248
251
|
#
|
|
249
252
|
# @param filter [::String]
|
|
250
|
-
# A filter expression that filters resources listed in the response. Most
|
|
253
|
+
# A filter expression that filters resources listed in the response. Most
|
|
254
|
+
# Compute resources support two types of filter expressions:
|
|
255
|
+
# expressions that support regular expressions and expressions that follow
|
|
256
|
+
# API improvement proposal AIP-160.
|
|
257
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
258
|
+
#
|
|
259
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
260
|
+
# operator, and the value that you want to use for filtering. The value
|
|
261
|
+
# must be a string, a number, or a boolean. The operator
|
|
262
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
263
|
+
#
|
|
264
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
265
|
+
# exclude instances named `example-instance` by specifying
|
|
266
|
+
# `name != example-instance`.
|
|
267
|
+
#
|
|
268
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
269
|
+
# For example, to find all objects with `owner` label use:
|
|
270
|
+
# ```
|
|
271
|
+
# labels.owner:*
|
|
272
|
+
# ```
|
|
273
|
+
#
|
|
274
|
+
# You can also filter nested fields. For example, you could specify
|
|
275
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
276
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
277
|
+
# on nested fields to filter based onresource labels.
|
|
278
|
+
#
|
|
279
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
280
|
+
# parentheses. For example:
|
|
281
|
+
# ```
|
|
282
|
+
# (scheduling.automaticRestart = true)
|
|
283
|
+
# (cpuPlatform = "Intel Skylake")
|
|
284
|
+
# ```
|
|
285
|
+
# By default, each expression is an `AND` expression. However, you
|
|
286
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
287
|
+
# For example:
|
|
288
|
+
# ```
|
|
289
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
290
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
291
|
+
# (scheduling.automaticRestart = true)
|
|
292
|
+
# ```
|
|
293
|
+
#
|
|
294
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
295
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
296
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
297
|
+
#
|
|
298
|
+
# `fieldname eq unquoted literal`
|
|
299
|
+
# `fieldname eq 'single quoted literal'`
|
|
300
|
+
# `fieldname eq "double quoted literal"`
|
|
301
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
302
|
+
#
|
|
303
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
304
|
+
# The literal value must match the entire field.
|
|
305
|
+
#
|
|
306
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
307
|
+
# you would use `name ne .*instance`.
|
|
308
|
+
#
|
|
309
|
+
# You cannot combine constraints on multiple fields using regular
|
|
310
|
+
# expressions.
|
|
251
311
|
# @param include_all_scopes [::Boolean]
|
|
252
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
312
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
313
|
+
# global) should be included in the response. For new resource types added
|
|
314
|
+
# after this field, the flag has no effect as new resource types will always
|
|
315
|
+
# include every visible scope for each scope type in response. For resource
|
|
316
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
317
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
318
|
+
# will be included.
|
|
253
319
|
# @param max_results [::Integer]
|
|
254
|
-
# The maximum number of results per page that should be returned.
|
|
320
|
+
# The maximum number of results per page that should be returned.
|
|
321
|
+
# If the number of available results is larger than `maxResults`,
|
|
322
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
323
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
324
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
255
325
|
# @param order_by [::String]
|
|
256
|
-
# Sorts list results by a certain order. By default, results
|
|
326
|
+
# Sorts list results by a certain order. By default, results
|
|
327
|
+
# are returned in alphanumerical order based on the resource name.
|
|
328
|
+
#
|
|
329
|
+
# You can also sort results in descending order based on the creation
|
|
330
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
331
|
+
# results based on the `creationTimestamp` field in
|
|
332
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
333
|
+
# resources like operations so that the newest operation is returned first.
|
|
334
|
+
#
|
|
335
|
+
# Currently, only sorting by `name` or
|
|
336
|
+
# `creationTimestamp desc` is supported.
|
|
257
337
|
# @param page_token [::String]
|
|
258
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
338
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
339
|
+
# `nextPageToken` returned by a previous list request to get
|
|
340
|
+
# the next page of results.
|
|
259
341
|
# @param project [::String]
|
|
260
342
|
# Project ID for this request.
|
|
261
343
|
# @param return_partial_success [::Boolean]
|
|
262
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
344
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
345
|
+
# of failure. The default value is false.
|
|
346
|
+
#
|
|
347
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
348
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
349
|
+
# with an error code.
|
|
263
350
|
# @param service_project_number [::Integer]
|
|
264
|
-
# The Shared VPC service project id or service project number for which
|
|
351
|
+
# The Shared VPC service project id or service project number for which
|
|
352
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
353
|
+
# @param views [::String]
|
|
354
|
+
# Defines the extra views returned back in the subnetwork resource.
|
|
355
|
+
# Supported values:
|
|
356
|
+
#
|
|
357
|
+
# - WITH_UTILIZATION: Utilization data is included in the
|
|
358
|
+
# response.
|
|
359
|
+
# Check the Views enum for the list of possible values.
|
|
265
360
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
266
361
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::SubnetworksScopedList>]
|
|
267
362
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -345,7 +440,19 @@ module Google
|
|
|
345
440
|
# @param region [::String]
|
|
346
441
|
# Name of the region scoping this request.
|
|
347
442
|
# @param request_id [::String]
|
|
348
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
443
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
444
|
+
# that if you must retry your request, the server will know to ignore the
|
|
445
|
+
# request if it has already been completed.
|
|
446
|
+
#
|
|
447
|
+
# For example, consider a situation where you make an initial request and
|
|
448
|
+
# the request times out. If you make the request again with the same
|
|
449
|
+
# request ID, the server can check if original operation with the same
|
|
450
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
451
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
452
|
+
#
|
|
453
|
+
# The request ID must be
|
|
454
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
455
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
349
456
|
# @param subnetwork [::String]
|
|
350
457
|
# Name of the Subnetwork resource to delete.
|
|
351
458
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -439,7 +546,19 @@ module Google
|
|
|
439
546
|
# @param region [::String]
|
|
440
547
|
# Name of the region scoping this request.
|
|
441
548
|
# @param request_id [::String]
|
|
442
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
549
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
550
|
+
# that if you must retry your request, the server will know to ignore the
|
|
551
|
+
# request if it has already been completed.
|
|
552
|
+
#
|
|
553
|
+
# For example, consider a situation where you make an initial request and
|
|
554
|
+
# the request times out. If you make the request again with the same
|
|
555
|
+
# request ID, the server can check if original operation with the same
|
|
556
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
557
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
558
|
+
#
|
|
559
|
+
# The request ID must be
|
|
560
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
561
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
443
562
|
# @param subnetwork [::String]
|
|
444
563
|
# Name of the Subnetwork resource to update.
|
|
445
564
|
# @param subnetworks_expand_ip_cidr_range_request_resource [::Google::Cloud::Compute::V1::SubnetworksExpandIpCidrRangeRequest, ::Hash]
|
|
@@ -525,7 +644,7 @@ module Google
|
|
|
525
644
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
526
645
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
527
646
|
#
|
|
528
|
-
# @overload get(project: nil, region: nil, subnetwork: nil)
|
|
647
|
+
# @overload get(project: nil, region: nil, subnetwork: nil, views: nil)
|
|
529
648
|
# Pass arguments to `get` via keyword arguments. Note that at
|
|
530
649
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
531
650
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -536,6 +655,13 @@ module Google
|
|
|
536
655
|
# Name of the region scoping this request.
|
|
537
656
|
# @param subnetwork [::String]
|
|
538
657
|
# Name of the Subnetwork resource to return.
|
|
658
|
+
# @param views [::String]
|
|
659
|
+
# Defines the extra views returned back in the subnetwork resource.
|
|
660
|
+
# Supported values:
|
|
661
|
+
#
|
|
662
|
+
# - WITH_UTILIZATION: Utilization data is included in the
|
|
663
|
+
# response.
|
|
664
|
+
# Check the Views enum for the list of possible values.
|
|
539
665
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
540
666
|
# @yieldparam result [::Google::Cloud::Compute::V1::Subnetwork]
|
|
541
667
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -595,7 +721,8 @@ module Google
|
|
|
595
721
|
end
|
|
596
722
|
|
|
597
723
|
##
|
|
598
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
724
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
725
|
+
# policy or resource exists.
|
|
599
726
|
#
|
|
600
727
|
# @overload get_iam_policy(request, options = nil)
|
|
601
728
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -679,7 +806,8 @@ module Google
|
|
|
679
806
|
end
|
|
680
807
|
|
|
681
808
|
##
|
|
682
|
-
# Creates a subnetwork in the specified project using the data
|
|
809
|
+
# Creates a subnetwork in the specified project using the data
|
|
810
|
+
# included in the request.
|
|
683
811
|
#
|
|
684
812
|
# @overload insert(request, options = nil)
|
|
685
813
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -701,7 +829,19 @@ module Google
|
|
|
701
829
|
# @param region [::String]
|
|
702
830
|
# Name of the region scoping this request.
|
|
703
831
|
# @param request_id [::String]
|
|
704
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
832
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
833
|
+
# that if you must retry your request, the server will know to ignore the
|
|
834
|
+
# request if it has already been completed.
|
|
835
|
+
#
|
|
836
|
+
# For example, consider a situation where you make an initial request and
|
|
837
|
+
# the request times out. If you make the request again with the same
|
|
838
|
+
# request ID, the server can check if original operation with the same
|
|
839
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
840
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
841
|
+
#
|
|
842
|
+
# The request ID must be
|
|
843
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
844
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
705
845
|
# @param subnetwork_resource [::Google::Cloud::Compute::V1::Subnetwork, ::Hash]
|
|
706
846
|
# The body resource for this request
|
|
707
847
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -773,7 +913,8 @@ module Google
|
|
|
773
913
|
end
|
|
774
914
|
|
|
775
915
|
##
|
|
776
|
-
# Retrieves a list of subnetworks available to the specified
|
|
916
|
+
# Retrieves a list of subnetworks available to the specified
|
|
917
|
+
# project.
|
|
777
918
|
#
|
|
778
919
|
# @overload list(request, options = nil)
|
|
779
920
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -785,25 +926,110 @@ module Google
|
|
|
785
926
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
786
927
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
787
928
|
#
|
|
788
|
-
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil)
|
|
929
|
+
# @overload list(filter: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, region: nil, return_partial_success: nil, views: nil)
|
|
789
930
|
# Pass arguments to `list` via keyword arguments. Note that at
|
|
790
931
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
791
932
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
792
933
|
#
|
|
793
934
|
# @param filter [::String]
|
|
794
|
-
# A filter expression that filters resources listed in the response. Most
|
|
935
|
+
# A filter expression that filters resources listed in the response. Most
|
|
936
|
+
# Compute resources support two types of filter expressions:
|
|
937
|
+
# expressions that support regular expressions and expressions that follow
|
|
938
|
+
# API improvement proposal AIP-160.
|
|
939
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
940
|
+
#
|
|
941
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
942
|
+
# operator, and the value that you want to use for filtering. The value
|
|
943
|
+
# must be a string, a number, or a boolean. The operator
|
|
944
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
945
|
+
#
|
|
946
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
947
|
+
# exclude instances named `example-instance` by specifying
|
|
948
|
+
# `name != example-instance`.
|
|
949
|
+
#
|
|
950
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
951
|
+
# For example, to find all objects with `owner` label use:
|
|
952
|
+
# ```
|
|
953
|
+
# labels.owner:*
|
|
954
|
+
# ```
|
|
955
|
+
#
|
|
956
|
+
# You can also filter nested fields. For example, you could specify
|
|
957
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
958
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
959
|
+
# on nested fields to filter based onresource labels.
|
|
960
|
+
#
|
|
961
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
962
|
+
# parentheses. For example:
|
|
963
|
+
# ```
|
|
964
|
+
# (scheduling.automaticRestart = true)
|
|
965
|
+
# (cpuPlatform = "Intel Skylake")
|
|
966
|
+
# ```
|
|
967
|
+
# By default, each expression is an `AND` expression. However, you
|
|
968
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
969
|
+
# For example:
|
|
970
|
+
# ```
|
|
971
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
972
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
973
|
+
# (scheduling.automaticRestart = true)
|
|
974
|
+
# ```
|
|
975
|
+
#
|
|
976
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
977
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
978
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
979
|
+
#
|
|
980
|
+
# `fieldname eq unquoted literal`
|
|
981
|
+
# `fieldname eq 'single quoted literal'`
|
|
982
|
+
# `fieldname eq "double quoted literal"`
|
|
983
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
984
|
+
#
|
|
985
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
986
|
+
# The literal value must match the entire field.
|
|
987
|
+
#
|
|
988
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
989
|
+
# you would use `name ne .*instance`.
|
|
990
|
+
#
|
|
991
|
+
# You cannot combine constraints on multiple fields using regular
|
|
992
|
+
# expressions.
|
|
795
993
|
# @param max_results [::Integer]
|
|
796
|
-
# The maximum number of results per page that should be returned.
|
|
994
|
+
# The maximum number of results per page that should be returned.
|
|
995
|
+
# If the number of available results is larger than `maxResults`,
|
|
996
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
997
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
998
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
797
999
|
# @param order_by [::String]
|
|
798
|
-
# Sorts list results by a certain order. By default, results
|
|
1000
|
+
# Sorts list results by a certain order. By default, results
|
|
1001
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1002
|
+
#
|
|
1003
|
+
# You can also sort results in descending order based on the creation
|
|
1004
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1005
|
+
# results based on the `creationTimestamp` field in
|
|
1006
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1007
|
+
# resources like operations so that the newest operation is returned first.
|
|
1008
|
+
#
|
|
1009
|
+
# Currently, only sorting by `name` or
|
|
1010
|
+
# `creationTimestamp desc` is supported.
|
|
799
1011
|
# @param page_token [::String]
|
|
800
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1012
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1013
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1014
|
+
# the next page of results.
|
|
801
1015
|
# @param project [::String]
|
|
802
1016
|
# Project ID for this request.
|
|
803
1017
|
# @param region [::String]
|
|
804
1018
|
# Name of the region scoping this request.
|
|
805
1019
|
# @param return_partial_success [::Boolean]
|
|
806
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1020
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1021
|
+
# of failure. The default value is false.
|
|
1022
|
+
#
|
|
1023
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1024
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1025
|
+
# with an error code.
|
|
1026
|
+
# @param views [::String]
|
|
1027
|
+
# Defines the extra views returned back in the subnetwork resource.
|
|
1028
|
+
# Supported values:
|
|
1029
|
+
#
|
|
1030
|
+
# - WITH_UTILIZATION: Utilization data is included in the
|
|
1031
|
+
# response.
|
|
1032
|
+
# Check the Views enum for the list of possible values.
|
|
807
1033
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
808
1034
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Subnetwork>]
|
|
809
1035
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -883,19 +1109,99 @@ module Google
|
|
|
883
1109
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
884
1110
|
#
|
|
885
1111
|
# @param filter [::String]
|
|
886
|
-
# A filter expression that filters resources listed in the response. Most
|
|
1112
|
+
# A filter expression that filters resources listed in the response. Most
|
|
1113
|
+
# Compute resources support two types of filter expressions:
|
|
1114
|
+
# expressions that support regular expressions and expressions that follow
|
|
1115
|
+
# API improvement proposal AIP-160.
|
|
1116
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
1117
|
+
#
|
|
1118
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
1119
|
+
# operator, and the value that you want to use for filtering. The value
|
|
1120
|
+
# must be a string, a number, or a boolean. The operator
|
|
1121
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
1122
|
+
#
|
|
1123
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
1124
|
+
# exclude instances named `example-instance` by specifying
|
|
1125
|
+
# `name != example-instance`.
|
|
1126
|
+
#
|
|
1127
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1128
|
+
# For example, to find all objects with `owner` label use:
|
|
1129
|
+
# ```
|
|
1130
|
+
# labels.owner:*
|
|
1131
|
+
# ```
|
|
1132
|
+
#
|
|
1133
|
+
# You can also filter nested fields. For example, you could specify
|
|
1134
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1135
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1136
|
+
# on nested fields to filter based onresource labels.
|
|
1137
|
+
#
|
|
1138
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1139
|
+
# parentheses. For example:
|
|
1140
|
+
# ```
|
|
1141
|
+
# (scheduling.automaticRestart = true)
|
|
1142
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1143
|
+
# ```
|
|
1144
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1145
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1146
|
+
# For example:
|
|
1147
|
+
# ```
|
|
1148
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1149
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1150
|
+
# (scheduling.automaticRestart = true)
|
|
1151
|
+
# ```
|
|
1152
|
+
#
|
|
1153
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1154
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1155
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1156
|
+
#
|
|
1157
|
+
# `fieldname eq unquoted literal`
|
|
1158
|
+
# `fieldname eq 'single quoted literal'`
|
|
1159
|
+
# `fieldname eq "double quoted literal"`
|
|
1160
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1161
|
+
#
|
|
1162
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1163
|
+
# The literal value must match the entire field.
|
|
1164
|
+
#
|
|
1165
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1166
|
+
# you would use `name ne .*instance`.
|
|
1167
|
+
#
|
|
1168
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1169
|
+
# expressions.
|
|
887
1170
|
# @param max_results [::Integer]
|
|
888
|
-
# The maximum number of results per page that should be returned.
|
|
1171
|
+
# The maximum number of results per page that should be returned.
|
|
1172
|
+
# If the number of available results is larger than `maxResults`,
|
|
1173
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1174
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1175
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
889
1176
|
# @param order_by [::String]
|
|
890
|
-
# Sorts list results by a certain order. By default, results
|
|
1177
|
+
# Sorts list results by a certain order. By default, results
|
|
1178
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1179
|
+
#
|
|
1180
|
+
# You can also sort results in descending order based on the creation
|
|
1181
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1182
|
+
# results based on the `creationTimestamp` field in
|
|
1183
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1184
|
+
# resources like operations so that the newest operation is returned first.
|
|
1185
|
+
#
|
|
1186
|
+
# Currently, only sorting by `name` or
|
|
1187
|
+
# `creationTimestamp desc` is supported.
|
|
891
1188
|
# @param page_token [::String]
|
|
892
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1189
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1190
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1191
|
+
# the next page of results.
|
|
893
1192
|
# @param project [::String]
|
|
894
1193
|
# Project ID for this request.
|
|
895
1194
|
# @param return_partial_success [::Boolean]
|
|
896
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1195
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1196
|
+
# of failure. The default value is false.
|
|
1197
|
+
#
|
|
1198
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1199
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1200
|
+
# with an error code.
|
|
897
1201
|
# @param service_project [::String]
|
|
898
|
-
# The project id or project number in which the subnetwork is intended to be
|
|
1202
|
+
# The project id or project number in which the subnetwork is intended to be
|
|
1203
|
+
# used. Only applied for Shared VPC. See [Shared VPC
|
|
1204
|
+
# documentation](https://cloud.google.com/vpc/docs/shared-vpc/)
|
|
899
1205
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
900
1206
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::UsableSubnetwork>]
|
|
901
1207
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -957,7 +1263,11 @@ module Google
|
|
|
957
1263
|
end
|
|
958
1264
|
|
|
959
1265
|
##
|
|
960
|
-
# Patches the specified subnetwork with the data included in the request.
|
|
1266
|
+
# Patches the specified subnetwork with the data included in the request.
|
|
1267
|
+
# Only certain fields can be updated with a patch request
|
|
1268
|
+
# as indicated in the field descriptions.
|
|
1269
|
+
# You must specify the current fingerprint of the
|
|
1270
|
+
# subnetwork resource being patched.
|
|
961
1271
|
#
|
|
962
1272
|
# @overload patch(request, options = nil)
|
|
963
1273
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -975,13 +1285,33 @@ module Google
|
|
|
975
1285
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
976
1286
|
#
|
|
977
1287
|
# @param drain_timeout_seconds [::Integer]
|
|
978
|
-
# The drain timeout specifies the upper bound in seconds on the amount of
|
|
1288
|
+
# The drain timeout specifies the upper bound in seconds on the amount of
|
|
1289
|
+
# time allowed to drain connections from the current ACTIVE subnetwork
|
|
1290
|
+
# to the current BACKUP subnetwork. The drain timeout is only applicable
|
|
1291
|
+
# when the following conditions are true:
|
|
1292
|
+
# - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER
|
|
1293
|
+
# - the subnetwork being patched has role = BACKUP
|
|
1294
|
+
# - the patch request is setting the role to ACTIVE. Note that after this
|
|
1295
|
+
# patch operation the roles of the ACTIVE and BACKUP subnetworks will be
|
|
1296
|
+
# swapped.
|
|
979
1297
|
# @param project [::String]
|
|
980
1298
|
# Project ID for this request.
|
|
981
1299
|
# @param region [::String]
|
|
982
1300
|
# Name of the region scoping this request.
|
|
983
1301
|
# @param request_id [::String]
|
|
984
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1302
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1303
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1304
|
+
# request if it has already been completed.
|
|
1305
|
+
#
|
|
1306
|
+
# For example, consider a situation where you make an initial request and
|
|
1307
|
+
# the request times out. If you make the request again with the same
|
|
1308
|
+
# request ID, the server can check if original operation with the same
|
|
1309
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1310
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1311
|
+
#
|
|
1312
|
+
# The request ID must be
|
|
1313
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1314
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
985
1315
|
# @param subnetwork [::String]
|
|
986
1316
|
# Name of the Subnetwork resource to patch.
|
|
987
1317
|
# @param subnetwork_resource [::Google::Cloud::Compute::V1::Subnetwork, ::Hash]
|
|
@@ -1055,7 +1385,8 @@ module Google
|
|
|
1055
1385
|
end
|
|
1056
1386
|
|
|
1057
1387
|
##
|
|
1058
|
-
# Sets the access control policy on the specified resource.
|
|
1388
|
+
# Sets the access control policy on the specified resource.
|
|
1389
|
+
# Replaces any existing policy.
|
|
1059
1390
|
#
|
|
1060
1391
|
# @overload set_iam_policy(request, options = nil)
|
|
1061
1392
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -1139,7 +1470,8 @@ module Google
|
|
|
1139
1470
|
end
|
|
1140
1471
|
|
|
1141
1472
|
##
|
|
1142
|
-
# Set whether VMs in this subnet can access Google services without assigning
|
|
1473
|
+
# Set whether VMs in this subnet can access Google services without assigning
|
|
1474
|
+
# external IP addresses through Private Google Access.
|
|
1143
1475
|
#
|
|
1144
1476
|
# @overload set_private_ip_google_access(request, options = nil)
|
|
1145
1477
|
# Pass arguments to `set_private_ip_google_access` via a request object, either of type
|
|
@@ -1161,7 +1493,19 @@ module Google
|
|
|
1161
1493
|
# @param region [::String]
|
|
1162
1494
|
# Name of the region scoping this request.
|
|
1163
1495
|
# @param request_id [::String]
|
|
1164
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1496
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1497
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1498
|
+
# request if it has already been completed.
|
|
1499
|
+
#
|
|
1500
|
+
# For example, consider a situation where you make an initial request and
|
|
1501
|
+
# the request times out. If you make the request again with the same
|
|
1502
|
+
# request ID, the server can check if original operation with the same
|
|
1503
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1504
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1505
|
+
#
|
|
1506
|
+
# The request ID must be
|
|
1507
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1508
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1165
1509
|
# @param subnetwork [::String]
|
|
1166
1510
|
# Name of the Subnetwork resource.
|
|
1167
1511
|
# @param subnetworks_set_private_ip_google_access_request_resource [::Google::Cloud::Compute::V1::SubnetworksSetPrivateIpGoogleAccessRequest, ::Hash]
|