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
|
@@ -209,7 +209,10 @@ module Google
|
|
|
209
209
|
# Service calls
|
|
210
210
|
|
|
211
211
|
##
|
|
212
|
-
# Retrieves an aggregated list of commitments by region.
|
|
212
|
+
# Retrieves an aggregated list of commitments by region.
|
|
213
|
+
#
|
|
214
|
+
# To prevent failure, it is recommended that you set the
|
|
215
|
+
# `returnPartialSuccess` parameter to `true`.
|
|
213
216
|
#
|
|
214
217
|
# @overload aggregated_list(request, options = nil)
|
|
215
218
|
# Pass arguments to `aggregated_list` via a request object, either of type
|
|
@@ -227,21 +230,106 @@ module Google
|
|
|
227
230
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
228
231
|
#
|
|
229
232
|
# @param filter [::String]
|
|
230
|
-
# A filter expression that filters resources listed in the response. Most
|
|
233
|
+
# A filter expression that filters resources listed in the response. Most
|
|
234
|
+
# Compute resources support two types of filter expressions:
|
|
235
|
+
# expressions that support regular expressions and expressions that follow
|
|
236
|
+
# API improvement proposal AIP-160.
|
|
237
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
238
|
+
#
|
|
239
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
240
|
+
# operator, and the value that you want to use for filtering. The value
|
|
241
|
+
# must be a string, a number, or a boolean. The operator
|
|
242
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
243
|
+
#
|
|
244
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
245
|
+
# exclude instances named `example-instance` by specifying
|
|
246
|
+
# `name != example-instance`.
|
|
247
|
+
#
|
|
248
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
249
|
+
# For example, to find all objects with `owner` label use:
|
|
250
|
+
# ```
|
|
251
|
+
# labels.owner:*
|
|
252
|
+
# ```
|
|
253
|
+
#
|
|
254
|
+
# You can also filter nested fields. For example, you could specify
|
|
255
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
256
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
257
|
+
# on nested fields to filter based onresource labels.
|
|
258
|
+
#
|
|
259
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
260
|
+
# parentheses. For example:
|
|
261
|
+
# ```
|
|
262
|
+
# (scheduling.automaticRestart = true)
|
|
263
|
+
# (cpuPlatform = "Intel Skylake")
|
|
264
|
+
# ```
|
|
265
|
+
# By default, each expression is an `AND` expression. However, you
|
|
266
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
267
|
+
# For example:
|
|
268
|
+
# ```
|
|
269
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
270
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
271
|
+
# (scheduling.automaticRestart = true)
|
|
272
|
+
# ```
|
|
273
|
+
#
|
|
274
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
275
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
276
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
277
|
+
#
|
|
278
|
+
# `fieldname eq unquoted literal`
|
|
279
|
+
# `fieldname eq 'single quoted literal'`
|
|
280
|
+
# `fieldname eq "double quoted literal"`
|
|
281
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
282
|
+
#
|
|
283
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
284
|
+
# The literal value must match the entire field.
|
|
285
|
+
#
|
|
286
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
287
|
+
# you would use `name ne .*instance`.
|
|
288
|
+
#
|
|
289
|
+
# You cannot combine constraints on multiple fields using regular
|
|
290
|
+
# expressions.
|
|
231
291
|
# @param include_all_scopes [::Boolean]
|
|
232
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
|
292
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
293
|
+
# global) should be included in the response. For new resource types added
|
|
294
|
+
# after this field, the flag has no effect as new resource types will always
|
|
295
|
+
# include every visible scope for each scope type in response. For resource
|
|
296
|
+
# types which predate this field, if this flag is omitted or false, only
|
|
297
|
+
# scopes of the scope types where the resource type is expected to be found
|
|
298
|
+
# will be included.
|
|
233
299
|
# @param max_results [::Integer]
|
|
234
|
-
# The maximum number of results per page that should be returned.
|
|
300
|
+
# The maximum number of results per page that should be returned.
|
|
301
|
+
# If the number of available results is larger than `maxResults`,
|
|
302
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
303
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
304
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
235
305
|
# @param order_by [::String]
|
|
236
|
-
# Sorts list results by a certain order. By default, results
|
|
306
|
+
# Sorts list results by a certain order. By default, results
|
|
307
|
+
# are returned in alphanumerical order based on the resource name.
|
|
308
|
+
#
|
|
309
|
+
# You can also sort results in descending order based on the creation
|
|
310
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
311
|
+
# results based on the `creationTimestamp` field in
|
|
312
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
313
|
+
# resources like operations so that the newest operation is returned first.
|
|
314
|
+
#
|
|
315
|
+
# Currently, only sorting by `name` or
|
|
316
|
+
# `creationTimestamp desc` is supported.
|
|
237
317
|
# @param page_token [::String]
|
|
238
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
318
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
319
|
+
# `nextPageToken` returned by a previous list request to get
|
|
320
|
+
# the next page of results.
|
|
239
321
|
# @param project [::String]
|
|
240
322
|
# Project ID for this request.
|
|
241
323
|
# @param return_partial_success [::Boolean]
|
|
242
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
324
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
325
|
+
# of failure. The default value is false.
|
|
326
|
+
#
|
|
327
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
328
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
329
|
+
# with an error code.
|
|
243
330
|
# @param service_project_number [::Integer]
|
|
244
|
-
# The Shared VPC service project id or service project number for which
|
|
331
|
+
# The Shared VPC service project id or service project number for which
|
|
332
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
|
245
333
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
246
334
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::CommitmentsScopedList>]
|
|
247
335
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -385,7 +473,8 @@ module Google
|
|
|
385
473
|
end
|
|
386
474
|
|
|
387
475
|
##
|
|
388
|
-
# Creates a commitment in the specified project using the data
|
|
476
|
+
# Creates a commitment in the specified project using the data
|
|
477
|
+
# included in the request.
|
|
389
478
|
#
|
|
390
479
|
# @overload insert(request, options = nil)
|
|
391
480
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -409,7 +498,19 @@ module Google
|
|
|
409
498
|
# @param region [::String]
|
|
410
499
|
# Name of the region for this request.
|
|
411
500
|
# @param request_id [::String]
|
|
412
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
501
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
502
|
+
# that if you must retry your request, the server will know to ignore the
|
|
503
|
+
# request if it has already been completed.
|
|
504
|
+
#
|
|
505
|
+
# For example, consider a situation where you make an initial request and
|
|
506
|
+
# the request times out. If you make the request again with the same
|
|
507
|
+
# request ID, the server can check if original operation with the same
|
|
508
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
509
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
510
|
+
#
|
|
511
|
+
# The request ID must be
|
|
512
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
513
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
413
514
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
414
515
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
415
516
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -479,7 +580,8 @@ module Google
|
|
|
479
580
|
end
|
|
480
581
|
|
|
481
582
|
##
|
|
482
|
-
# Retrieves a list of commitments contained within
|
|
583
|
+
# Retrieves a list of commitments contained within
|
|
584
|
+
# the specified region.
|
|
483
585
|
#
|
|
484
586
|
# @overload list(request, options = nil)
|
|
485
587
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -497,19 +599,97 @@ module Google
|
|
|
497
599
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
498
600
|
#
|
|
499
601
|
# @param filter [::String]
|
|
500
|
-
# A filter expression that filters resources listed in the response. Most
|
|
602
|
+
# A filter expression that filters resources listed in the response. Most
|
|
603
|
+
# Compute resources support two types of filter expressions:
|
|
604
|
+
# expressions that support regular expressions and expressions that follow
|
|
605
|
+
# API improvement proposal AIP-160.
|
|
606
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
607
|
+
#
|
|
608
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
609
|
+
# operator, and the value that you want to use for filtering. The value
|
|
610
|
+
# must be a string, a number, or a boolean. The operator
|
|
611
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
612
|
+
#
|
|
613
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
614
|
+
# exclude instances named `example-instance` by specifying
|
|
615
|
+
# `name != example-instance`.
|
|
616
|
+
#
|
|
617
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
618
|
+
# For example, to find all objects with `owner` label use:
|
|
619
|
+
# ```
|
|
620
|
+
# labels.owner:*
|
|
621
|
+
# ```
|
|
622
|
+
#
|
|
623
|
+
# You can also filter nested fields. For example, you could specify
|
|
624
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
625
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
626
|
+
# on nested fields to filter based onresource labels.
|
|
627
|
+
#
|
|
628
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
629
|
+
# parentheses. For example:
|
|
630
|
+
# ```
|
|
631
|
+
# (scheduling.automaticRestart = true)
|
|
632
|
+
# (cpuPlatform = "Intel Skylake")
|
|
633
|
+
# ```
|
|
634
|
+
# By default, each expression is an `AND` expression. However, you
|
|
635
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
636
|
+
# For example:
|
|
637
|
+
# ```
|
|
638
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
639
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
640
|
+
# (scheduling.automaticRestart = true)
|
|
641
|
+
# ```
|
|
642
|
+
#
|
|
643
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
644
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
645
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
646
|
+
#
|
|
647
|
+
# `fieldname eq unquoted literal`
|
|
648
|
+
# `fieldname eq 'single quoted literal'`
|
|
649
|
+
# `fieldname eq "double quoted literal"`
|
|
650
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
651
|
+
#
|
|
652
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
653
|
+
# The literal value must match the entire field.
|
|
654
|
+
#
|
|
655
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
656
|
+
# you would use `name ne .*instance`.
|
|
657
|
+
#
|
|
658
|
+
# You cannot combine constraints on multiple fields using regular
|
|
659
|
+
# expressions.
|
|
501
660
|
# @param max_results [::Integer]
|
|
502
|
-
# The maximum number of results per page that should be returned.
|
|
661
|
+
# The maximum number of results per page that should be returned.
|
|
662
|
+
# If the number of available results is larger than `maxResults`,
|
|
663
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
664
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
665
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
503
666
|
# @param order_by [::String]
|
|
504
|
-
# Sorts list results by a certain order. By default, results
|
|
667
|
+
# Sorts list results by a certain order. By default, results
|
|
668
|
+
# are returned in alphanumerical order based on the resource name.
|
|
669
|
+
#
|
|
670
|
+
# You can also sort results in descending order based on the creation
|
|
671
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
672
|
+
# results based on the `creationTimestamp` field in
|
|
673
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
674
|
+
# resources like operations so that the newest operation is returned first.
|
|
675
|
+
#
|
|
676
|
+
# Currently, only sorting by `name` or
|
|
677
|
+
# `creationTimestamp desc` is supported.
|
|
505
678
|
# @param page_token [::String]
|
|
506
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
679
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
680
|
+
# `nextPageToken` returned by a previous list request to get
|
|
681
|
+
# the next page of results.
|
|
507
682
|
# @param project [::String]
|
|
508
683
|
# Project ID for this request.
|
|
509
684
|
# @param region [::String]
|
|
510
685
|
# Name of the region for this request.
|
|
511
686
|
# @param return_partial_success [::Boolean]
|
|
512
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
687
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
688
|
+
# of failure. The default value is false.
|
|
689
|
+
#
|
|
690
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
691
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
692
|
+
# with an error code.
|
|
513
693
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
514
694
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::Commitment>]
|
|
515
695
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -571,7 +751,9 @@ module Google
|
|
|
571
751
|
end
|
|
572
752
|
|
|
573
753
|
##
|
|
574
|
-
# Updates the specified commitment with the data included in the request.
|
|
754
|
+
# Updates the specified commitment with the data included in the request.
|
|
755
|
+
# Update is performed only on selected fields included as part of
|
|
756
|
+
# update-mask. Only the following fields can be updated: auto_renew and plan.
|
|
575
757
|
#
|
|
576
758
|
# @overload update(request, options = nil)
|
|
577
759
|
# Pass arguments to `update` via a request object, either of type
|
|
@@ -598,7 +780,19 @@ module Google
|
|
|
598
780
|
# @param region [::String]
|
|
599
781
|
# Name of the region for this request.
|
|
600
782
|
# @param request_id [::String]
|
|
601
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
783
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
784
|
+
# that if you must retry your request, the server will know to ignore the
|
|
785
|
+
# request if it has already been completed.
|
|
786
|
+
#
|
|
787
|
+
# For example, consider a situation where you make an initial request and
|
|
788
|
+
# the request times out. If you make the request again with the same
|
|
789
|
+
# request ID, the server can check if original operation with the same
|
|
790
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
791
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
792
|
+
#
|
|
793
|
+
# The request ID must be
|
|
794
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
795
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
602
796
|
# @param update_mask [::String]
|
|
603
797
|
# update_mask indicates fields to be updated as part of this request.
|
|
604
798
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "googleauth"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Compute
|
|
24
|
+
module V1
|
|
25
|
+
module RegionCompositeHealthChecks
|
|
26
|
+
# Credentials for the RegionCompositeHealthChecks API.
|
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
|
28
|
+
self.scope = [
|
|
29
|
+
"https://www.googleapis.com/auth/compute",
|
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
31
|
+
]
|
|
32
|
+
self.env_vars = [
|
|
33
|
+
"COMPUTE_CREDENTIALS",
|
|
34
|
+
"COMPUTE_KEYFILE",
|
|
35
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
|
36
|
+
"GOOGLE_CLOUD_KEYFILE",
|
|
37
|
+
"GCLOUD_KEYFILE",
|
|
38
|
+
"COMPUTE_CREDENTIALS_JSON",
|
|
39
|
+
"COMPUTE_KEYFILE_JSON",
|
|
40
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
|
41
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
|
42
|
+
"GCLOUD_KEYFILE_JSON"
|
|
43
|
+
]
|
|
44
|
+
self.paths = [
|
|
45
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
|
46
|
+
]
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|