google-cloud-compute-v1 3.5.0 → 3.7.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/backend_buckets/rest/client.rb +375 -0
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +122 -0
- data/lib/google/cloud/compute/v1/compute_pb.rb +151 -1
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +118 -0
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/client.rb +1164 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest/service_stub.rb +453 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/global_vm_extension_policies.rb +47 -0
- 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/license_codes/credentials.rb +0 -1
- data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +193 -0
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +125 -0
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +116 -0
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +63 -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_composite_health_checks/rest/client.rb +95 -0
- data/lib/google/cloud/compute/v1/region_composite_health_checks/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +118 -0
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +64 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/client.rb +95 -0
- data/lib/google/cloud/compute/v1/region_health_sources/rest/service_stub.rb +63 -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_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_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/rest.rb +10 -0
- data/lib/google/cloud/compute/v1/rollout_plans/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/client.rb +848 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest/service_stub.rb +328 -0
- data/lib/google/cloud/compute/v1/rollout_plans/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/rollout_plans.rb +47 -0
- data/lib/google/cloud/compute/v1/rollouts/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/client.rb +853 -0
- data/lib/google/cloud/compute/v1/rollouts/rest/service_stub.rb +328 -0
- data/lib/google/cloud/compute/v1/rollouts/rest.rb +51 -0
- data/lib/google/cloud/compute/v1/rollouts.rb +47 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +115 -0
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +63 -0
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- 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.rb +10 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +6037 -1099
- metadata +51 -1
|
@@ -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
|
|
@@ -36,6 +36,7 @@ require "google/cloud/compute/v1/global_network_endpoint_groups/rest"
|
|
|
36
36
|
require "google/cloud/compute/v1/global_operations/rest"
|
|
37
37
|
require "google/cloud/compute/v1/global_organization_operations/rest"
|
|
38
38
|
require "google/cloud/compute/v1/global_public_delegated_prefixes/rest"
|
|
39
|
+
require "google/cloud/compute/v1/global_vm_extension_policies/rest"
|
|
39
40
|
require "google/cloud/compute/v1/health_checks/rest"
|
|
40
41
|
require "google/cloud/compute/v1/image_family_views/rest"
|
|
41
42
|
require "google/cloud/compute/v1/images/rest"
|
|
@@ -45,6 +46,7 @@ require "google/cloud/compute/v1/instance_groups/rest"
|
|
|
45
46
|
require "google/cloud/compute/v1/instance_settings_service/rest"
|
|
46
47
|
require "google/cloud/compute/v1/instance_templates/rest"
|
|
47
48
|
require "google/cloud/compute/v1/instances/rest"
|
|
49
|
+
require "google/cloud/compute/v1/instant_snapshot_groups/rest"
|
|
48
50
|
require "google/cloud/compute/v1/instant_snapshots/rest"
|
|
49
51
|
require "google/cloud/compute/v1/interconnect_attachment_groups/rest"
|
|
50
52
|
require "google/cloud/compute/v1/interconnect_attachments/rest"
|
|
@@ -72,6 +74,7 @@ require "google/cloud/compute/v1/projects/rest"
|
|
|
72
74
|
require "google/cloud/compute/v1/public_advertised_prefixes/rest"
|
|
73
75
|
require "google/cloud/compute/v1/public_delegated_prefixes/rest"
|
|
74
76
|
require "google/cloud/compute/v1/region_autoscalers/rest"
|
|
77
|
+
require "google/cloud/compute/v1/region_backend_buckets/rest"
|
|
75
78
|
require "google/cloud/compute/v1/region_backend_services/rest"
|
|
76
79
|
require "google/cloud/compute/v1/region_commitments/rest"
|
|
77
80
|
require "google/cloud/compute/v1/region_composite_health_checks/rest"
|
|
@@ -81,16 +84,20 @@ require "google/cloud/compute/v1/region_health_aggregation_policies/rest"
|
|
|
81
84
|
require "google/cloud/compute/v1/region_health_check_services/rest"
|
|
82
85
|
require "google/cloud/compute/v1/region_health_checks/rest"
|
|
83
86
|
require "google/cloud/compute/v1/region_health_sources/rest"
|
|
87
|
+
require "google/cloud/compute/v1/region_instance_group_manager_resize_requests/rest"
|
|
84
88
|
require "google/cloud/compute/v1/region_instance_group_managers/rest"
|
|
85
89
|
require "google/cloud/compute/v1/region_instance_groups/rest"
|
|
86
90
|
require "google/cloud/compute/v1/region_instance_templates/rest"
|
|
87
91
|
require "google/cloud/compute/v1/region_instances/rest"
|
|
92
|
+
require "google/cloud/compute/v1/region_instant_snapshot_groups/rest"
|
|
88
93
|
require "google/cloud/compute/v1/region_instant_snapshots/rest"
|
|
89
94
|
require "google/cloud/compute/v1/region_network_endpoint_groups/rest"
|
|
90
95
|
require "google/cloud/compute/v1/region_network_firewall_policies/rest"
|
|
91
96
|
require "google/cloud/compute/v1/region_notification_endpoints/rest"
|
|
92
97
|
require "google/cloud/compute/v1/region_operations/rest"
|
|
93
98
|
require "google/cloud/compute/v1/region_security_policies/rest"
|
|
99
|
+
require "google/cloud/compute/v1/region_snapshot_settings/rest"
|
|
100
|
+
require "google/cloud/compute/v1/region_snapshots/rest"
|
|
94
101
|
require "google/cloud/compute/v1/region_ssl_certificates/rest"
|
|
95
102
|
require "google/cloud/compute/v1/region_ssl_policies/rest"
|
|
96
103
|
require "google/cloud/compute/v1/region_target_http_proxies/rest"
|
|
@@ -104,6 +111,8 @@ require "google/cloud/compute/v1/reservation_slots/rest"
|
|
|
104
111
|
require "google/cloud/compute/v1/reservation_sub_blocks/rest"
|
|
105
112
|
require "google/cloud/compute/v1/reservations/rest"
|
|
106
113
|
require "google/cloud/compute/v1/resource_policies/rest"
|
|
114
|
+
require "google/cloud/compute/v1/rollout_plans/rest"
|
|
115
|
+
require "google/cloud/compute/v1/rollouts/rest"
|
|
107
116
|
require "google/cloud/compute/v1/routers/rest"
|
|
108
117
|
require "google/cloud/compute/v1/routes/rest"
|
|
109
118
|
require "google/cloud/compute/v1/security_policies/rest"
|
|
@@ -128,6 +137,7 @@ require "google/cloud/compute/v1/vpn_gateways/rest"
|
|
|
128
137
|
require "google/cloud/compute/v1/vpn_tunnels/rest"
|
|
129
138
|
require "google/cloud/compute/v1/wire_groups/rest"
|
|
130
139
|
require "google/cloud/compute/v1/zone_operations/rest"
|
|
140
|
+
require "google/cloud/compute/v1/zone_vm_extension_policies/rest"
|
|
131
141
|
require "google/cloud/compute/v1/zones/rest"
|
|
132
142
|
require "google/cloud/compute/v1/version"
|
|
133
143
|
|
|
@@ -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 RolloutPlans
|
|
26
|
+
# Credentials for the RolloutPlans 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
|