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
|
@@ -220,7 +220,11 @@ module Google
|
|
|
220
220
|
# Service calls
|
|
221
221
|
|
|
222
222
|
##
|
|
223
|
-
# Retrieves the list of all ServiceAttachment resources,
|
|
223
|
+
# Retrieves the list of all ServiceAttachment resources,
|
|
224
|
+
# regional and global, available to the specified project.
|
|
225
|
+
#
|
|
226
|
+
# To prevent failure, Google recommends that you set the
|
|
227
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
224
228
|
#
|
|
225
229
|
# @overload aggregated_list(request, options = nil)
|
|
226
230
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -238,21 +242,106 @@ module Google
|
|
|
238
242
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
239
243
|
#
|
|
240
244
|
# @param filter [::String]
|
|
241
|
-
# A filter expression that filters resources listed in the response. Most
|
|
245
|
+
# A filter expression that filters resources listed in the response. Most
|
|
246
|
+
# Compute resources support two types of filter expressions:
|
|
247
|
+
# expressions that support regular expressions and expressions that follow
|
|
248
|
+
# API improvement proposal AIP-160.
|
|
249
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
250
|
+
#
|
|
251
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
252
|
+
# operator, and the value that you want to use for filtering. The value
|
|
253
|
+
# must be a string, a number, or a boolean. The operator
|
|
254
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
255
|
+
#
|
|
256
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
257
|
+
# exclude instances named `example-instance` by specifying
|
|
258
|
+
# `name != example-instance`.
|
|
259
|
+
#
|
|
260
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
261
|
+
# For example, to find all objects with `owner` label use:
|
|
262
|
+
# ```
|
|
263
|
+
# labels.owner:*
|
|
264
|
+
# ```
|
|
265
|
+
#
|
|
266
|
+
# You can also filter nested fields. For example, you could specify
|
|
267
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
268
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
269
|
+
# on nested fields to filter based onresource labels.
|
|
270
|
+
#
|
|
271
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
272
|
+
# parentheses. For example:
|
|
273
|
+
# ```
|
|
274
|
+
# (scheduling.automaticRestart = true)
|
|
275
|
+
# (cpuPlatform = "Intel Skylake")
|
|
276
|
+
# ```
|
|
277
|
+
# By default, each expression is an `AND` expression. However, you
|
|
278
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
279
|
+
# For example:
|
|
280
|
+
# ```
|
|
281
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
282
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
283
|
+
# (scheduling.automaticRestart = true)
|
|
284
|
+
# ```
|
|
285
|
+
#
|
|
286
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
287
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
288
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
289
|
+
#
|
|
290
|
+
# `fieldname eq unquoted literal`
|
|
291
|
+
# `fieldname eq 'single quoted literal'`
|
|
292
|
+
# `fieldname eq "double quoted literal"`
|
|
293
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
294
|
+
#
|
|
295
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
296
|
+
# The literal value must match the entire field.
|
|
297
|
+
#
|
|
298
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
299
|
+
# you would use `name ne .*instance`.
|
|
300
|
+
#
|
|
301
|
+
# You cannot combine constraints on multiple fields using regular
|
|
302
|
+
# expressions.
|
|
242
303
|
# @param include_all_scopes [::Boolean]
|
|
243
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
304
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
305
|
+
# global) should be included in the response. For new resource types added
|
|
306
|
+
# after this field, the flag has no effect as new resource types will always
|
|
307
|
+
# include every visible scope for each scope type in response. For resource
|
|
308
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
309
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
310
|
+
# will be included.
|
|
244
311
|
# @param max_results [::Integer]
|
|
245
|
-
# The maximum number of results per page that should be returned.
|
|
312
|
+
# The maximum number of results per page that should be returned.
|
|
313
|
+
# If the number of available results is larger than `maxResults`,
|
|
314
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
315
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
316
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
246
317
|
# @param order_by [::String]
|
|
247
|
-
# Sorts list results by a certain order. By default, results
|
|
318
|
+
# Sorts list results by a certain order. By default, results
|
|
319
|
+
# are returned in alphanumerical order based on the resource name.
|
|
320
|
+
#
|
|
321
|
+
# You can also sort results in descending order based on the creation
|
|
322
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
323
|
+
# results based on the `creationTimestamp` field in
|
|
324
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
325
|
+
# resources like operations so that the newest operation is returned first.
|
|
326
|
+
#
|
|
327
|
+
# Currently, only sorting by `name` or
|
|
328
|
+
# `creationTimestamp desc` is supported.
|
|
248
329
|
# @param page_token [::String]
|
|
249
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
330
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
331
|
+
# `nextPageToken` returned by a previous list request to get
|
|
332
|
+
# the next page of results.
|
|
250
333
|
# @param project [::String]
|
|
251
334
|
# Name of the project scoping this request.
|
|
252
335
|
# @param return_partial_success [::Boolean]
|
|
253
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
336
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
337
|
+
# of failure. The default value is false.
|
|
338
|
+
#
|
|
339
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
340
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
341
|
+
# with an error code.
|
|
254
342
|
# @param service_project_number [::Integer]
|
|
255
|
-
# The Shared VPC service project id or service project number for which
|
|
343
|
+
# The Shared VPC service project id or service project number for which
|
|
344
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
256
345
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
257
346
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::ServiceAttachmentsScopedList>]
|
|
258
347
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -336,7 +425,19 @@ module Google
|
|
|
336
425
|
# @param region [::String]
|
|
337
426
|
# Name of the region of this request.
|
|
338
427
|
# @param request_id [::String]
|
|
339
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
428
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
429
|
+
# that if you must retry your request, the server will know to ignore the
|
|
430
|
+
# request if it has already been completed.
|
|
431
|
+
#
|
|
432
|
+
# For example, consider a situation where you make an initial request and
|
|
433
|
+
# the request times out. If you make the request again with the same
|
|
434
|
+
# request ID, the server can check if original operation with the same
|
|
435
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
436
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
437
|
+
#
|
|
438
|
+
# The request ID must be
|
|
439
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
440
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
340
441
|
# @param service_attachment [::String]
|
|
341
442
|
# Name of the ServiceAttachment resource to delete.
|
|
342
443
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -492,7 +593,8 @@ module Google
|
|
|
492
593
|
end
|
|
493
594
|
|
|
494
595
|
##
|
|
495
|
-
# Gets the access control policy for a resource. May be empty if no such
|
|
596
|
+
# Gets the access control policy for a resource. May be empty if no such
|
|
597
|
+
# policy or resource exists.
|
|
496
598
|
#
|
|
497
599
|
# @overload get_iam_policy(request, options = nil)
|
|
498
600
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
|
@@ -576,7 +678,8 @@ module Google
|
|
|
576
678
|
end
|
|
577
679
|
|
|
578
680
|
##
|
|
579
|
-
# Creates a ServiceAttachment in the specified project in the given scope
|
|
681
|
+
# Creates a ServiceAttachment in the specified project in the given scope
|
|
682
|
+
# using the parameters that are included in the request.
|
|
580
683
|
#
|
|
581
684
|
# @overload insert(request, options = nil)
|
|
582
685
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -598,7 +701,19 @@ module Google
|
|
|
598
701
|
# @param region [::String]
|
|
599
702
|
# Name of the region of this request.
|
|
600
703
|
# @param request_id [::String]
|
|
601
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
704
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
705
|
+
# that if you must retry your request, the server will know to ignore the
|
|
706
|
+
# request if it has already been completed.
|
|
707
|
+
#
|
|
708
|
+
# For example, consider a situation where you make an initial request and
|
|
709
|
+
# the request times out. If you make the request again with the same
|
|
710
|
+
# request ID, the server can check if original operation with the same
|
|
711
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
712
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
713
|
+
#
|
|
714
|
+
# The request ID must be
|
|
715
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
716
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
602
717
|
# @param service_attachment_resource [::Google::Cloud::Compute::V1::ServiceAttachment, ::Hash]
|
|
603
718
|
# The body resource for this request
|
|
604
719
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -688,19 +803,97 @@ module Google
|
|
|
688
803
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
689
804
|
#
|
|
690
805
|
# @param filter [::String]
|
|
691
|
-
# A filter expression that filters resources listed in the response. Most
|
|
806
|
+
# A filter expression that filters resources listed in the response. Most
|
|
807
|
+
# Compute resources support two types of filter expressions:
|
|
808
|
+
# expressions that support regular expressions and expressions that follow
|
|
809
|
+
# API improvement proposal AIP-160.
|
|
810
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
811
|
+
#
|
|
812
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
813
|
+
# operator, and the value that you want to use for filtering. The value
|
|
814
|
+
# must be a string, a number, or a boolean. The operator
|
|
815
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
816
|
+
#
|
|
817
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
818
|
+
# exclude instances named `example-instance` by specifying
|
|
819
|
+
# `name != example-instance`.
|
|
820
|
+
#
|
|
821
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
822
|
+
# For example, to find all objects with `owner` label use:
|
|
823
|
+
# ```
|
|
824
|
+
# labels.owner:*
|
|
825
|
+
# ```
|
|
826
|
+
#
|
|
827
|
+
# You can also filter nested fields. For example, you could specify
|
|
828
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
829
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
830
|
+
# on nested fields to filter based onresource labels.
|
|
831
|
+
#
|
|
832
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
833
|
+
# parentheses. For example:
|
|
834
|
+
# ```
|
|
835
|
+
# (scheduling.automaticRestart = true)
|
|
836
|
+
# (cpuPlatform = "Intel Skylake")
|
|
837
|
+
# ```
|
|
838
|
+
# By default, each expression is an `AND` expression. However, you
|
|
839
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
840
|
+
# For example:
|
|
841
|
+
# ```
|
|
842
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
843
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
844
|
+
# (scheduling.automaticRestart = true)
|
|
845
|
+
# ```
|
|
846
|
+
#
|
|
847
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
848
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
849
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
850
|
+
#
|
|
851
|
+
# `fieldname eq unquoted literal`
|
|
852
|
+
# `fieldname eq 'single quoted literal'`
|
|
853
|
+
# `fieldname eq "double quoted literal"`
|
|
854
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
855
|
+
#
|
|
856
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
857
|
+
# The literal value must match the entire field.
|
|
858
|
+
#
|
|
859
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
860
|
+
# you would use `name ne .*instance`.
|
|
861
|
+
#
|
|
862
|
+
# You cannot combine constraints on multiple fields using regular
|
|
863
|
+
# expressions.
|
|
692
864
|
# @param max_results [::Integer]
|
|
693
|
-
# The maximum number of results per page that should be returned.
|
|
865
|
+
# The maximum number of results per page that should be returned.
|
|
866
|
+
# If the number of available results is larger than `maxResults`,
|
|
867
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
868
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
869
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
694
870
|
# @param order_by [::String]
|
|
695
|
-
# Sorts list results by a certain order. By default, results
|
|
871
|
+
# Sorts list results by a certain order. By default, results
|
|
872
|
+
# are returned in alphanumerical order based on the resource name.
|
|
873
|
+
#
|
|
874
|
+
# You can also sort results in descending order based on the creation
|
|
875
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
876
|
+
# results based on the `creationTimestamp` field in
|
|
877
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
878
|
+
# resources like operations so that the newest operation is returned first.
|
|
879
|
+
#
|
|
880
|
+
# Currently, only sorting by `name` or
|
|
881
|
+
# `creationTimestamp desc` is supported.
|
|
696
882
|
# @param page_token [::String]
|
|
697
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
883
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
884
|
+
# `nextPageToken` returned by a previous list request to get
|
|
885
|
+
# the next page of results.
|
|
698
886
|
# @param project [::String]
|
|
699
887
|
# Project ID for this request.
|
|
700
888
|
# @param region [::String]
|
|
701
889
|
# Name of the region of 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
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
705
898
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::ServiceAttachment>]
|
|
706
899
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -762,7 +955,10 @@ module Google
|
|
|
762
955
|
end
|
|
763
956
|
|
|
764
957
|
##
|
|
765
|
-
# Patches the specified ServiceAttachment resource with the data included in
|
|
958
|
+
# Patches the specified ServiceAttachment resource with the data included in
|
|
959
|
+
# the request. This method supports PATCH
|
|
960
|
+
# semantics and usesJSON merge
|
|
961
|
+
# patch format and processing rules.
|
|
766
962
|
#
|
|
767
963
|
# @overload patch(request, options = nil)
|
|
768
964
|
# Pass arguments to `patch` via a request object, either of type
|
|
@@ -784,9 +980,22 @@ module Google
|
|
|
784
980
|
# @param region [::String]
|
|
785
981
|
# The region scoping this request and should conform to RFC1035.
|
|
786
982
|
# @param request_id [::String]
|
|
787
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
983
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
984
|
+
# that if you must retry your request, the server will know to ignore the
|
|
985
|
+
# request if it has already been completed.
|
|
986
|
+
#
|
|
987
|
+
# For example, consider a situation where you make an initial request and
|
|
988
|
+
# the request times out. If you make the request again with the same
|
|
989
|
+
# request ID, the server can check if original operation with the same
|
|
990
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
991
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
992
|
+
#
|
|
993
|
+
# The request ID must be
|
|
994
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
995
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
788
996
|
# @param service_attachment [::String]
|
|
789
|
-
# The resource id of the ServiceAttachment to patch. It should conform to
|
|
997
|
+
# The resource id of the ServiceAttachment to patch. It should conform to
|
|
998
|
+
# RFC1035 resource name or be a string form on an unsigned long number.
|
|
790
999
|
# @param service_attachment_resource [::Google::Cloud::Compute::V1::ServiceAttachment, ::Hash]
|
|
791
1000
|
# The body resource for this request
|
|
792
1001
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -858,7 +1067,8 @@ module Google
|
|
|
858
1067
|
end
|
|
859
1068
|
|
|
860
1069
|
##
|
|
861
|
-
# Sets the access control policy on the specified resource.
|
|
1070
|
+
# Sets the access control policy on the specified resource.
|
|
1071
|
+
# Replaces any existing policy.
|
|
862
1072
|
#
|
|
863
1073
|
# @overload set_iam_policy(request, options = nil)
|
|
864
1074
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
|
@@ -295,7 +295,19 @@ module Google
|
|
|
295
295
|
# @param project [::String]
|
|
296
296
|
# Project ID for this request.
|
|
297
297
|
# @param request_id [::String]
|
|
298
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
298
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
299
|
+
# that if you must retry your request, the server will know to ignore the
|
|
300
|
+
# request if it has already been completed.
|
|
301
|
+
#
|
|
302
|
+
# For example, consider a situation where you make an initial request and
|
|
303
|
+
# the request times out. If you make the request again with the same
|
|
304
|
+
# request ID, the server can check if original operation with the same
|
|
305
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
306
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
307
|
+
#
|
|
308
|
+
# The request ID must be
|
|
309
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
310
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
299
311
|
# @param snapshot_settings_resource [::Google::Cloud::Compute::V1::SnapshotSettings, ::Hash]
|
|
300
312
|
# The body resource for this request
|
|
301
313
|
# @param update_mask [::String]
|