google-cloud-gke_multi_cloud-v1 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +7 -7
  3. data/README.md +4 -4
  4. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +1289 -0
  5. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/credentials.rb +47 -0
  6. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +770 -0
  7. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/paths.rb +86 -0
  8. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb +52 -0
  9. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +96 -54
  10. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +1 -1
  11. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +133 -79
  12. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +1 -1
  13. data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
  14. data/lib/google/cloud/gke_multi_cloud/v1.rb +4 -3
  15. data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +82 -0
  16. data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +84 -0
  17. data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +85 -0
  18. data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +17 -0
  19. data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +19 -11
  20. data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +19 -0
  21. data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +28 -17
  22. data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +10 -0
  23. data/proto_docs/google/api/client.rb +318 -0
  24. data/proto_docs/google/api/launch_stage.rb +71 -0
  25. data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +239 -0
  26. data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +294 -0
  27. data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +87 -30
  28. data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +82 -47
  29. data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +100 -41
  30. data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +112 -68
  31. data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +36 -3
  32. data/proto_docs/google/protobuf/empty.rb +0 -2
  33. data/proto_docs/google/rpc/status.rb +4 -2
  34. metadata +17 -5
@@ -24,8 +24,9 @@ module Google
24
24
  # Request message for `AzureClusters.CreateAzureCluster` method.
25
25
  # @!attribute [rw] parent
26
26
  # @return [::String]
27
- # Required. The parent location where this {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource
28
- # will be created.
27
+ # Required. The parent location where this
28
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource will be
29
+ # created.
29
30
  #
30
31
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
31
32
  #
@@ -33,17 +34,19 @@ module Google
33
34
  # for more details on Google Cloud resource names.
34
35
  # @!attribute [rw] azure_cluster
35
36
  # @return [::Google::Cloud::GkeMultiCloud::V1::AzureCluster]
36
- # Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to create.
37
+ # Required. The specification of the
38
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to create.
37
39
  # @!attribute [rw] azure_cluster_id
38
40
  # @return [::String]
39
- # Required. A client provided ID the resource. Must be unique within the parent
40
- # resource.
41
+ # Required. A client provided ID the resource. Must be unique within the
42
+ # parent resource.
41
43
  #
42
- # The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
43
- # resource name formatted as
44
+ # The provided ID will be part of the
45
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource name
46
+ # formatted as
44
47
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
45
48
  #
46
- # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
49
+ # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
47
50
  # @!attribute [rw] validate_only
48
51
  # @return [::Boolean]
49
52
  # If set, only validate the request, but do not actually create the cluster.
@@ -55,7 +58,8 @@ module Google
55
58
  # Request message for `AzureClusters.UpdateAzureCluster` method.
56
59
  # @!attribute [rw] azure_cluster
57
60
  # @return [::Google::Cloud::GkeMultiCloud::V1::AzureCluster]
58
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to update.
61
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
62
+ # resource to update.
59
63
  # @!attribute [rw] validate_only
60
64
  # @return [::Boolean]
61
65
  # If set, only validate the request, but do not actually update the cluster.
@@ -66,13 +70,21 @@ module Google
66
70
  # fields from {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}:
67
71
  #
68
72
  # * `description`.
69
- # * `annotations`.
70
73
  # * `azureClient`.
71
74
  # * `control_plane.version`.
72
75
  # * `control_plane.vm_size`.
76
+ # * `annotations`.
73
77
  # * `authorization.admin_users`.
74
78
  # * `control_plane.root_volume.size_gib`.
75
- # * `logging_config`
79
+ # * `azure_services_authentication`.
80
+ # * `azure_services_authentication.tenant_id`.
81
+ # * `azure_services_authentication.application_id`.
82
+ # * `control_plane.proxy_config`.
83
+ # * `control_plane.proxy_config.resource_group_id`.
84
+ # * `control_plane.proxy_config.secret_id`.
85
+ # * `control_plane.ssh_config.authorized_key`.
86
+ # * `logging_config.component_config.enable_components`
87
+ # * `monitoring_config.managed_prometheus_config.enabled`.
76
88
  class UpdateAzureClusterRequest
77
89
  include ::Google::Protobuf::MessageExts
78
90
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -81,13 +93,15 @@ module Google
81
93
  # Request message for `AzureClusters.GetAzureCluster` method.
82
94
  # @!attribute [rw] name
83
95
  # @return [::String]
84
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to describe.
96
+ # Required. The name of the
97
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to
98
+ # describe.
85
99
  #
86
100
  # `AzureCluster` names are formatted as
87
101
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
88
102
  #
89
103
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
90
- # for more details on GCP resource names.
104
+ # for more details on Google Cloud Platform resource names.
91
105
  class GetAzureClusterRequest
92
106
  include ::Google::Protobuf::MessageExts
93
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -102,7 +116,7 @@ module Google
102
116
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
103
117
  #
104
118
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
105
- # for more details on GCP resource names.
119
+ # for more details on Google Cloud Platform resource names.
106
120
  # @!attribute [rw] page_size
107
121
  # @return [::Integer]
108
122
  # The maximum number of items to return.
@@ -110,12 +124,13 @@ module Google
110
124
  # If not specified, a default value of 50 will be used by the service.
111
125
  # Regardless of the pageSize value, the response can include a partial list
112
126
  # 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.
127
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse#next_page_token nextPageToken}
128
+ # to determine if there are more instances left to be queried.
115
129
  # @!attribute [rw] page_token
116
130
  # @return [::String]
117
131
  # The `nextPageToken` value returned from a previous
118
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list} request, if any.
132
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clusters azureClusters.list}
133
+ # request, if any.
119
134
  class ListAzureClustersRequest
120
135
  include ::Google::Protobuf::MessageExts
121
136
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -124,8 +139,8 @@ module Google
124
139
  # Response message for `AzureClusters.ListAzureClusters` method.
125
140
  # @!attribute [rw] azure_clusters
126
141
  # @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.
142
+ # A list of {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
143
+ # resources in the specified Google Cloud Platform project and region region.
129
144
  # @!attribute [rw] next_page_token
130
145
  # @return [::String]
131
146
  # Token to retrieve the next page of results, or empty if there are no more
@@ -138,18 +153,20 @@ module Google
138
153
  # Request message for `Clusters.DeleteAzureCluster` method.
139
154
  # @!attribute [rw] name
140
155
  # @return [::String]
141
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to delete.
156
+ # Required. The resource name the
157
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} to delete.
142
158
  #
143
159
  # `AzureCluster` names are formatted as
144
160
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
145
161
  #
146
162
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
147
- # for more details on GCP resource names.
163
+ # for more details on Google Cloud Platform resource names.
148
164
  # @!attribute [rw] allow_missing
149
165
  # @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.
166
+ # If set to true, and the
167
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource is not
168
+ # found, the request will succeed but no action will be taken on the server
169
+ # and a completed {::Google::Longrunning::Operation Operation} will be returned.
153
170
  #
154
171
  # Useful for idempotent deletion.
155
172
  # @!attribute [rw] validate_only
@@ -157,7 +174,8 @@ module Google
157
174
  # If set, only validate the request, but do not actually delete the resource.
158
175
  # @!attribute [rw] etag
159
176
  # @return [::String]
160
- # The current etag of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
177
+ # The current etag of the
178
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
161
179
  #
162
180
  # Allows clients to perform deletions through optimistic concurrency control.
163
181
  #
@@ -171,7 +189,8 @@ module Google
171
189
  # Response message for `AzureClusters.CreateAzureNodePool` method.
172
190
  # @!attribute [rw] parent
173
191
  # @return [::String]
174
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource where this node pool will be created.
192
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
193
+ # resource where this node pool will be created.
175
194
  #
176
195
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
177
196
  #
@@ -179,17 +198,19 @@ module Google
179
198
  # for more details on Google Cloud resource names.
180
199
  # @!attribute [rw] azure_node_pool
181
200
  # @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool]
182
- # Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to create.
201
+ # Required. The specification of the
202
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to create.
183
203
  # @!attribute [rw] azure_node_pool_id
184
204
  # @return [::String]
185
- # Required. A client provided ID the resource. Must be unique within the parent
186
- # resource.
205
+ # Required. A client provided ID the resource. Must be unique within the
206
+ # parent resource.
187
207
  #
188
- # The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
189
- # resource name formatted as
208
+ # The provided ID will be part of the
209
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource name
210
+ # formatted as
190
211
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
191
212
  #
192
- # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
213
+ # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
193
214
  # @!attribute [rw] validate_only
194
215
  # @return [::Boolean]
195
216
  # If set, only validate the request, but do not actually create the node
@@ -202,7 +223,8 @@ module Google
202
223
  # Request message for `AzureClusters.UpdateAzureNodePool` method.
203
224
  # @!attribute [rw] azure_node_pool
204
225
  # @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodePool]
205
- # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to update.
226
+ # Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
227
+ # resource to update.
206
228
  # @!attribute [rw] validate_only
207
229
  # @return [::Boolean]
208
230
  # If set, only validate the request, but don't actually update the node pool.
@@ -216,7 +238,7 @@ module Google
216
238
  # * `version`.
217
239
  # * `autoscaling.min_node_count`.
218
240
  # * `autoscaling.max_node_count`.
219
- # * `config.vm_size`.
241
+ # * `config.ssh_config.authorized_key`.
220
242
  class UpdateAzureNodePoolRequest
221
243
  include ::Google::Protobuf::MessageExts
222
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -225,7 +247,9 @@ module Google
225
247
  # Request message for `AzureClusters.GetAzureNodePool` method.
226
248
  # @!attribute [rw] name
227
249
  # @return [::String]
228
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to describe.
250
+ # Required. The name of the
251
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource to
252
+ # describe.
229
253
  #
230
254
  # `AzureNodePool` names are formatted as
231
255
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
@@ -255,12 +279,13 @@ module Google
255
279
  # If not specified, a default value of 50 will be used by the service.
256
280
  # Regardless of the pageSize value, the response can include a partial list
257
281
  # 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.
282
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse#next_page_token nextPageToken}
283
+ # to determine if there are more instances left to be queried.
260
284
  # @!attribute [rw] page_token
261
285
  # @return [::String]
262
286
  # The `nextPageToken` value returned from a previous
263
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list} request, if any.
287
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_node_pools azureNodePools.list}
288
+ # request, if any.
264
289
  class ListAzureNodePoolsRequest
265
290
  include ::Google::Protobuf::MessageExts
266
291
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -269,7 +294,8 @@ module Google
269
294
  # Response message for `AzureClusters.ListAzureNodePools` method.
270
295
  # @!attribute [rw] azure_node_pools
271
296
  # @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureNodePool>]
272
- # A list of {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resources in the specified `AzureCluster`.
297
+ # A list of {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}
298
+ # resources in the specified `AzureCluster`.
273
299
  # @!attribute [rw] next_page_token
274
300
  # @return [::String]
275
301
  # Token to retrieve the next page of results, or empty if there are no more
@@ -279,10 +305,11 @@ module Google
279
305
  extend ::Google::Protobuf::MessageExts::ClassMethods
280
306
  end
281
307
 
282
- # Delete message for `AzureClusters.DeleteNodePool` method.
308
+ # Delete message for `AzureClusters.DeleteAzureNodePool` method.
283
309
  # @!attribute [rw] name
284
310
  # @return [::String]
285
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to delete.
311
+ # Required. The resource name the
312
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} to delete.
286
313
  #
287
314
  # `AzureNodePool` names are formatted as
288
315
  # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.
@@ -295,14 +322,17 @@ module Google
295
322
  # pool.
296
323
  # @!attribute [rw] allow_missing
297
324
  # @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.
325
+ # If set to true, and the
326
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource is
327
+ # not found, the request will succeed but no action will be taken on the
328
+ # server and a completed {::Google::Longrunning::Operation Operation} will be
329
+ # returned.
301
330
  #
302
331
  # Useful for idempotent deletion.
303
332
  # @!attribute [rw] etag
304
333
  # @return [::String]
305
- # The current ETag of the {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
334
+ # The current ETag of the
335
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
306
336
  #
307
337
  # Allows clients to perform deletions through optimistic concurrency control.
308
338
  #
@@ -316,7 +346,9 @@ module Google
316
346
  # GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
317
347
  # @!attribute [rw] name
318
348
  # @return [::String]
319
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig AzureServerConfig} resource to describe.
349
+ # Required. The name of the
350
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig AzureServerConfig}
351
+ # resource to describe.
320
352
  #
321
353
  # `AzureServerConfig` names are formatted as
322
354
  # `projects/<project-id>/locations/<region>/azureServerConfig`.
@@ -331,8 +363,9 @@ module Google
331
363
  # Request message for `AzureClusters.CreateAzureClient` method.
332
364
  # @!attribute [rw] parent
333
365
  # @return [::String]
334
- # Required. The parent location where this {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource
335
- # will be created.
366
+ # Required. The parent location where this
367
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource will be
368
+ # created.
336
369
  #
337
370
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
338
371
  #
@@ -340,17 +373,19 @@ module Google
340
373
  # for more details on Google Cloud resource names.
341
374
  # @!attribute [rw] azure_client
342
375
  # @return [::Google::Cloud::GkeMultiCloud::V1::AzureClient]
343
- # Required. The specification of the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to create.
376
+ # Required. The specification of the
377
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to create.
344
378
  # @!attribute [rw] azure_client_id
345
379
  # @return [::String]
346
- # Required. A client provided ID the resource. Must be unique within the parent
347
- # resource.
380
+ # Required. A client provided ID the resource. Must be unique within the
381
+ # parent resource.
348
382
  #
349
- # The provided ID will be part of the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
350
- # resource name formatted as
383
+ # The provided ID will be part of the
384
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource name
385
+ # formatted as
351
386
  # `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
352
387
  #
353
- # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 40 characters.
388
+ # Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
354
389
  # @!attribute [rw] validate_only
355
390
  # @return [::Boolean]
356
391
  # If set, only validate the request, but do not actually create the client.
@@ -362,9 +397,12 @@ module Google
362
397
  # Request message for `AzureClusters.GetAzureClient` method.
363
398
  # @!attribute [rw] name
364
399
  # @return [::String]
365
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource to describe.
400
+ # Required. The name of the
401
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource to
402
+ # describe.
366
403
  #
367
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are formatted as
404
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are
405
+ # formatted as
368
406
  # `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
369
407
  #
370
408
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
@@ -383,7 +421,7 @@ module Google
383
421
  # Location names are formatted as `projects/<project-id>/locations/<region>`.
384
422
  #
385
423
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
386
- # for more details on GCP resource names.
424
+ # for more details on Google Cloud Platform resource names.
387
425
  # @!attribute [rw] page_size
388
426
  # @return [::Integer]
389
427
  # The maximum number of items to return.
@@ -391,12 +429,13 @@ module Google
391
429
  # If not specified, a default value of 50 will be used by the service.
392
430
  # Regardless of the pageSize value, the response can include a partial list
393
431
  # 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.
432
+ # {::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse#next_page_token nextPageToken}
433
+ # to determine if there are more instances left to be queried.
396
434
  # @!attribute [rw] page_token
397
435
  # @return [::String]
398
436
  # The `nextPageToken` value returned from a previous
399
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clients azureClients.list} request, if any.
437
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#list_azure_clients azureClients.list}
438
+ # request, if any.
400
439
  class ListAzureClientsRequest
401
440
  include ::Google::Protobuf::MessageExts
402
441
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -405,8 +444,8 @@ module Google
405
444
  # Response message for `AzureClusters.ListAzureClients` method.
406
445
  # @!attribute [rw] azure_clients
407
446
  # @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.
447
+ # A list of {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
448
+ # resources in the specified Google Cloud project and region region.
410
449
  # @!attribute [rw] next_page_token
411
450
  # @return [::String]
412
451
  # Token to retrieve the next page of results, or empty if there are no more
@@ -419,18 +458,21 @@ module Google
419
458
  # Request message for `AzureClusters.DeleteAzureClient` method.
420
459
  # @!attribute [rw] name
421
460
  # @return [::String]
422
- # Required. The resource name the {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to delete.
461
+ # Required. The resource name the
462
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} to delete.
423
463
  #
424
- # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are formatted as
464
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} names are
465
+ # formatted as
425
466
  # `projects/<project-id>/locations/<region>/azureClients/<client-id>`.
426
467
  #
427
468
  # See [Resource Names](https://cloud.google.com/apis/design/resource_names)
428
469
  # for more details on Google Cloud resource names.
429
470
  # @!attribute [rw] allow_missing
430
471
  # @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.
472
+ # If set to true, and the
473
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource is not
474
+ # found, the request will succeed but no action will be taken on the server
475
+ # and a completed {::Google::Longrunning::Operation Operation} will be returned.
434
476
  #
435
477
  # Useful for idempotent deletion.
436
478
  # @!attribute [rw] validate_only
@@ -444,7 +486,9 @@ module Google
444
486
  # Request message for `AzureClusters.GenerateAzureAccessToken` method.
445
487
  # @!attribute [rw] azure_cluster
446
488
  # @return [::String]
447
- # Required. The name of the {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to authenticate to.
489
+ # Required. The name of the
490
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource to
491
+ # authenticate to.
448
492
  #
449
493
  # `AzureCluster` names are formatted as
450
494
  # `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
@@ -61,7 +61,19 @@ module Google
61
61
  # Output only. Human-readable status of the operation, if any.
62
62
  # @!attribute [r] error_detail
63
63
  # @return [::String]
64
- # Output only. Human-readable status of any error that occurred during the operation.
64
+ # Output only. Human-readable status of any error that occurred during the
65
+ # operation.
66
+ # @!attribute [r] verb
67
+ # @return [::String]
68
+ # Output only. The verb associated with the API method which triggered this
69
+ # operation. Possible values are "create", "delete", "update" and "import".
70
+ # @!attribute [r] requested_cancellation
71
+ # @return [::Boolean]
72
+ # Output only. Identifies whether it has been requested cancellation
73
+ # for the operation. Operations that have successfully been cancelled
74
+ # have [Operation.error][] value with a
75
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
76
+ # `Code.CANCELLED`.
65
77
  class OperationMetadata
66
78
  include ::Google::Protobuf::MessageExts
67
79
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -114,13 +126,15 @@ module Google
114
126
  # more details on Anthos multi-cluster capabilities using Fleets.
115
127
  # @!attribute [rw] project
116
128
  # @return [::String]
117
- # Required. The name of the Fleet host project where this cluster will be registered.
129
+ # Required. The name of the Fleet host project where this cluster will be
130
+ # registered.
118
131
  #
119
132
  # Project names are formatted as
120
133
  # `projects/<project-number>`.
121
134
  # @!attribute [r] membership
122
135
  # @return [::String]
123
- # Output only. The name of the managed Hub Membership resource associated to this cluster.
136
+ # Output only. The name of the managed Hub Membership resource associated to
137
+ # this cluster.
124
138
  #
125
139
  # Membership names are formatted as
126
140
  # `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -158,6 +172,25 @@ module Google
158
172
  WORKLOADS = 2
159
173
  end
160
174
  end
175
+
176
+ # Parameters that describe the Monitoring configuration in a cluster.
177
+ # @!attribute [rw] managed_prometheus_config
178
+ # @return [::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig]
179
+ # Enable Google Cloud Managed Service for Prometheus in the cluster.
180
+ class MonitoringConfig
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
+ end
184
+
185
+ # ManagedPrometheusConfig defines the configuration for
186
+ # Google Cloud Managed Service for Prometheus.
187
+ # @!attribute [rw] enabled
188
+ # @return [::Boolean]
189
+ # Enable Managed Collection.
190
+ class ManagedPrometheusConfig
191
+ include ::Google::Protobuf::MessageExts
192
+ extend ::Google::Protobuf::MessageExts::ClassMethods
193
+ end
161
194
  end
162
195
  end
163
196
  end
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,12 +28,14 @@ module Google
28
28
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
29
  # @!attribute [rw] code
30
30
  # @return [::Integer]
31
- # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
31
+ # The status code, which should be an enum value of
32
+ # [google.rpc.Code][google.rpc.Code].
32
33
  # @!attribute [rw] message
33
34
  # @return [::String]
34
35
  # A developer-facing error message, which should be in English. Any
35
36
  # user-facing error message should be localized and sent in the
36
- # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
37
39
  # @!attribute [rw] details
38
40
  # @return [::Array<::Google::Protobuf::Any>]
39
41
  # A list of messages that carry the error details. There is a common set of
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_multi_cloud-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-02 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: 0.16.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.10'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -173,6 +173,11 @@ files:
173
173
  - README.md
174
174
  - lib/google-cloud-gke_multi_cloud-v1.rb
175
175
  - lib/google/cloud/gke_multi_cloud/v1.rb
176
+ - lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb
177
+ - lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb
178
+ - lib/google/cloud/gke_multi_cloud/v1/attached_clusters/credentials.rb
179
+ - lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb
180
+ - lib/google/cloud/gke_multi_cloud/v1/attached_clusters/paths.rb
176
181
  - lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb
177
182
  - lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb
178
183
  - lib/google/cloud/gke_multi_cloud/v1/aws_clusters/credentials.rb
@@ -184,6 +189,9 @@ files:
184
189
  - lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb
185
190
  - lib/google/cloud/gke_multi_cloud/v1/azure_clusters/paths.rb
186
191
  - lib/google/cloud/gke_multi_cloud/v1/version.rb
192
+ - lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb
193
+ - lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb
194
+ - lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb
187
195
  - lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb
188
196
  - lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb
189
197
  - lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb
@@ -192,8 +200,12 @@ files:
192
200
  - lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb
193
201
  - lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb
194
202
  - proto_docs/README.md
203
+ - proto_docs/google/api/client.rb
195
204
  - proto_docs/google/api/field_behavior.rb
205
+ - proto_docs/google/api/launch_stage.rb
196
206
  - proto_docs/google/api/resource.rb
207
+ - proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb
208
+ - proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb
197
209
  - proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb
198
210
  - proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb
199
211
  - proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb
@@ -225,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
237
  - !ruby/object:Gem::Version
226
238
  version: '0'
227
239
  requirements: []
228
- rubygems_version: 3.3.14
240
+ rubygems_version: 3.4.2
229
241
  signing_key:
230
242
  specification_version: 4
231
243
  summary: API Client library for the Anthos Multi-Cloud V1 API