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
|
@@ -225,7 +225,10 @@ module Google
|
|
|
225
225
|
# Service calls
|
|
226
226
|
|
|
227
227
|
##
|
|
228
|
-
# Retrieves an aggregated list of storage pools.
|
|
228
|
+
# Retrieves an aggregated list of storage pools.
|
|
229
|
+
#
|
|
230
|
+
# To prevent failure, Google recommends that you set the
|
|
231
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
229
232
|
#
|
|
230
233
|
# @overload aggregated_list(request, options = nil)
|
|
231
234
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -243,21 +246,106 @@ module Google
|
|
|
243
246
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
244
247
|
#
|
|
245
248
|
# @param filter [::String]
|
|
246
|
-
# A filter expression that filters resources listed in the response. Most
|
|
249
|
+
# A filter expression that filters resources listed in the response. Most
|
|
250
|
+
# Compute resources support two types of filter expressions:
|
|
251
|
+
# expressions that support regular expressions and expressions that follow
|
|
252
|
+
# API improvement proposal AIP-160.
|
|
253
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
254
|
+
#
|
|
255
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
256
|
+
# operator, and the value that you want to use for filtering. The value
|
|
257
|
+
# must be a string, a number, or a boolean. The operator
|
|
258
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
259
|
+
#
|
|
260
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
261
|
+
# exclude instances named `example-instance` by specifying
|
|
262
|
+
# `name != example-instance`.
|
|
263
|
+
#
|
|
264
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
265
|
+
# For example, to find all objects with `owner` label use:
|
|
266
|
+
# ```
|
|
267
|
+
# labels.owner:*
|
|
268
|
+
# ```
|
|
269
|
+
#
|
|
270
|
+
# You can also filter nested fields. For example, you could specify
|
|
271
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
272
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
273
|
+
# on nested fields to filter based onresource labels.
|
|
274
|
+
#
|
|
275
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
276
|
+
# parentheses. For example:
|
|
277
|
+
# ```
|
|
278
|
+
# (scheduling.automaticRestart = true)
|
|
279
|
+
# (cpuPlatform = "Intel Skylake")
|
|
280
|
+
# ```
|
|
281
|
+
# By default, each expression is an `AND` expression. However, you
|
|
282
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
283
|
+
# For example:
|
|
284
|
+
# ```
|
|
285
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
286
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
287
|
+
# (scheduling.automaticRestart = true)
|
|
288
|
+
# ```
|
|
289
|
+
#
|
|
290
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
291
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
292
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
293
|
+
#
|
|
294
|
+
# `fieldname eq unquoted literal`
|
|
295
|
+
# `fieldname eq 'single quoted literal'`
|
|
296
|
+
# `fieldname eq "double quoted literal"`
|
|
297
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
298
|
+
#
|
|
299
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
300
|
+
# The literal value must match the entire field.
|
|
301
|
+
#
|
|
302
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
303
|
+
# you would use `name ne .*instance`.
|
|
304
|
+
#
|
|
305
|
+
# You cannot combine constraints on multiple fields using regular
|
|
306
|
+
# expressions.
|
|
247
307
|
# @param include_all_scopes [::Boolean]
|
|
248
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
308
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
309
|
+
# global) should be included in the response. For new resource types added
|
|
310
|
+
# after this field, the flag has no effect as new resource types will always
|
|
311
|
+
# include every visible scope for each scope type in response. For resource
|
|
312
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
313
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
314
|
+
# will be included.
|
|
249
315
|
# @param max_results [::Integer]
|
|
250
|
-
# The maximum number of results per page that should be returned.
|
|
316
|
+
# The maximum number of results per page that should be returned.
|
|
317
|
+
# If the number of available results is larger than `maxResults`,
|
|
318
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
319
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
320
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
251
321
|
# @param order_by [::String]
|
|
252
|
-
# Sorts list results by a certain order. By default, results
|
|
322
|
+
# Sorts list results by a certain order. By default, results
|
|
323
|
+
# are returned in alphanumerical order based on the resource name.
|
|
324
|
+
#
|
|
325
|
+
# You can also sort results in descending order based on the creation
|
|
326
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
327
|
+
# results based on the `creationTimestamp` field in
|
|
328
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
329
|
+
# resources like operations so that the newest operation is returned first.
|
|
330
|
+
#
|
|
331
|
+
# Currently, only sorting by `name` or
|
|
332
|
+
# `creationTimestamp desc` is supported.
|
|
253
333
|
# @param page_token [::String]
|
|
254
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
334
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
335
|
+
# `nextPageToken` returned by a previous list request to get
|
|
336
|
+
# the next page of results.
|
|
255
337
|
# @param project [::String]
|
|
256
338
|
# Project ID for this request.
|
|
257
339
|
# @param return_partial_success [::Boolean]
|
|
258
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
340
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
341
|
+
# of failure. The default value is false.
|
|
342
|
+
#
|
|
343
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
344
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
345
|
+
# with an error code.
|
|
259
346
|
# @param service_project_number [::Integer]
|
|
260
|
-
# The Shared VPC service project id or service project number for which
|
|
347
|
+
# The Shared VPC service project id or service project number for which
|
|
348
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
261
349
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
262
350
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::StoragePoolsScopedList>]
|
|
263
351
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -319,7 +407,11 @@ module Google
|
|
|
319
407
|
end
|
|
320
408
|
|
|
321
409
|
##
|
|
322
|
-
# Deletes the specified storage pool. Deleting a storagePool
|
|
410
|
+
# Deletes the specified storage pool. Deleting a storagePool
|
|
411
|
+
# removes its data permanently and is irreversible. However, deleting a
|
|
412
|
+
# storagePool does not delete any snapshots previously
|
|
413
|
+
# made from the storagePool. You must separately delete
|
|
414
|
+
# snapshots.
|
|
323
415
|
#
|
|
324
416
|
# @overload delete(request, options = nil)
|
|
325
417
|
# Pass arguments to `delete` via a request object, either of type
|
|
@@ -339,7 +431,19 @@ module Google
|
|
|
339
431
|
# @param project [::String]
|
|
340
432
|
# Project ID for this request.
|
|
341
433
|
# @param request_id [::String]
|
|
342
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
434
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
435
|
+
# that if you must retry your request, the server will know to ignore the
|
|
436
|
+
# request if it has already been completed.
|
|
437
|
+
#
|
|
438
|
+
# For example, consider a situation where you make an initial request and
|
|
439
|
+
# the request times out. If you make the request again with the same
|
|
440
|
+
# request ID, the server can check if original operation with the same
|
|
441
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
442
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
443
|
+
#
|
|
444
|
+
# The request ID must be
|
|
445
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
446
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
343
447
|
# @param storage_pool [::String]
|
|
344
448
|
# Name of the storage pool to delete.
|
|
345
449
|
# @param zone [::String]
|
|
@@ -413,7 +517,8 @@ module Google
|
|
|
413
517
|
end
|
|
414
518
|
|
|
415
519
|
##
|
|
416
|
-
# Returns a specified storage pool. Gets a list of available
|
|
520
|
+
# Returns a specified storage pool. Gets a list of available
|
|
521
|
+
# storage pools by making a list() request.
|
|
417
522
|
#
|
|
418
523
|
# @overload get(request, options = nil)
|
|
419
524
|
# Pass arguments to `get` via a request object, either of type
|
|
@@ -495,7 +600,8 @@ module Google
|
|
|
495
600
|
end
|
|
496
601
|
|
|
497
602
|
##
|
|
498
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
603
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
604
|
+
# policy or resource exists.
|
|
499
605
|
#
|
|
500
606
|
# @overload get_iam_policy(request, options = nil)
|
|
501
607
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -579,7 +685,8 @@ module Google
|
|
|
579
685
|
end
|
|
580
686
|
|
|
581
687
|
##
|
|
582
|
-
# Creates a storage pool in the specified project using the data
|
|
688
|
+
# Creates a storage pool in the specified project using the data
|
|
689
|
+
# in the request.
|
|
583
690
|
#
|
|
584
691
|
# @overload insert(request, options = nil)
|
|
585
692
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -599,7 +706,19 @@ module Google
|
|
|
599
706
|
# @param project [::String]
|
|
600
707
|
# Project ID for this request.
|
|
601
708
|
# @param request_id [::String]
|
|
602
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
709
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
710
|
+
# that if you must retry your request, the server will know to ignore the
|
|
711
|
+
# request if it has already been completed.
|
|
712
|
+
#
|
|
713
|
+
# For example, consider a situation where you make an initial request and
|
|
714
|
+
# the request times out. If you make the request again with the same
|
|
715
|
+
# request ID, the server can check if original operation with the same
|
|
716
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
717
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
718
|
+
#
|
|
719
|
+
# The request ID must be
|
|
720
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
721
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
603
722
|
# @param storage_pool_resource [::Google::Cloud::Compute::V1::StoragePool, ::Hash]
|
|
604
723
|
# The body resource for this request
|
|
605
724
|
# @param zone [::String]
|
|
@@ -673,7 +792,8 @@ module Google
|
|
|
673
792
|
end
|
|
674
793
|
|
|
675
794
|
##
|
|
676
|
-
# Retrieves a list of storage pools contained within
|
|
795
|
+
# Retrieves a list of storage pools contained within
|
|
796
|
+
# the specified zone.
|
|
677
797
|
#
|
|
678
798
|
# @overload list(request, options = nil)
|
|
679
799
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -691,17 +811,95 @@ module Google
|
|
|
691
811
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
692
812
|
#
|
|
693
813
|
# @param filter [::String]
|
|
694
|
-
# A filter expression that filters resources listed in the response. Most
|
|
814
|
+
# A filter expression that filters resources listed in the response. Most
|
|
815
|
+
# Compute resources support two types of filter expressions:
|
|
816
|
+
# expressions that support regular expressions and expressions that follow
|
|
817
|
+
# API improvement proposal AIP-160.
|
|
818
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
819
|
+
#
|
|
820
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
821
|
+
# operator, and the value that you want to use for filtering. The value
|
|
822
|
+
# must be a string, a number, or a boolean. The operator
|
|
823
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
824
|
+
#
|
|
825
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
826
|
+
# exclude instances named `example-instance` by specifying
|
|
827
|
+
# `name != example-instance`.
|
|
828
|
+
#
|
|
829
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
830
|
+
# For example, to find all objects with `owner` label use:
|
|
831
|
+
# ```
|
|
832
|
+
# labels.owner:*
|
|
833
|
+
# ```
|
|
834
|
+
#
|
|
835
|
+
# You can also filter nested fields. For example, you could specify
|
|
836
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
837
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
838
|
+
# on nested fields to filter based onresource labels.
|
|
839
|
+
#
|
|
840
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
841
|
+
# parentheses. For example:
|
|
842
|
+
# ```
|
|
843
|
+
# (scheduling.automaticRestart = true)
|
|
844
|
+
# (cpuPlatform = "Intel Skylake")
|
|
845
|
+
# ```
|
|
846
|
+
# By default, each expression is an `AND` expression. However, you
|
|
847
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
848
|
+
# For example:
|
|
849
|
+
# ```
|
|
850
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
851
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
852
|
+
# (scheduling.automaticRestart = true)
|
|
853
|
+
# ```
|
|
854
|
+
#
|
|
855
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
856
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
857
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
858
|
+
#
|
|
859
|
+
# `fieldname eq unquoted literal`
|
|
860
|
+
# `fieldname eq 'single quoted literal'`
|
|
861
|
+
# `fieldname eq "double quoted literal"`
|
|
862
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
863
|
+
#
|
|
864
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
865
|
+
# The literal value must match the entire field.
|
|
866
|
+
#
|
|
867
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
868
|
+
# you would use `name ne .*instance`.
|
|
869
|
+
#
|
|
870
|
+
# You cannot combine constraints on multiple fields using regular
|
|
871
|
+
# expressions.
|
|
695
872
|
# @param max_results [::Integer]
|
|
696
|
-
# The maximum number of results per page that should be returned.
|
|
873
|
+
# The maximum number of results per page that should be returned.
|
|
874
|
+
# If the number of available results is larger than `maxResults`,
|
|
875
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
876
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
877
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
697
878
|
# @param order_by [::String]
|
|
698
|
-
# Sorts list results by a certain order. By default, results
|
|
879
|
+
# Sorts list results by a certain order. By default, results
|
|
880
|
+
# are returned in alphanumerical order based on the resource name.
|
|
881
|
+
#
|
|
882
|
+
# You can also sort results in descending order based on the creation
|
|
883
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
884
|
+
# results based on the `creationTimestamp` field in
|
|
885
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
886
|
+
# resources like operations so that the newest operation is returned first.
|
|
887
|
+
#
|
|
888
|
+
# Currently, only sorting by `name` or
|
|
889
|
+
# `creationTimestamp desc` is supported.
|
|
699
890
|
# @param page_token [::String]
|
|
700
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
891
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
892
|
+
# `nextPageToken` returned by a previous list request to get
|
|
893
|
+
# the next page of results.
|
|
701
894
|
# @param project [::String]
|
|
702
895
|
# Project ID for this request.
|
|
703
896
|
# @param return_partial_success [::Boolean]
|
|
704
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
897
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
898
|
+
# of failure. The default value is false.
|
|
899
|
+
#
|
|
900
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
901
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
902
|
+
# with an error code.
|
|
705
903
|
# @param zone [::String]
|
|
706
904
|
# The name of the zone for this request.
|
|
707
905
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -783,17 +981,95 @@ module Google
|
|
|
783
981
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
784
982
|
#
|
|
785
983
|
# @param filter [::String]
|
|
786
|
-
# A filter expression that filters resources listed in the response. Most
|
|
984
|
+
# A filter expression that filters resources listed in the response. Most
|
|
985
|
+
# Compute resources support two types of filter expressions:
|
|
986
|
+
# expressions that support regular expressions and expressions that follow
|
|
987
|
+
# API improvement proposal AIP-160.
|
|
988
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
989
|
+
#
|
|
990
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
991
|
+
# operator, and the value that you want to use for filtering. The value
|
|
992
|
+
# must be a string, a number, or a boolean. The operator
|
|
993
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
994
|
+
#
|
|
995
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
996
|
+
# exclude instances named `example-instance` by specifying
|
|
997
|
+
# `name != example-instance`.
|
|
998
|
+
#
|
|
999
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
1000
|
+
# For example, to find all objects with `owner` label use:
|
|
1001
|
+
# ```
|
|
1002
|
+
# labels.owner:*
|
|
1003
|
+
# ```
|
|
1004
|
+
#
|
|
1005
|
+
# You can also filter nested fields. For example, you could specify
|
|
1006
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
1007
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
1008
|
+
# on nested fields to filter based onresource labels.
|
|
1009
|
+
#
|
|
1010
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1011
|
+
# parentheses. For example:
|
|
1012
|
+
# ```
|
|
1013
|
+
# (scheduling.automaticRestart = true)
|
|
1014
|
+
# (cpuPlatform = "Intel Skylake")
|
|
1015
|
+
# ```
|
|
1016
|
+
# By default, each expression is an `AND` expression. However, you
|
|
1017
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
1018
|
+
# For example:
|
|
1019
|
+
# ```
|
|
1020
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
1021
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
1022
|
+
# (scheduling.automaticRestart = true)
|
|
1023
|
+
# ```
|
|
1024
|
+
#
|
|
1025
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
1026
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
1027
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
1028
|
+
#
|
|
1029
|
+
# `fieldname eq unquoted literal`
|
|
1030
|
+
# `fieldname eq 'single quoted literal'`
|
|
1031
|
+
# `fieldname eq "double quoted literal"`
|
|
1032
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
1033
|
+
#
|
|
1034
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
1035
|
+
# The literal value must match the entire field.
|
|
1036
|
+
#
|
|
1037
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
1038
|
+
# you would use `name ne .*instance`.
|
|
1039
|
+
#
|
|
1040
|
+
# You cannot combine constraints on multiple fields using regular
|
|
1041
|
+
# expressions.
|
|
787
1042
|
# @param max_results [::Integer]
|
|
788
|
-
# The maximum number of results per page that should be returned.
|
|
1043
|
+
# The maximum number of results per page that should be returned.
|
|
1044
|
+
# If the number of available results is larger than `maxResults`,
|
|
1045
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
1046
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
1047
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
789
1048
|
# @param order_by [::String]
|
|
790
|
-
# Sorts list results by a certain order. By default, results
|
|
1049
|
+
# Sorts list results by a certain order. By default, results
|
|
1050
|
+
# are returned in alphanumerical order based on the resource name.
|
|
1051
|
+
#
|
|
1052
|
+
# You can also sort results in descending order based on the creation
|
|
1053
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
1054
|
+
# results based on the `creationTimestamp` field in
|
|
1055
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
1056
|
+
# resources like operations so that the newest operation is returned first.
|
|
1057
|
+
#
|
|
1058
|
+
# Currently, only sorting by `name` or
|
|
1059
|
+
# `creationTimestamp desc` is supported.
|
|
791
1060
|
# @param page_token [::String]
|
|
792
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
1061
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
1062
|
+
# `nextPageToken` returned by a previous list request to get
|
|
1063
|
+
# the next page of results.
|
|
793
1064
|
# @param project [::String]
|
|
794
1065
|
# Project ID for this request.
|
|
795
1066
|
# @param return_partial_success [::Boolean]
|
|
796
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
1067
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
1068
|
+
# of failure. The default value is false.
|
|
1069
|
+
#
|
|
1070
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
1071
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
1072
|
+
# with an error code.
|
|
797
1073
|
# @param storage_pool [::String]
|
|
798
1074
|
# Name of the storage pool to list disks of.
|
|
799
1075
|
# @param zone [::String]
|
|
@@ -859,7 +1135,8 @@ module Google
|
|
|
859
1135
|
end
|
|
860
1136
|
|
|
861
1137
|
##
|
|
862
|
-
# Sets the access control policy on the specified resource.
|
|
1138
|
+
# Sets the access control policy on the specified resource.
|
|
1139
|
+
# Replaces any existing policy.
|
|
863
1140
|
#
|
|
864
1141
|
# @overload set_iam_policy(request, options = nil)
|
|
865
1142
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -1027,7 +1304,11 @@ module Google
|
|
|
1027
1304
|
end
|
|
1028
1305
|
|
|
1029
1306
|
##
|
|
1030
|
-
# Updates the specified storagePool with the data included in the request.
|
|
1307
|
+
# Updates the specified storagePool with the data included in the request.
|
|
1308
|
+
# The update is performed only on selected fields included as part
|
|
1309
|
+
# of update-mask. Only the following fields can be modified:
|
|
1310
|
+
# pool_provisioned_capacity_gb, pool_provisioned_iops and
|
|
1311
|
+
# pool_provisioned_throughput.
|
|
1031
1312
|
#
|
|
1032
1313
|
# @overload update(request, options = nil)
|
|
1033
1314
|
# Pass arguments to `update` via a request object, either of type
|
|
@@ -1047,7 +1328,19 @@ module Google
|
|
|
1047
1328
|
# @param project [::String]
|
|
1048
1329
|
# Project ID for this request.
|
|
1049
1330
|
# @param request_id [::String]
|
|
1050
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1331
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
1332
|
+
# that if you must retry your request, the server will know to ignore the
|
|
1333
|
+
# request if it has already been completed.
|
|
1334
|
+
#
|
|
1335
|
+
# For example, consider a situation where you make an initial request and
|
|
1336
|
+
# the request times out. If you make the request again with the same
|
|
1337
|
+
# request ID, the server can check if original operation with the same
|
|
1338
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
1339
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
1340
|
+
#
|
|
1341
|
+
# The request ID must be
|
|
1342
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
1343
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
1051
1344
|
# @param storage_pool [::String]
|
|
1052
1345
|
# The storagePool name for this request.
|
|
1053
1346
|
# @param storage_pool_resource [::Google::Cloud::Compute::V1::StoragePool, ::Hash]
|