google-cloud-gke_multi_cloud-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +144 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +1729 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/credentials.rb +47 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +767 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/paths.rb +107 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +51 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +2184 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/credentials.rb +47 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +767 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/paths.rb +126 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +51 -0
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +28 -0
- data/lib/google/cloud/gke_multi_cloud/v1.rb +41 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +187 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +110 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +90 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +183 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +138 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +115 -0
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +71 -0
- data/lib/google-cloud-gke_multi_cloud-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +633 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +383 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +716 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +473 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +164 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +232 -0
@@ -0,0 +1,473 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module GkeMultiCloud
|
23
|
+
module V1
|
24
|
+
# Request message for `AzureClusters.CreateAzureCluster` method.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The parent location where this {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource
|
28
|
+
# will be created.
|
29
|
+
#
|
30
|
+
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
31
|
+
#
|
32
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
33
|
+
# for more details on Google Cloud resource names.
|
34
|
+
# @!attribute [rw] azure_cluster
|
35
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureCluster]
|
36
|
+
# Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to create.
|
37
|
+
# @!attribute [rw] azure_cluster_id
|
38
|
+
# @return [::String]
|
39
|
+
# Required. A client provided ID the resource. Must be unique within the parent
|
40
|
+
# resource.
|
41
|
+
#
|
42
|
+
# The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
|
43
|
+
# resource name formatted as
|
44
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
45
|
+
#
|
46
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
|
47
|
+
# @!attribute [rw] validate_only
|
48
|
+
# @return [::Boolean]
|
49
|
+
# If set, only validate the request, but do not actually create the cluster.
|
50
|
+
class CreateAzureClusterRequest
|
51
|
+
include ::Google::Protobuf::MessageExts
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
end
|
54
|
+
|
55
|
+
# Request message for `AzureClusters.UpdateAzureCluster` method.
|
56
|
+
# @!attribute [rw] azure_cluster
|
57
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureCluster]
|
58
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to update.
|
59
|
+
# @!attribute [rw] validate_only
|
60
|
+
# @return [::Boolean]
|
61
|
+
# If set, only validate the request, but do not actually update the cluster.
|
62
|
+
# @!attribute [rw] update_mask
|
63
|
+
# @return [::Google::Protobuf::FieldMask]
|
64
|
+
# Required. Mask of fields to update. At least one path must be supplied in
|
65
|
+
# this field. The elements of the repeated paths field can only include these
|
66
|
+
# fields from {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}:
|
67
|
+
#
|
68
|
+
# * `description`.
|
69
|
+
# * `annotations`.
|
70
|
+
# * `azureClient`.
|
71
|
+
# * `control_plane.version`.
|
72
|
+
# * `control_plane.vm_size`.
|
73
|
+
# * `authorization.admin_users`.
|
74
|
+
# * `control_plane.root_volume.size_gib`.
|
75
|
+
# * `logging_config`
|
76
|
+
class UpdateAzureClusterRequest
|
77
|
+
include ::Google::Protobuf::MessageExts
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
79
|
+
end
|
80
|
+
|
81
|
+
# Request message for `AzureClusters.GetAzureCluster` method.
|
82
|
+
# @!attribute [rw] name
|
83
|
+
# @return [::String]
|
84
|
+
# Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to describe.
|
85
|
+
#
|
86
|
+
# `AzureCluster` names are formatted as
|
87
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
88
|
+
#
|
89
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
90
|
+
# for more details on GCP resource names.
|
91
|
+
class GetAzureClusterRequest
|
92
|
+
include ::Google::Protobuf::MessageExts
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
end
|
95
|
+
|
96
|
+
# Request message for `AzureClusters.ListAzureClusters` method.
|
97
|
+
# @!attribute [rw] parent
|
98
|
+
# @return [::String]
|
99
|
+
# Required. The parent location which owns this collection of
|
100
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resources.
|
101
|
+
#
|
102
|
+
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
103
|
+
#
|
104
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
105
|
+
# for more details on GCP resource names.
|
106
|
+
# @!attribute [rw] page_size
|
107
|
+
# @return [::Integer]
|
108
|
+
# The maximum number of items to return.
|
109
|
+
#
|
110
|
+
# If not specified, a default value of 50 will be used by the service.
|
111
|
+
# Regardless of the pageSize value, the response can include a partial list
|
112
|
+
# and a caller should only rely on response's
|
113
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse#next_page_token nextPageToken} to determine if
|
114
|
+
# there are more instances left to be queried.
|
115
|
+
# @!attribute [rw] page_token
|
116
|
+
# @return [::String]
|
117
|
+
# The `nextPageToken` value returned from a previous
|
118
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list} request, if any.
|
119
|
+
class ListAzureClustersRequest
|
120
|
+
include ::Google::Protobuf::MessageExts
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
end
|
123
|
+
|
124
|
+
# Response message for `AzureClusters.ListAzureClusters` method.
|
125
|
+
# @!attribute [rw] azure_clusters
|
126
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureCluster>]
|
127
|
+
# A list of {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resources in the specified GCP
|
128
|
+
# project and region region.
|
129
|
+
# @!attribute [rw] next_page_token
|
130
|
+
# @return [::String]
|
131
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
132
|
+
# results in the list.
|
133
|
+
class ListAzureClustersResponse
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
end
|
137
|
+
|
138
|
+
# Request message for `Clusters.DeleteAzureCluster` method.
|
139
|
+
# @!attribute [rw] name
|
140
|
+
# @return [::String]
|
141
|
+
# Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to delete.
|
142
|
+
#
|
143
|
+
# `AzureCluster` names are formatted as
|
144
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
145
|
+
#
|
146
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
147
|
+
# for more details on GCP resource names.
|
148
|
+
# @!attribute [rw] allow_missing
|
149
|
+
# @return [::Boolean]
|
150
|
+
# If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource is not found,
|
151
|
+
# the request will succeed but no action will be taken on the server and a
|
152
|
+
# completed {::Google::Longrunning::Operation Operation} will be returned.
|
153
|
+
#
|
154
|
+
# Useful for idempotent deletion.
|
155
|
+
# @!attribute [rw] validate_only
|
156
|
+
# @return [::Boolean]
|
157
|
+
# If set, only validate the request, but do not actually delete the resource.
|
158
|
+
# @!attribute [rw] etag
|
159
|
+
# @return [::String]
|
160
|
+
# The current etag of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
|
161
|
+
#
|
162
|
+
# Allows clients to perform deletions through optimistic concurrency control.
|
163
|
+
#
|
164
|
+
# If the provided etag does not match the current etag of the cluster,
|
165
|
+
# the request will fail and an ABORTED error will be returned.
|
166
|
+
class DeleteAzureClusterRequest
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
|
171
|
+
# Response message for `AzureClusters.CreateAzureNodePool` method.
|
172
|
+
# @!attribute [rw] parent
|
173
|
+
# @return [::String]
|
174
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource where this node pool will be created.
|
175
|
+
#
|
176
|
+
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
177
|
+
#
|
178
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
179
|
+
# for more details on Google Cloud resource names.
|
180
|
+
# @!attribute [rw] azure_node_pool
|
181
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool]
|
182
|
+
# Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to create.
|
183
|
+
# @!attribute [rw] azure_node_pool_id
|
184
|
+
# @return [::String]
|
185
|
+
# Required. A client provided ID the resource. Must be unique within the parent
|
186
|
+
# resource.
|
187
|
+
#
|
188
|
+
# The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
|
189
|
+
# resource name formatted as
|
190
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
|
191
|
+
#
|
192
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
|
193
|
+
# @!attribute [rw] validate_only
|
194
|
+
# @return [::Boolean]
|
195
|
+
# If set, only validate the request, but do not actually create the node
|
196
|
+
# pool.
|
197
|
+
class CreateAzureNodePoolRequest
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
|
+
end
|
201
|
+
|
202
|
+
# Request message for `AzureClusters.UpdateAzureNodePool` method.
|
203
|
+
# @!attribute [rw] azure_node_pool
|
204
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool]
|
205
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to update.
|
206
|
+
# @!attribute [rw] validate_only
|
207
|
+
# @return [::Boolean]
|
208
|
+
# If set, only validate the request, but don't actually update the node pool.
|
209
|
+
# @!attribute [rw] update_mask
|
210
|
+
# @return [::Google::Protobuf::FieldMask]
|
211
|
+
# Required. Mask of fields to update. At least one path must be supplied in
|
212
|
+
# this field. The elements of the repeated paths field can only include these
|
213
|
+
# fields from {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}:
|
214
|
+
#
|
215
|
+
# *. `annotations`.
|
216
|
+
# * `version`.
|
217
|
+
# * `autoscaling.min_node_count`.
|
218
|
+
# * `autoscaling.max_node_count`.
|
219
|
+
# * `config.vm_size`.
|
220
|
+
class UpdateAzureNodePoolRequest
|
221
|
+
include ::Google::Protobuf::MessageExts
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
|
+
end
|
224
|
+
|
225
|
+
# Request message for `AzureClusters.GetAzureNodePool` method.
|
226
|
+
# @!attribute [rw] name
|
227
|
+
# @return [::String]
|
228
|
+
# Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to describe.
|
229
|
+
#
|
230
|
+
# `AzureNodePool` names are formatted as
|
231
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
|
232
|
+
#
|
233
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
234
|
+
# for more details on Google Cloud resource names.
|
235
|
+
class GetAzureNodePoolRequest
|
236
|
+
include ::Google::Protobuf::MessageExts
|
237
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
238
|
+
end
|
239
|
+
|
240
|
+
# Request message for `AzureClusters.ListAzureNodePools` method.
|
241
|
+
# @!attribute [rw] parent
|
242
|
+
# @return [::String]
|
243
|
+
# Required. The parent `AzureCluster` which owns this collection of
|
244
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resources.
|
245
|
+
#
|
246
|
+
# `AzureCluster` names are formatted as
|
247
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
|
248
|
+
#
|
249
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
250
|
+
# for more details on Google Cloud resource names.
|
251
|
+
# @!attribute [rw] page_size
|
252
|
+
# @return [::Integer]
|
253
|
+
# The maximum number of items to return.
|
254
|
+
#
|
255
|
+
# If not specified, a default value of 50 will be used by the service.
|
256
|
+
# Regardless of the pageSize value, the response can include a partial list
|
257
|
+
# and a caller should only rely on response's
|
258
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse#next_page_token nextPageToken} to determine if
|
259
|
+
# there are more instances left to be queried.
|
260
|
+
# @!attribute [rw] page_token
|
261
|
+
# @return [::String]
|
262
|
+
# The `nextPageToken` value returned from a previous
|
263
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list} request, if any.
|
264
|
+
class ListAzureNodePoolsRequest
|
265
|
+
include ::Google::Protobuf::MessageExts
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
267
|
+
end
|
268
|
+
|
269
|
+
# Response message for `AzureClusters.ListAzureNodePools` method.
|
270
|
+
# @!attribute [rw] azure_node_pools
|
271
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureNodePool>]
|
272
|
+
# A list of {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resources in the specified `AzureCluster`.
|
273
|
+
# @!attribute [rw] next_page_token
|
274
|
+
# @return [::String]
|
275
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
276
|
+
# results in the list.
|
277
|
+
class ListAzureNodePoolsResponse
|
278
|
+
include ::Google::Protobuf::MessageExts
|
279
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
280
|
+
end
|
281
|
+
|
282
|
+
# Delete message for `AzureClusters.DeleteNodePool` method.
|
283
|
+
# @!attribute [rw] name
|
284
|
+
# @return [::String]
|
285
|
+
# Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to delete.
|
286
|
+
#
|
287
|
+
# `AzureNodePool` names are formatted as
|
288
|
+
# `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
|
289
|
+
#
|
290
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
291
|
+
# for more details on Google Cloud resource names.
|
292
|
+
# @!attribute [rw] validate_only
|
293
|
+
# @return [::Boolean]
|
294
|
+
# If set, only validate the request, but do not actually delete the node
|
295
|
+
# pool.
|
296
|
+
# @!attribute [rw] allow_missing
|
297
|
+
# @return [::Boolean]
|
298
|
+
# If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource is not found,
|
299
|
+
# the request will succeed but no action will be taken on the server and a
|
300
|
+
# completed {::Google::Longrunning::Operation Operation} will be returned.
|
301
|
+
#
|
302
|
+
# Useful for idempotent deletion.
|
303
|
+
# @!attribute [rw] etag
|
304
|
+
# @return [::String]
|
305
|
+
# The current ETag of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
|
306
|
+
#
|
307
|
+
# Allows clients to perform deletions through optimistic concurrency control.
|
308
|
+
#
|
309
|
+
# If the provided ETag does not match the current etag of the node pool,
|
310
|
+
# the request will fail and an ABORTED error will be returned.
|
311
|
+
class DeleteAzureNodePoolRequest
|
312
|
+
include ::Google::Protobuf::MessageExts
|
313
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
314
|
+
end
|
315
|
+
|
316
|
+
# GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
|
317
|
+
# @!attribute [rw] name
|
318
|
+
# @return [::String]
|
319
|
+
# Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig AzureServerConfig} resource to describe.
|
320
|
+
#
|
321
|
+
# `AzureServerConfig` names are formatted as
|
322
|
+
# `projects/<project-id>/locations/<region>/azureServerConfig`.
|
323
|
+
#
|
324
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
325
|
+
# for more details on Google Cloud resource names.
|
326
|
+
class GetAzureServerConfigRequest
|
327
|
+
include ::Google::Protobuf::MessageExts
|
328
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
329
|
+
end
|
330
|
+
|
331
|
+
# Request message for `AzureClusters.CreateAzureClient` method.
|
332
|
+
# @!attribute [rw] parent
|
333
|
+
# @return [::String]
|
334
|
+
# Required. The parent location where this {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource
|
335
|
+
# will be created.
|
336
|
+
#
|
337
|
+
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
338
|
+
#
|
339
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
340
|
+
# for more details on Google Cloud resource names.
|
341
|
+
# @!attribute [rw] azure_client
|
342
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureClient]
|
343
|
+
# Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to create.
|
344
|
+
# @!attribute [rw] azure_client_id
|
345
|
+
# @return [::String]
|
346
|
+
# Required. A client provided ID the resource. Must be unique within the parent
|
347
|
+
# resource.
|
348
|
+
#
|
349
|
+
# The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
|
350
|
+
# resource name formatted as
|
351
|
+
# `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
|
352
|
+
#
|
353
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
|
354
|
+
# @!attribute [rw] validate_only
|
355
|
+
# @return [::Boolean]
|
356
|
+
# If set, only validate the request, but do not actually create the client.
|
357
|
+
class CreateAzureClientRequest
|
358
|
+
include ::Google::Protobuf::MessageExts
|
359
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
360
|
+
end
|
361
|
+
|
362
|
+
# Request message for `AzureClusters.GetAzureClient` method.
|
363
|
+
# @!attribute [rw] name
|
364
|
+
# @return [::String]
|
365
|
+
# Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource to describe.
|
366
|
+
#
|
367
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are formatted as
|
368
|
+
# `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
|
369
|
+
#
|
370
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
371
|
+
# for more details on Google Cloud resource names.
|
372
|
+
class GetAzureClientRequest
|
373
|
+
include ::Google::Protobuf::MessageExts
|
374
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
375
|
+
end
|
376
|
+
|
377
|
+
# Request message for `AzureClusters.ListAzureClients` method.
|
378
|
+
# @!attribute [rw] parent
|
379
|
+
# @return [::String]
|
380
|
+
# Required. The parent location which owns this collection of
|
381
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resources.
|
382
|
+
#
|
383
|
+
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
384
|
+
#
|
385
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
386
|
+
# for more details on GCP resource names.
|
387
|
+
# @!attribute [rw] page_size
|
388
|
+
# @return [::Integer]
|
389
|
+
# The maximum number of items to return.
|
390
|
+
#
|
391
|
+
# If not specified, a default value of 50 will be used by the service.
|
392
|
+
# Regardless of the pageSize value, the response can include a partial list
|
393
|
+
# and a caller should only rely on response's
|
394
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse#next_page_token nextPageToken} to determine if
|
395
|
+
# there are more instances left to be queried.
|
396
|
+
# @!attribute [rw] page_token
|
397
|
+
# @return [::String]
|
398
|
+
# The `nextPageToken` value returned from a previous
|
399
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clients azureClients.list} request, if any.
|
400
|
+
class ListAzureClientsRequest
|
401
|
+
include ::Google::Protobuf::MessageExts
|
402
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
403
|
+
end
|
404
|
+
|
405
|
+
# Response message for `AzureClusters.ListAzureClients` method.
|
406
|
+
# @!attribute [rw] azure_clients
|
407
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureClient>]
|
408
|
+
# A list of {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resources in the specified Google Cloud
|
409
|
+
# project and region region.
|
410
|
+
# @!attribute [rw] next_page_token
|
411
|
+
# @return [::String]
|
412
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
413
|
+
# results in the list.
|
414
|
+
class ListAzureClientsResponse
|
415
|
+
include ::Google::Protobuf::MessageExts
|
416
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
417
|
+
end
|
418
|
+
|
419
|
+
# Request message for `AzureClusters.DeleteAzureClient` method.
|
420
|
+
# @!attribute [rw] name
|
421
|
+
# @return [::String]
|
422
|
+
# Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to delete.
|
423
|
+
#
|
424
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are formatted as
|
425
|
+
# `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
|
426
|
+
#
|
427
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
428
|
+
# for more details on Google Cloud resource names.
|
429
|
+
# @!attribute [rw] allow_missing
|
430
|
+
# @return [::Boolean]
|
431
|
+
# If set to true, and the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource is not found,
|
432
|
+
# the request will succeed but no action will be taken on the server and a
|
433
|
+
# completed {::Google::Longrunning::Operation Operation} will be returned.
|
434
|
+
#
|
435
|
+
# Useful for idempotent deletion.
|
436
|
+
# @!attribute [rw] validate_only
|
437
|
+
# @return [::Boolean]
|
438
|
+
# If set, only validate the request, but do not actually delete the resource.
|
439
|
+
class DeleteAzureClientRequest
|
440
|
+
include ::Google::Protobuf::MessageExts
|
441
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
442
|
+
end
|
443
|
+
|
444
|
+
# Request message for `AzureClusters.GenerateAzureAccessToken` method.
|
445
|
+
# @!attribute [rw] azure_cluster
|
446
|
+
# @return [::String]
|
447
|
+
# Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to authenticate to.
|
448
|
+
#
|
449
|
+
# `AzureCluster` names are formatted as
|
450
|
+
# `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
|
451
|
+
#
|
452
|
+
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
453
|
+
# for more details on Google Cloud resource names.
|
454
|
+
class GenerateAzureAccessTokenRequest
|
455
|
+
include ::Google::Protobuf::MessageExts
|
456
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
457
|
+
end
|
458
|
+
|
459
|
+
# Response message for `AzureClusters.GenerateAzureAccessToken` method.
|
460
|
+
# @!attribute [r] access_token
|
461
|
+
# @return [::String]
|
462
|
+
# Output only. Access token to authenticate to k8s api-server.
|
463
|
+
# @!attribute [r] expiration_time
|
464
|
+
# @return [::Google::Protobuf::Timestamp]
|
465
|
+
# Output only. Timestamp at which the token will expire.
|
466
|
+
class GenerateAzureAccessTokenResponse
|
467
|
+
include ::Google::Protobuf::MessageExts
|
468
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
469
|
+
end
|
470
|
+
end
|
471
|
+
end
|
472
|
+
end
|
473
|
+
end
|
@@ -0,0 +1,164 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module GkeMultiCloud
|
23
|
+
module V1
|
24
|
+
# Workload Identity settings.
|
25
|
+
# @!attribute [rw] issuer_uri
|
26
|
+
# @return [::String]
|
27
|
+
# The OIDC issuer URL for this cluster.
|
28
|
+
# @!attribute [rw] workload_pool
|
29
|
+
# @return [::String]
|
30
|
+
# The Workload Identity Pool associated to the cluster.
|
31
|
+
# @!attribute [rw] identity_provider
|
32
|
+
# @return [::String]
|
33
|
+
# The ID of the OIDC Identity Provider (IdP) associated to the Workload
|
34
|
+
# Identity Pool.
|
35
|
+
class WorkloadIdentityConfig
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
end
|
39
|
+
|
40
|
+
# Constraints applied to pods.
|
41
|
+
# @!attribute [rw] max_pods_per_node
|
42
|
+
# @return [::Integer]
|
43
|
+
# Required. The maximum number of pods to schedule on a single node.
|
44
|
+
class MaxPodsConstraint
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
|
49
|
+
# Metadata about a long-running operation.
|
50
|
+
# @!attribute [r] create_time
|
51
|
+
# @return [::Google::Protobuf::Timestamp]
|
52
|
+
# Output only. The time at which this operation was created.
|
53
|
+
# @!attribute [r] end_time
|
54
|
+
# @return [::Google::Protobuf::Timestamp]
|
55
|
+
# Output only. The time at which this operation was completed.
|
56
|
+
# @!attribute [r] target
|
57
|
+
# @return [::String]
|
58
|
+
# Output only. The name of the resource associated to this operation.
|
59
|
+
# @!attribute [r] status_detail
|
60
|
+
# @return [::String]
|
61
|
+
# Output only. Human-readable status of the operation, if any.
|
62
|
+
# @!attribute [r] error_detail
|
63
|
+
# @return [::String]
|
64
|
+
# Output only. Human-readable status of any error that occurred during the operation.
|
65
|
+
class OperationMetadata
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
end
|
69
|
+
|
70
|
+
# The taint content for the node taint.
|
71
|
+
# @!attribute [rw] key
|
72
|
+
# @return [::String]
|
73
|
+
# Required. Key for the taint.
|
74
|
+
# @!attribute [rw] value
|
75
|
+
# @return [::String]
|
76
|
+
# Required. Value for the taint.
|
77
|
+
# @!attribute [rw] effect
|
78
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::NodeTaint::Effect]
|
79
|
+
# Required. The taint effect.
|
80
|
+
class NodeTaint
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
|
84
|
+
# The taint effect.
|
85
|
+
module Effect
|
86
|
+
# Not set.
|
87
|
+
EFFECT_UNSPECIFIED = 0
|
88
|
+
|
89
|
+
# Do not allow new pods to schedule onto the node unless they tolerate the
|
90
|
+
# taint, but allow all pods submitted to Kubelet without going through the
|
91
|
+
# scheduler to start, and allow all already-running pods to continue
|
92
|
+
# running. Enforced by the scheduler.
|
93
|
+
NO_SCHEDULE = 1
|
94
|
+
|
95
|
+
# Like TaintEffectNoSchedule, but the scheduler tries not to schedule
|
96
|
+
# new pods onto the node, rather than prohibiting new pods from scheduling
|
97
|
+
# onto the node entirely. Enforced by the scheduler.
|
98
|
+
PREFER_NO_SCHEDULE = 2
|
99
|
+
|
100
|
+
# Evict any already-running pods that do not tolerate the taint.
|
101
|
+
# Currently enforced by NodeController.
|
102
|
+
NO_EXECUTE = 3
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# Fleet related configuration.
|
107
|
+
#
|
108
|
+
# Fleets are a Google Cloud concept for logically organizing clusters,
|
109
|
+
# letting you use and manage multi-cluster capabilities and apply
|
110
|
+
# consistent policies across your systems.
|
111
|
+
#
|
112
|
+
# See [Anthos
|
113
|
+
# Fleets](https://cloud.google.com/anthos/multicluster-management/fleets) for
|
114
|
+
# more details on Anthos multi-cluster capabilities using Fleets.
|
115
|
+
# @!attribute [rw] project
|
116
|
+
# @return [::String]
|
117
|
+
# Required. The name of the Fleet host project where this cluster will be registered.
|
118
|
+
#
|
119
|
+
# Project names are formatted as
|
120
|
+
# `projects/<project-number>`.
|
121
|
+
# @!attribute [r] membership
|
122
|
+
# @return [::String]
|
123
|
+
# Output only. The name of the managed Hub Membership resource associated to this cluster.
|
124
|
+
#
|
125
|
+
# Membership names are formatted as
|
126
|
+
# `projects/<project-number>/locations/global/membership/<cluster-id>`.
|
127
|
+
class Fleet
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
end
|
131
|
+
|
132
|
+
# Parameters that describe the Logging configuration in a cluster.
|
133
|
+
# @!attribute [rw] component_config
|
134
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::LoggingComponentConfig]
|
135
|
+
# The configuration of the logging components;
|
136
|
+
class LoggingConfig
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
end
|
140
|
+
|
141
|
+
# Parameters that describe the Logging component configuration in a cluster.
|
142
|
+
# @!attribute [rw] enable_components
|
143
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::LoggingComponentConfig::Component>]
|
144
|
+
# The components to be enabled.
|
145
|
+
class LoggingComponentConfig
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
|
+
|
149
|
+
# The components of the logging configuration;
|
150
|
+
module Component
|
151
|
+
# No component is specified
|
152
|
+
COMPONENT_UNSPECIFIED = 0
|
153
|
+
|
154
|
+
# This indicates that system logging components is enabled.
|
155
|
+
SYSTEM_COMPONENTS = 1
|
156
|
+
|
157
|
+
# This indicates that user workload logging component is enabled.
|
158
|
+
WORKLOADS = 2
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|