google-cloud-compute-v1 3.4.0 → 3.6.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 +573 -23
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
- 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 +357 -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 +508 -42
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
- 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_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/client.rb +1145 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/instant_snapshot_groups.rb +47 -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_buckets/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/client.rb +1450 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest/service_stub.rb +649 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_backend_buckets.rb +47 -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 +1363 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +584 -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 +387 -29
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
- 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 +1363 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +584 -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_manager_resize_requests/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/client.rb +1002 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest/service_stub.rb +400 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instance_group_manager_resize_requests.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_snapshot_groups/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/client.rb +1146 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest/service_stub.rb +523 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_instant_snapshot_groups.rb +47 -0
- 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_snapshot_settings/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/client.rb +561 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest/service_stub.rb +206 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshot_settings.rb +47 -0
- data/lib/google/cloud/compute/v1/region_snapshots/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/client.rb +1388 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest/service_stub.rb +651 -0
- data/lib/google/cloud/compute/v1/region_snapshots/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/region_snapshots.rb +47 -0
- 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 +17 -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 +245 -13
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
- 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/zone_vm_extension_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/client.rb +975 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest/service_stub.rb +396 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/zone_vm_extension_policies.rb +47 -0
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +83 -5
- data/lib/google/cloud/compute/v1.rb +17 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/compute/v1/compute.rb +47064 -5503
- metadata +87 -2
|
@@ -224,7 +224,10 @@ module Google
|
|
|
224
224
|
# Service calls
|
|
225
225
|
|
|
226
226
|
##
|
|
227
|
-
# Retrieves an aggregated list of reservations.
|
|
227
|
+
# Retrieves an aggregated list of reservations.
|
|
228
|
+
#
|
|
229
|
+
# To prevent failure, it is recommended that you set the
|
|
230
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
228
231
|
#
|
|
229
232
|
# @overload aggregated_list(request, options = nil)
|
|
230
233
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -242,21 +245,106 @@ module Google
|
|
|
242
245
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
243
246
|
#
|
|
244
247
|
# @param filter [::String]
|
|
245
|
-
# A filter expression that filters resources listed in the response. Most
|
|
248
|
+
# A filter expression that filters resources listed in the response. Most
|
|
249
|
+
# Compute resources support two types of filter expressions:
|
|
250
|
+
# expressions that support regular expressions and expressions that follow
|
|
251
|
+
# API improvement proposal AIP-160.
|
|
252
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
253
|
+
#
|
|
254
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
255
|
+
# operator, and the value that you want to use for filtering. The value
|
|
256
|
+
# must be a string, a number, or a boolean. The operator
|
|
257
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
258
|
+
#
|
|
259
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
260
|
+
# exclude instances named `example-instance` by specifying
|
|
261
|
+
# `name != example-instance`.
|
|
262
|
+
#
|
|
263
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
264
|
+
# For example, to find all objects with `owner` label use:
|
|
265
|
+
# ```
|
|
266
|
+
# labels.owner:*
|
|
267
|
+
# ```
|
|
268
|
+
#
|
|
269
|
+
# You can also filter nested fields. For example, you could specify
|
|
270
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
271
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
272
|
+
# on nested fields to filter based onresource labels.
|
|
273
|
+
#
|
|
274
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
275
|
+
# parentheses. For example:
|
|
276
|
+
# ```
|
|
277
|
+
# (scheduling.automaticRestart = true)
|
|
278
|
+
# (cpuPlatform = "Intel Skylake")
|
|
279
|
+
# ```
|
|
280
|
+
# By default, each expression is an `AND` expression. However, you
|
|
281
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
282
|
+
# For example:
|
|
283
|
+
# ```
|
|
284
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
285
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
286
|
+
# (scheduling.automaticRestart = true)
|
|
287
|
+
# ```
|
|
288
|
+
#
|
|
289
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
290
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
291
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
292
|
+
#
|
|
293
|
+
# `fieldname eq unquoted literal`
|
|
294
|
+
# `fieldname eq 'single quoted literal'`
|
|
295
|
+
# `fieldname eq "double quoted literal"`
|
|
296
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
297
|
+
#
|
|
298
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
299
|
+
# The literal value must match the entire field.
|
|
300
|
+
#
|
|
301
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
302
|
+
# you would use `name ne .*instance`.
|
|
303
|
+
#
|
|
304
|
+
# You cannot combine constraints on multiple fields using regular
|
|
305
|
+
# expressions.
|
|
246
306
|
# @param include_all_scopes [::Boolean]
|
|
247
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
307
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
308
|
+
# global) should be included in the response. For new resource types added
|
|
309
|
+
# after this field, the flag has no effect as new resource types will always
|
|
310
|
+
# include every visible scope for each scope type in response. For resource
|
|
311
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
312
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
313
|
+
# will be included.
|
|
248
314
|
# @param max_results [::Integer]
|
|
249
|
-
# The maximum number of results per page that should be returned.
|
|
315
|
+
# The maximum number of results per page that should be returned.
|
|
316
|
+
# If the number of available results is larger than `maxResults`,
|
|
317
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
318
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
319
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
250
320
|
# @param order_by [::String]
|
|
251
|
-
# Sorts list results by a certain order. By default, results
|
|
321
|
+
# Sorts list results by a certain order. By default, results
|
|
322
|
+
# are returned in alphanumerical order based on the resource name.
|
|
323
|
+
#
|
|
324
|
+
# You can also sort results in descending order based on the creation
|
|
325
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
326
|
+
# results based on the `creationTimestamp` field in
|
|
327
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
328
|
+
# resources like operations so that the newest operation is returned first.
|
|
329
|
+
#
|
|
330
|
+
# Currently, only sorting by `name` or
|
|
331
|
+
# `creationTimestamp desc` is supported.
|
|
252
332
|
# @param page_token [::String]
|
|
253
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
333
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
334
|
+
# `nextPageToken` returned by a previous list request to get
|
|
335
|
+
# the next page of results.
|
|
254
336
|
# @param project [::String]
|
|
255
337
|
# Project ID for this request.
|
|
256
338
|
# @param return_partial_success [::Boolean]
|
|
257
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
339
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
340
|
+
# of failure. The default value is false.
|
|
341
|
+
#
|
|
342
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
343
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
344
|
+
# with an error code.
|
|
258
345
|
# @param service_project_number [::Integer]
|
|
259
|
-
# The Shared VPC service project id or service project number for which
|
|
346
|
+
# The Shared VPC service project id or service project number for which
|
|
347
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
260
348
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
261
349
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::ReservationsScopedList>]
|
|
262
350
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -338,7 +426,19 @@ module Google
|
|
|
338
426
|
# @param project [::String]
|
|
339
427
|
# Project ID for this request.
|
|
340
428
|
# @param request_id [::String]
|
|
341
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
429
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
430
|
+
# that if you must retry your request, the server will know to ignore the
|
|
431
|
+
# request if it has already been completed.
|
|
432
|
+
#
|
|
433
|
+
# For example, consider a situation where you make an initial request and
|
|
434
|
+
# the request times out. If you make the request again with the same
|
|
435
|
+
# request ID, the server can check if original operation with the same
|
|
436
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
437
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
438
|
+
#
|
|
439
|
+
# The request ID must be
|
|
440
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
441
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
342
442
|
# @param reservation [::String]
|
|
343
443
|
# Name of the reservation to delete.
|
|
344
444
|
# @param zone [::String]
|
|
@@ -494,7 +594,8 @@ module Google
|
|
|
494
594
|
end
|
|
495
595
|
|
|
496
596
|
##
|
|
497
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
597
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
598
|
+
# policy or resource exists.
|
|
498
599
|
#
|
|
499
600
|
# @overload get_iam_policy(request, options = nil)
|
|
500
601
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -578,7 +679,8 @@ module Google
|
|
|
578
679
|
end
|
|
579
680
|
|
|
580
681
|
##
|
|
581
|
-
# Creates a new reservation. For more information,
|
|
682
|
+
# Creates a new reservation. For more information, readReserving zonal
|
|
683
|
+
# resources.
|
|
582
684
|
#
|
|
583
685
|
# @overload insert(request, options = nil)
|
|
584
686
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -598,7 +700,19 @@ module Google
|
|
|
598
700
|
# @param project [::String]
|
|
599
701
|
# Project ID for this request.
|
|
600
702
|
# @param request_id [::String]
|
|
601
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
703
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
704
|
+
# that if you must retry your request, the server will know to ignore the
|
|
705
|
+
# request if it has already been completed.
|
|
706
|
+
#
|
|
707
|
+
# For example, consider a situation where you make an initial request and
|
|
708
|
+
# the request times out. If you make the request again with the same
|
|
709
|
+
# request ID, the server can check if original operation with the same
|
|
710
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
711
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
712
|
+
#
|
|
713
|
+
# The request ID must be
|
|
714
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
715
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
602
716
|
# @param reservation_resource [::Google::Cloud::Compute::V1::Reservation, ::Hash]
|
|
603
717
|
# The body resource for this request
|
|
604
718
|
# @param zone [::String]
|
|
@@ -672,7 +786,8 @@ module Google
|
|
|
672
786
|
end
|
|
673
787
|
|
|
674
788
|
##
|
|
675
|
-
# A list of all the reservations that have been configured for the
|
|
789
|
+
# A list of all the reservations that have been configured for the
|
|
790
|
+
# specified project in specified zone.
|
|
676
791
|
#
|
|
677
792
|
# @overload list(request, options = nil)
|
|
678
793
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -690,17 +805,95 @@ module Google
|
|
|
690
805
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
691
806
|
#
|
|
692
807
|
# @param filter [::String]
|
|
693
|
-
# A filter expression that filters resources listed in the response. Most
|
|
808
|
+
# A filter expression that filters resources listed in the response. Most
|
|
809
|
+
# Compute resources support two types of filter expressions:
|
|
810
|
+
# expressions that support regular expressions and expressions that follow
|
|
811
|
+
# API improvement proposal AIP-160.
|
|
812
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
813
|
+
#
|
|
814
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
815
|
+
# operator, and the value that you want to use for filtering. The value
|
|
816
|
+
# must be a string, a number, or a boolean. The operator
|
|
817
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
818
|
+
#
|
|
819
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
820
|
+
# exclude instances named `example-instance` by specifying
|
|
821
|
+
# `name != example-instance`.
|
|
822
|
+
#
|
|
823
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
824
|
+
# For example, to find all objects with `owner` label use:
|
|
825
|
+
# ```
|
|
826
|
+
# labels.owner:*
|
|
827
|
+
# ```
|
|
828
|
+
#
|
|
829
|
+
# You can also filter nested fields. For example, you could specify
|
|
830
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
831
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
832
|
+
# on nested fields to filter based onresource labels.
|
|
833
|
+
#
|
|
834
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
835
|
+
# parentheses. For example:
|
|
836
|
+
# ```
|
|
837
|
+
# (scheduling.automaticRestart = true)
|
|
838
|
+
# (cpuPlatform = "Intel Skylake")
|
|
839
|
+
# ```
|
|
840
|
+
# By default, each expression is an `AND` expression. However, you
|
|
841
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
842
|
+
# For example:
|
|
843
|
+
# ```
|
|
844
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
845
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
846
|
+
# (scheduling.automaticRestart = true)
|
|
847
|
+
# ```
|
|
848
|
+
#
|
|
849
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
850
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
851
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
852
|
+
#
|
|
853
|
+
# `fieldname eq unquoted literal`
|
|
854
|
+
# `fieldname eq 'single quoted literal'`
|
|
855
|
+
# `fieldname eq "double quoted literal"`
|
|
856
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
857
|
+
#
|
|
858
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
859
|
+
# The literal value must match the entire field.
|
|
860
|
+
#
|
|
861
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
862
|
+
# you would use `name ne .*instance`.
|
|
863
|
+
#
|
|
864
|
+
# You cannot combine constraints on multiple fields using regular
|
|
865
|
+
# expressions.
|
|
694
866
|
# @param max_results [::Integer]
|
|
695
|
-
# The maximum number of results per page that should be returned.
|
|
867
|
+
# The maximum number of results per page that should be returned.
|
|
868
|
+
# If the number of available results is larger than `maxResults`,
|
|
869
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
870
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
871
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
696
872
|
# @param order_by [::String]
|
|
697
|
-
# Sorts list results by a certain order. By default, results
|
|
873
|
+
# Sorts list results by a certain order. By default, results
|
|
874
|
+
# are returned in alphanumerical order based on the resource name.
|
|
875
|
+
#
|
|
876
|
+
# You can also sort results in descending order based on the creation
|
|
877
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
878
|
+
# results based on the `creationTimestamp` field in
|
|
879
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
880
|
+
# resources like operations so that the newest operation is returned first.
|
|
881
|
+
#
|
|
882
|
+
# Currently, only sorting by `name` or
|
|
883
|
+
# `creationTimestamp desc` is supported.
|
|
698
884
|
# @param page_token [::String]
|
|
699
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
885
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
886
|
+
# `nextPageToken` returned by a previous list request to get
|
|
887
|
+
# the next page of results.
|
|
700
888
|
# @param project [::String]
|
|
701
889
|
# Project ID for this request.
|
|
702
890
|
# @param return_partial_success [::Boolean]
|
|
703
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
891
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
892
|
+
# of failure. The default value is false.
|
|
893
|
+
#
|
|
894
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
895
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
896
|
+
# with an error code.
|
|
704
897
|
# @param zone [::String]
|
|
705
898
|
# Name of the zone for this request.
|
|
706
899
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -784,9 +977,22 @@ module Google
|
|
|
784
977
|
# @param project [::String]
|
|
785
978
|
# Project ID for this request.
|
|
786
979
|
# @param request_id [::String]
|
|
787
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
980
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
981
|
+
# that if you must retry your request, the server will know to ignore the
|
|
982
|
+
# request if it has already been completed.
|
|
983
|
+
#
|
|
984
|
+
# For example, consider a situation where you make an initial request and
|
|
985
|
+
# the request times out. If you make the request again with the same
|
|
986
|
+
# request ID, the server can check if original operation with the same
|
|
987
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
988
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
989
|
+
#
|
|
990
|
+
# The request ID must be
|
|
991
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
992
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
788
993
|
# @param reservation [::String]
|
|
789
|
-
# The name of the reservation.
|
|
994
|
+
# The name of the reservation.
|
|
995
|
+
# Name should conform to RFC1035 or be a resource ID.
|
|
790
996
|
# @param reservations_perform_maintenance_request_resource [::Google::Cloud::Compute::V1::ReservationsPerformMaintenanceRequest, ::Hash]
|
|
791
997
|
# The body resource for this request
|
|
792
998
|
# @param zone [::String]
|
|
@@ -860,7 +1066,9 @@ module Google
|
|
|
860
1066
|
end
|
|
861
1067
|
|
|
862
1068
|
##
|
|
863
|
-
# Resizes the reservation (applicable to standalone reservations only). For
|
|
1069
|
+
# Resizes the reservation (applicable to standalone reservations only). For
|
|
1070
|
+
# more information, readModifying
|
|
1071
|
+
# reservations.
|
|
864
1072
|
#
|
|
865
1073
|
# @overload resize(request, options = nil)
|
|
866
1074
|
# Pass arguments to `resize` via a request object, either of type
|
|
@@ -880,7 +1088,19 @@ module Google
|
|
|
880
1088
|
# @param project [::String]
|
|
881
1089
|
# Project ID for this request.
|
|
882
1090
|
# @param request_id [::String]
|
|
883
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1091
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1092
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1093
|
+
# request if it has already been completed.
|
|
1094
|
+
#
|
|
1095
|
+
# For example, consider a situation where you make an initial request and
|
|
1096
|
+
# the request times out. If you make the request again with the same
|
|
1097
|
+
# request ID, the server can check if original operation with the same
|
|
1098
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1099
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1100
|
+
#
|
|
1101
|
+
# The request ID must be
|
|
1102
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1103
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
884
1104
|
# @param reservation [::String]
|
|
885
1105
|
# Name of the reservation to update.
|
|
886
1106
|
# @param reservations_resize_request_resource [::Google::Cloud::Compute::V1::ReservationsResizeRequest, ::Hash]
|
|
@@ -956,7 +1176,8 @@ module Google
|
|
|
956
1176
|
end
|
|
957
1177
|
|
|
958
1178
|
##
|
|
959
|
-
# Sets the access control policy on the specified resource.
|
|
1179
|
+
# Sets the access control policy on the specified resource.
|
|
1180
|
+
# Replaces any existing policy.
|
|
960
1181
|
#
|
|
961
1182
|
# @overload set_iam_policy(request, options = nil)
|
|
962
1183
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -1145,7 +1366,19 @@ module Google
|
|
|
1145
1366
|
# @param project [::String]
|
|
1146
1367
|
# Project ID for this request.
|
|
1147
1368
|
# @param request_id [::String]
|
|
1148
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1369
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1370
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1371
|
+
# request if it has already been completed.
|
|
1372
|
+
#
|
|
1373
|
+
# For example, consider a situation where you make an initial request and
|
|
1374
|
+
# the request times out. If you make the request again with the same
|
|
1375
|
+
# request ID, the server can check if original operation with the same
|
|
1376
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1377
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1378
|
+
#
|
|
1379
|
+
# The request ID must be
|
|
1380
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1381
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1149
1382
|
# @param reservation [::String]
|
|
1150
1383
|
# Name of the reservation to update.
|
|
1151
1384
|
# @param reservation_resource [::Google::Cloud::Compute::V1::Reservation, ::Hash]
|