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
|
@@ -0,0 +1,51 @@
|
|
|
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 "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/compute/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/compute/v1/region_snapshots/credentials"
|
|
26
|
+
require "google/cloud/compute/v1/region_snapshots/rest/client"
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module Compute
|
|
31
|
+
module V1
|
|
32
|
+
##
|
|
33
|
+
# The RegionSnapshots API.
|
|
34
|
+
#
|
|
35
|
+
# To load this service and instantiate a REST client:
|
|
36
|
+
#
|
|
37
|
+
# require "google/cloud/compute/v1/region_snapshots/rest"
|
|
38
|
+
# client = ::Google::Cloud::Compute::V1::RegionSnapshots::Rest::Client.new
|
|
39
|
+
#
|
|
40
|
+
module RegionSnapshots
|
|
41
|
+
# Client for the REST transport
|
|
42
|
+
module Rest
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
51
|
+
require "google/cloud/compute/v1/region_snapshots/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,47 @@
|
|
|
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 "gapic/config"
|
|
20
|
+
require "gapic/config/method"
|
|
21
|
+
|
|
22
|
+
require "google/cloud/compute/v1/version"
|
|
23
|
+
|
|
24
|
+
require "google/cloud/compute/v1/region_snapshots/credentials"
|
|
25
|
+
require "google/cloud/compute/v1/region_snapshots/rest"
|
|
26
|
+
|
|
27
|
+
module Google
|
|
28
|
+
module Cloud
|
|
29
|
+
module Compute
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# The RegionSnapshots API.
|
|
33
|
+
#
|
|
34
|
+
# @example Load this service and instantiate a REST client
|
|
35
|
+
#
|
|
36
|
+
# require "google/cloud/compute/v1/region_snapshots/rest"
|
|
37
|
+
# client = ::Google::Cloud::Compute::V1::RegionSnapshots::Rest::Client.new
|
|
38
|
+
#
|
|
39
|
+
module RegionSnapshots
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
helper_path = ::File.join __dir__, "region_snapshots", "helpers.rb"
|
|
47
|
+
require "google/cloud/compute/v1/region_snapshots/helpers" if ::File.file? helper_path
|
|
@@ -226,7 +226,19 @@ module Google
|
|
|
226
226
|
# @param region [::String]
|
|
227
227
|
# Name of the region scoping this request.
|
|
228
228
|
# @param request_id [::String]
|
|
229
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
229
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
230
|
+
# that if you must retry your request, the server will know to ignore the
|
|
231
|
+
# request if it has already been completed.
|
|
232
|
+
#
|
|
233
|
+
# For example, consider a situation where you make an initial request and
|
|
234
|
+
# the request times out. If you make the request again with the same
|
|
235
|
+
# request ID, the server can check if original operation with the same
|
|
236
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
237
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
238
|
+
#
|
|
239
|
+
# The request ID must be
|
|
240
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
241
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
230
242
|
# @param ssl_certificate [::String]
|
|
231
243
|
# Name of the SslCertificate resource to delete.
|
|
232
244
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -298,7 +310,9 @@ module Google
|
|
|
298
310
|
end
|
|
299
311
|
|
|
300
312
|
##
|
|
301
|
-
# Returns the specified SslCertificate resource in the specified region. Get
|
|
313
|
+
# Returns the specified SslCertificate resource in the specified region. Get
|
|
314
|
+
# a list of available SSL certificates by making a list()
|
|
315
|
+
# request.
|
|
302
316
|
#
|
|
303
317
|
# @overload get(request, options = nil)
|
|
304
318
|
# Pass arguments to `get` via a request object, either of type
|
|
@@ -380,7 +394,8 @@ module Google
|
|
|
380
394
|
end
|
|
381
395
|
|
|
382
396
|
##
|
|
383
|
-
# Creates a SslCertificate resource in the specified project and region using
|
|
397
|
+
# Creates a SslCertificate resource in the specified project and region using
|
|
398
|
+
# the data included in the request
|
|
384
399
|
#
|
|
385
400
|
# @overload insert(request, options = nil)
|
|
386
401
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -402,7 +417,19 @@ module Google
|
|
|
402
417
|
# @param region [::String]
|
|
403
418
|
# Name of the region scoping this request.
|
|
404
419
|
# @param request_id [::String]
|
|
405
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
420
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
421
|
+
# that if you must retry your request, the server will know to ignore the
|
|
422
|
+
# request if it has already been completed.
|
|
423
|
+
#
|
|
424
|
+
# For example, consider a situation where you make an initial request and
|
|
425
|
+
# the request times out. If you make the request again with the same
|
|
426
|
+
# request ID, the server can check if original operation with the same
|
|
427
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
428
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
429
|
+
#
|
|
430
|
+
# The request ID must be
|
|
431
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
432
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
406
433
|
# @param ssl_certificate_resource [::Google::Cloud::Compute::V1::SslCertificate, ::Hash]
|
|
407
434
|
# The body resource for this request
|
|
408
435
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -474,7 +501,8 @@ module Google
|
|
|
474
501
|
end
|
|
475
502
|
|
|
476
503
|
##
|
|
477
|
-
# Retrieves the list of SslCertificate resources available to the specified
|
|
504
|
+
# Retrieves the list of SslCertificate resources available to the specified
|
|
505
|
+
# project in the specified region.
|
|
478
506
|
#
|
|
479
507
|
# @overload list(request, options = nil)
|
|
480
508
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -492,19 +520,97 @@ module Google
|
|
|
492
520
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
493
521
|
#
|
|
494
522
|
# @param filter [::String]
|
|
495
|
-
# A filter expression that filters resources listed in the response. Most
|
|
523
|
+
# A filter expression that filters resources listed in the response. Most
|
|
524
|
+
# Compute resources support two types of filter expressions:
|
|
525
|
+
# expressions that support regular expressions and expressions that follow
|
|
526
|
+
# API improvement proposal AIP-160.
|
|
527
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
528
|
+
#
|
|
529
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
530
|
+
# operator, and the value that you want to use for filtering. The value
|
|
531
|
+
# must be a string, a number, or a boolean. The operator
|
|
532
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
533
|
+
#
|
|
534
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
535
|
+
# exclude instances named `example-instance` by specifying
|
|
536
|
+
# `name != example-instance`.
|
|
537
|
+
#
|
|
538
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
539
|
+
# For example, to find all objects with `owner` label use:
|
|
540
|
+
# ```
|
|
541
|
+
# labels.owner:*
|
|
542
|
+
# ```
|
|
543
|
+
#
|
|
544
|
+
# You can also filter nested fields. For example, you could specify
|
|
545
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
546
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
547
|
+
# on nested fields to filter based onresource labels.
|
|
548
|
+
#
|
|
549
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
550
|
+
# parentheses. For example:
|
|
551
|
+
# ```
|
|
552
|
+
# (scheduling.automaticRestart = true)
|
|
553
|
+
# (cpuPlatform = "Intel Skylake")
|
|
554
|
+
# ```
|
|
555
|
+
# By default, each expression is an `AND` expression. However, you
|
|
556
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
557
|
+
# For example:
|
|
558
|
+
# ```
|
|
559
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
560
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
561
|
+
# (scheduling.automaticRestart = true)
|
|
562
|
+
# ```
|
|
563
|
+
#
|
|
564
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
565
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
566
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
567
|
+
#
|
|
568
|
+
# `fieldname eq unquoted literal`
|
|
569
|
+
# `fieldname eq 'single quoted literal'`
|
|
570
|
+
# `fieldname eq "double quoted literal"`
|
|
571
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
572
|
+
#
|
|
573
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
574
|
+
# The literal value must match the entire field.
|
|
575
|
+
#
|
|
576
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
577
|
+
# you would use `name ne .*instance`.
|
|
578
|
+
#
|
|
579
|
+
# You cannot combine constraints on multiple fields using regular
|
|
580
|
+
# expressions.
|
|
496
581
|
# @param max_results [::Integer]
|
|
497
|
-
# The maximum number of results per page that should be returned.
|
|
582
|
+
# The maximum number of results per page that should be returned.
|
|
583
|
+
# If the number of available results is larger than `maxResults`,
|
|
584
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
585
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
586
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
498
587
|
# @param order_by [::String]
|
|
499
|
-
# Sorts list results by a certain order. By default, results
|
|
588
|
+
# Sorts list results by a certain order. By default, results
|
|
589
|
+
# are returned in alphanumerical order based on the resource name.
|
|
590
|
+
#
|
|
591
|
+
# You can also sort results in descending order based on the creation
|
|
592
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
593
|
+
# results based on the `creationTimestamp` field in
|
|
594
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
595
|
+
# resources like operations so that the newest operation is returned first.
|
|
596
|
+
#
|
|
597
|
+
# Currently, only sorting by `name` or
|
|
598
|
+
# `creationTimestamp desc` is supported.
|
|
500
599
|
# @param page_token [::String]
|
|
501
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
600
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
601
|
+
# `nextPageToken` returned by a previous list request to get
|
|
602
|
+
# the next page of results.
|
|
502
603
|
# @param project [::String]
|
|
503
604
|
# Project ID for this request.
|
|
504
605
|
# @param region [::String]
|
|
505
606
|
# Name of the region scoping this request.
|
|
506
607
|
# @param return_partial_success [::Boolean]
|
|
507
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
608
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
609
|
+
# of failure. The default value is false.
|
|
610
|
+
#
|
|
611
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
612
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
613
|
+
# with an error code.
|
|
508
614
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
509
615
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslCertificate>]
|
|
510
616
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -211,7 +211,9 @@ module Google
|
|
|
211
211
|
# Service calls
|
|
212
212
|
|
|
213
213
|
##
|
|
214
|
-
# Deletes the specified SSL policy. The SSL policy resource can be deleted
|
|
214
|
+
# Deletes the specified SSL policy. The SSL policy resource can be deleted
|
|
215
|
+
# only if it is not in use by any TargetHttpsProxy or TargetSslProxy
|
|
216
|
+
# resources.
|
|
215
217
|
#
|
|
216
218
|
# @overload delete(request, options = nil)
|
|
217
219
|
# Pass arguments to `delete` via a request object, either of type
|
|
@@ -233,9 +235,22 @@ module Google
|
|
|
233
235
|
# @param region [::String]
|
|
234
236
|
# Name of the region scoping this request.
|
|
235
237
|
# @param request_id [::String]
|
|
236
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
238
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
239
|
+
# that if you must retry your request, the server will know to ignore the
|
|
240
|
+
# request if it has already been completed.
|
|
241
|
+
#
|
|
242
|
+
# For example, consider a situation where you make an initial request and
|
|
243
|
+
# the request times out. If you make the request again with the same
|
|
244
|
+
# request ID, the server can check if original operation with the same
|
|
245
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
246
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
247
|
+
#
|
|
248
|
+
# The request ID must be
|
|
249
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
250
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
237
251
|
# @param ssl_policy [::String]
|
|
238
|
-
# Name of the SSL policy to delete. The name must be 1-63 characters long,
|
|
252
|
+
# Name of the SSL policy to delete. The name must be 1-63 characters long,
|
|
253
|
+
# and comply with RFC1035.
|
|
239
254
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
240
255
|
# @yieldparam result [::Gapic::GenericLRO::Operation]
|
|
241
256
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -327,7 +342,8 @@ module Google
|
|
|
327
342
|
# @param region [::String]
|
|
328
343
|
# Name of the region scoping this request.
|
|
329
344
|
# @param ssl_policy [::String]
|
|
330
|
-
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
345
|
+
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
346
|
+
# and comply with RFC1035.
|
|
331
347
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
332
348
|
# @yieldparam result [::Google::Cloud::Compute::V1::SslPolicy]
|
|
333
349
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -387,7 +403,8 @@ module Google
|
|
|
387
403
|
end
|
|
388
404
|
|
|
389
405
|
##
|
|
390
|
-
# Creates a new policy in the specified project and region using the data
|
|
406
|
+
# Creates a new policy in the specified project and region using the data
|
|
407
|
+
# included in the request.
|
|
391
408
|
#
|
|
392
409
|
# @overload insert(request, options = nil)
|
|
393
410
|
# Pass arguments to `insert` via a request object, either of type
|
|
@@ -409,7 +426,19 @@ module Google
|
|
|
409
426
|
# @param region [::String]
|
|
410
427
|
# Name of the region scoping this request.
|
|
411
428
|
# @param request_id [::String]
|
|
412
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
429
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
430
|
+
# that if you must retry your request, the server will know to ignore the
|
|
431
|
+
# request if it has already been completed.
|
|
432
|
+
#
|
|
433
|
+
# For example, consider a situation where you make an initial request and
|
|
434
|
+
# the request times out. If you make the request again with the same
|
|
435
|
+
# request ID, the server can check if original operation with the same
|
|
436
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
437
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
438
|
+
#
|
|
439
|
+
# The request ID must be
|
|
440
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
441
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
413
442
|
# @param ssl_policy_resource [::Google::Cloud::Compute::V1::SslPolicy, ::Hash]
|
|
414
443
|
# The body resource for this request
|
|
415
444
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
@@ -481,7 +510,8 @@ module Google
|
|
|
481
510
|
end
|
|
482
511
|
|
|
483
512
|
##
|
|
484
|
-
# Lists all the SSL policies that have been configured for the specified
|
|
513
|
+
# Lists all the SSL policies that have been configured for the specified
|
|
514
|
+
# project and region.
|
|
485
515
|
#
|
|
486
516
|
# @overload list(request, options = nil)
|
|
487
517
|
# Pass arguments to `list` via a request object, either of type
|
|
@@ -499,19 +529,97 @@ module Google
|
|
|
499
529
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
500
530
|
#
|
|
501
531
|
# @param filter [::String]
|
|
502
|
-
# A filter expression that filters resources listed in the response. Most
|
|
532
|
+
# A filter expression that filters resources listed in the response. Most
|
|
533
|
+
# Compute resources support two types of filter expressions:
|
|
534
|
+
# expressions that support regular expressions and expressions that follow
|
|
535
|
+
# API improvement proposal AIP-160.
|
|
536
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
537
|
+
#
|
|
538
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
539
|
+
# operator, and the value that you want to use for filtering. The value
|
|
540
|
+
# must be a string, a number, or a boolean. The operator
|
|
541
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
542
|
+
#
|
|
543
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
544
|
+
# exclude instances named `example-instance` by specifying
|
|
545
|
+
# `name != example-instance`.
|
|
546
|
+
#
|
|
547
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
548
|
+
# For example, to find all objects with `owner` label use:
|
|
549
|
+
# ```
|
|
550
|
+
# labels.owner:*
|
|
551
|
+
# ```
|
|
552
|
+
#
|
|
553
|
+
# You can also filter nested fields. For example, you could specify
|
|
554
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
555
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
556
|
+
# on nested fields to filter based onresource labels.
|
|
557
|
+
#
|
|
558
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
559
|
+
# parentheses. For example:
|
|
560
|
+
# ```
|
|
561
|
+
# (scheduling.automaticRestart = true)
|
|
562
|
+
# (cpuPlatform = "Intel Skylake")
|
|
563
|
+
# ```
|
|
564
|
+
# By default, each expression is an `AND` expression. However, you
|
|
565
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
566
|
+
# For example:
|
|
567
|
+
# ```
|
|
568
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
569
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
570
|
+
# (scheduling.automaticRestart = true)
|
|
571
|
+
# ```
|
|
572
|
+
#
|
|
573
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
574
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
575
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
576
|
+
#
|
|
577
|
+
# `fieldname eq unquoted literal`
|
|
578
|
+
# `fieldname eq 'single quoted literal'`
|
|
579
|
+
# `fieldname eq "double quoted literal"`
|
|
580
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
581
|
+
#
|
|
582
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
583
|
+
# The literal value must match the entire field.
|
|
584
|
+
#
|
|
585
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
586
|
+
# you would use `name ne .*instance`.
|
|
587
|
+
#
|
|
588
|
+
# You cannot combine constraints on multiple fields using regular
|
|
589
|
+
# expressions.
|
|
503
590
|
# @param max_results [::Integer]
|
|
504
|
-
# The maximum number of results per page that should be returned.
|
|
591
|
+
# The maximum number of results per page that should be returned.
|
|
592
|
+
# If the number of available results is larger than `maxResults`,
|
|
593
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
594
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
595
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
505
596
|
# @param order_by [::String]
|
|
506
|
-
# Sorts list results by a certain order. By default, results
|
|
597
|
+
# Sorts list results by a certain order. By default, results
|
|
598
|
+
# are returned in alphanumerical order based on the resource name.
|
|
599
|
+
#
|
|
600
|
+
# You can also sort results in descending order based on the creation
|
|
601
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
602
|
+
# results based on the `creationTimestamp` field in
|
|
603
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
604
|
+
# resources like operations so that the newest operation is returned first.
|
|
605
|
+
#
|
|
606
|
+
# Currently, only sorting by `name` or
|
|
607
|
+
# `creationTimestamp desc` is supported.
|
|
507
608
|
# @param page_token [::String]
|
|
508
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
609
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
610
|
+
# `nextPageToken` returned by a previous list request to get
|
|
611
|
+
# the next page of results.
|
|
509
612
|
# @param project [::String]
|
|
510
613
|
# Project ID for this request.
|
|
511
614
|
# @param region [::String]
|
|
512
615
|
# Name of the region scoping this request.
|
|
513
616
|
# @param return_partial_success [::Boolean]
|
|
514
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
617
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
618
|
+
# of failure. The default value is false.
|
|
619
|
+
#
|
|
620
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
621
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
622
|
+
# with an error code.
|
|
515
623
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
516
624
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Compute::V1::SslPolicy>]
|
|
517
625
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -573,7 +681,8 @@ module Google
|
|
|
573
681
|
end
|
|
574
682
|
|
|
575
683
|
##
|
|
576
|
-
# Lists all features that can be specified in the SSL policy when using
|
|
684
|
+
# Lists all features that can be specified in the SSL policy when using
|
|
685
|
+
# custom profile.
|
|
577
686
|
#
|
|
578
687
|
# @overload list_available_features(request, options = nil)
|
|
579
688
|
# Pass arguments to `list_available_features` via a request object, either of type
|
|
@@ -591,19 +700,97 @@ module Google
|
|
|
591
700
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
592
701
|
#
|
|
593
702
|
# @param filter [::String]
|
|
594
|
-
# A filter expression that filters resources listed in the response. Most
|
|
703
|
+
# A filter expression that filters resources listed in the response. Most
|
|
704
|
+
# Compute resources support two types of filter expressions:
|
|
705
|
+
# expressions that support regular expressions and expressions that follow
|
|
706
|
+
# API improvement proposal AIP-160.
|
|
707
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
708
|
+
#
|
|
709
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
710
|
+
# operator, and the value that you want to use for filtering. The value
|
|
711
|
+
# must be a string, a number, or a boolean. The operator
|
|
712
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
713
|
+
#
|
|
714
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
715
|
+
# exclude instances named `example-instance` by specifying
|
|
716
|
+
# `name != example-instance`.
|
|
717
|
+
#
|
|
718
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
719
|
+
# For example, to find all objects with `owner` label use:
|
|
720
|
+
# ```
|
|
721
|
+
# labels.owner:*
|
|
722
|
+
# ```
|
|
723
|
+
#
|
|
724
|
+
# You can also filter nested fields. For example, you could specify
|
|
725
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
726
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
727
|
+
# on nested fields to filter based onresource labels.
|
|
728
|
+
#
|
|
729
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
730
|
+
# parentheses. For example:
|
|
731
|
+
# ```
|
|
732
|
+
# (scheduling.automaticRestart = true)
|
|
733
|
+
# (cpuPlatform = "Intel Skylake")
|
|
734
|
+
# ```
|
|
735
|
+
# By default, each expression is an `AND` expression. However, you
|
|
736
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
737
|
+
# For example:
|
|
738
|
+
# ```
|
|
739
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
740
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
741
|
+
# (scheduling.automaticRestart = true)
|
|
742
|
+
# ```
|
|
743
|
+
#
|
|
744
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
745
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
746
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
747
|
+
#
|
|
748
|
+
# `fieldname eq unquoted literal`
|
|
749
|
+
# `fieldname eq 'single quoted literal'`
|
|
750
|
+
# `fieldname eq "double quoted literal"`
|
|
751
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
752
|
+
#
|
|
753
|
+
# The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
|
|
754
|
+
# The literal value must match the entire field.
|
|
755
|
+
#
|
|
756
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
757
|
+
# you would use `name ne .*instance`.
|
|
758
|
+
#
|
|
759
|
+
# You cannot combine constraints on multiple fields using regular
|
|
760
|
+
# expressions.
|
|
595
761
|
# @param max_results [::Integer]
|
|
596
|
-
# The maximum number of results per page that should be returned.
|
|
762
|
+
# The maximum number of results per page that should be returned.
|
|
763
|
+
# If the number of available results is larger than `maxResults`,
|
|
764
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
765
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
766
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
597
767
|
# @param order_by [::String]
|
|
598
|
-
# Sorts list results by a certain order. By default, results
|
|
768
|
+
# Sorts list results by a certain order. By default, results
|
|
769
|
+
# are returned in alphanumerical order based on the resource name.
|
|
770
|
+
#
|
|
771
|
+
# You can also sort results in descending order based on the creation
|
|
772
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
773
|
+
# results based on the `creationTimestamp` field in
|
|
774
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
775
|
+
# resources like operations so that the newest operation is returned first.
|
|
776
|
+
#
|
|
777
|
+
# Currently, only sorting by `name` or
|
|
778
|
+
# `creationTimestamp desc` is supported.
|
|
599
779
|
# @param page_token [::String]
|
|
600
|
-
# Specifies a page token to use. Set `pageToken` to the
|
|
780
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
781
|
+
# `nextPageToken` returned by a previous list request to get
|
|
782
|
+
# the next page of results.
|
|
601
783
|
# @param project [::String]
|
|
602
784
|
# Project ID for this request.
|
|
603
785
|
# @param region [::String]
|
|
604
786
|
# Name of the region scoping this request.
|
|
605
787
|
# @param return_partial_success [::Boolean]
|
|
606
|
-
# Opt-in for partial success behavior which provides partial results in case
|
|
788
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
789
|
+
# of failure. The default value is false.
|
|
790
|
+
#
|
|
791
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
792
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
793
|
+
# with an error code.
|
|
607
794
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
608
795
|
# @yieldparam result [::Google::Cloud::Compute::V1::SslPoliciesListAvailableFeaturesResponse]
|
|
609
796
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -685,9 +872,22 @@ module Google
|
|
|
685
872
|
# @param region [::String]
|
|
686
873
|
# Name of the region scoping this request.
|
|
687
874
|
# @param request_id [::String]
|
|
688
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
|
875
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
876
|
+
# that if you must retry your request, the server will know to ignore the
|
|
877
|
+
# request if it has already been completed.
|
|
878
|
+
#
|
|
879
|
+
# For example, consider a situation where you make an initial request and
|
|
880
|
+
# the request times out. If you make the request again with the same
|
|
881
|
+
# request ID, the server can check if original operation with the same
|
|
882
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
883
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
884
|
+
#
|
|
885
|
+
# The request ID must be
|
|
886
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
887
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
689
888
|
# @param ssl_policy [::String]
|
|
690
|
-
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
889
|
+
# Name of the SSL policy to update. The name must be 1-63 characters long,
|
|
890
|
+
# and comply with RFC1035.
|
|
691
891
|
# @param ssl_policy_resource [::Google::Cloud::Compute::V1::SslPolicy, ::Hash]
|
|
692
892
|
# The body resource for this request
|
|
693
893
|
# @yield [result, operation] Access the result along with the TransportOperation object
|