google-cloud-gke_hub-v1beta1 0.1.2 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/client.rb +308 -74
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/operations.rb +145 -33
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service.rb +8 -2
- data/lib/google/cloud/gke_hub/v1beta1/version.rb +1 -1
- data/lib/google/cloud/gkehub/v1beta1/membership_pb.rb +22 -3
- data/lib/google/cloud/gkehub/v1beta1/membership_services_pb.rb +21 -4
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/gkehub/v1beta1/membership.rb +98 -3
- metadata +5 -5
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
# Optional. GCP labels for this membership.
|
41
41
|
# @!attribute [rw] description
|
42
42
|
# @return [::String]
|
43
|
-
#
|
43
|
+
# Optional. Description of this membership, limited to 63 characters.
|
44
44
|
# Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*`
|
45
45
|
# @!attribute [rw] endpoint
|
46
46
|
# @return [::Google::Cloud::GkeHub::V1beta1::MembershipEndpoint]
|
@@ -123,7 +123,13 @@ module Google
|
|
123
123
|
# endpoint and any additional Kubernetes metadata.
|
124
124
|
# @!attribute [rw] gke_cluster
|
125
125
|
# @return [::Google::Cloud::GkeHub::V1beta1::GkeCluster]
|
126
|
-
# Optional.
|
126
|
+
# Optional. Specific information for a GKE-on-GCP cluster.
|
127
|
+
# @!attribute [rw] on_prem_cluster
|
128
|
+
# @return [::Google::Cloud::GkeHub::V1beta1::OnPremCluster]
|
129
|
+
# Optional. Specific information for a GKE On-Prem cluster.
|
130
|
+
# @!attribute [rw] multi_cloud_cluster
|
131
|
+
# @return [::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster]
|
132
|
+
# Optional. Specific information for a GKE Multi-Cloud cluster.
|
127
133
|
# @!attribute [r] kubernetes_metadata
|
128
134
|
# @return [::Google::Cloud::GkeHub::V1beta1::KubernetesMetadata]
|
129
135
|
# Output only. Useful Kubernetes-specific metadata.
|
@@ -220,14 +226,56 @@ module Google
|
|
220
226
|
# @return [::String]
|
221
227
|
# Immutable. Self-link of the GCP resource for the GKE cluster. For example:
|
222
228
|
#
|
223
|
-
#
|
229
|
+
# //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
|
224
230
|
#
|
225
231
|
# Zonal clusters are also supported.
|
232
|
+
# @!attribute [r] cluster_missing
|
233
|
+
# @return [::Boolean]
|
234
|
+
# Output only. If cluster_missing is set then it denotes that the GKE cluster no longer
|
235
|
+
# exists in the GKE Control Plane.
|
226
236
|
class GkeCluster
|
227
237
|
include ::Google::Protobuf::MessageExts
|
228
238
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
229
239
|
end
|
230
240
|
|
241
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
242
|
+
# @!attribute [rw] resource_link
|
243
|
+
# @return [::String]
|
244
|
+
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example:
|
245
|
+
#
|
246
|
+
# //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
|
247
|
+
# //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
|
248
|
+
# @!attribute [r] cluster_missing
|
249
|
+
# @return [::Boolean]
|
250
|
+
# Output only. If cluster_missing is set then it denotes that
|
251
|
+
# API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no
|
252
|
+
# longer exists.
|
253
|
+
# @!attribute [rw] admin_cluster
|
254
|
+
# @return [::Boolean]
|
255
|
+
# Immutable. Whether the cluster is an admin cluster.
|
256
|
+
class OnPremCluster
|
257
|
+
include ::Google::Protobuf::MessageExts
|
258
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
259
|
+
end
|
260
|
+
|
261
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
262
|
+
# @!attribute [rw] resource_link
|
263
|
+
# @return [::String]
|
264
|
+
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
|
265
|
+
# example:
|
266
|
+
#
|
267
|
+
# //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
|
268
|
+
# //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster
|
269
|
+
# @!attribute [r] cluster_missing
|
270
|
+
# @return [::Boolean]
|
271
|
+
# Output only. If cluster_missing is set then it denotes that
|
272
|
+
# API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster
|
273
|
+
# no longer exists.
|
274
|
+
class MultiCloudCluster
|
275
|
+
include ::Google::Protobuf::MessageExts
|
276
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
277
|
+
end
|
278
|
+
|
231
279
|
# KubernetesMetadata provides informational metadata for Memberships
|
232
280
|
# representing Kubernetes clusters.
|
233
281
|
# @!attribute [r] kubernetes_api_server_version
|
@@ -426,6 +474,21 @@ module Google
|
|
426
474
|
# @!attribute [rw] resource
|
427
475
|
# @return [::Google::Cloud::GkeHub::V1beta1::Membership]
|
428
476
|
# Required. The membership to create.
|
477
|
+
# @!attribute [rw] request_id
|
478
|
+
# @return [::String]
|
479
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
480
|
+
# so that if you must retry your request, the server will know to ignore
|
481
|
+
# the request if it has already been completed. The server will guarantee
|
482
|
+
# that for at least 60 minutes after the first request.
|
483
|
+
#
|
484
|
+
# For example, consider a situation where you make an initial request and
|
485
|
+
# the request times out. If you make the request again with the same request
|
486
|
+
# ID, the server can check if original operation with the same request ID
|
487
|
+
# was received, and if so, will ignore the second request. This prevents
|
488
|
+
# clients from accidentally creating duplicate commitments.
|
489
|
+
#
|
490
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
491
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
429
492
|
class CreateMembershipRequest
|
430
493
|
include ::Google::Protobuf::MessageExts
|
431
494
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -436,6 +499,21 @@ module Google
|
|
436
499
|
# @return [::String]
|
437
500
|
# Required. The Membership resource name in the format
|
438
501
|
# `projects/*/locations/*/memberships/*`.
|
502
|
+
# @!attribute [rw] request_id
|
503
|
+
# @return [::String]
|
504
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
505
|
+
# so that if you must retry your request, the server will know to ignore
|
506
|
+
# the request if it has already been completed. The server will guarantee
|
507
|
+
# that for at least 60 minutes after the first request.
|
508
|
+
#
|
509
|
+
# For example, consider a situation where you make an initial request and
|
510
|
+
# the request times out. If you make the request again with the same request
|
511
|
+
# ID, the server can check if original operation with the same request ID
|
512
|
+
# was received, and if so, will ignore the second request. This prevents
|
513
|
+
# clients from accidentally creating duplicate commitments.
|
514
|
+
#
|
515
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
516
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
439
517
|
class DeleteMembershipRequest
|
440
518
|
include ::Google::Protobuf::MessageExts
|
441
519
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -458,6 +536,23 @@ module Google
|
|
458
536
|
# If you are updating a map field, set the value of a key to null or empty
|
459
537
|
# string to delete the key from the map. It's not possible to update a key's
|
460
538
|
# value to the empty string.
|
539
|
+
# If you specify the update_mask to be a special path "*", fully replaces all
|
540
|
+
# user-modifiable fields to match `resource`.
|
541
|
+
# @!attribute [rw] request_id
|
542
|
+
# @return [::String]
|
543
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
544
|
+
# so that if you must retry your request, the server will know to ignore
|
545
|
+
# the request if it has already been completed. The server will guarantee
|
546
|
+
# that for at least 60 minutes after the first request.
|
547
|
+
#
|
548
|
+
# For example, consider a situation where you make an initial request and
|
549
|
+
# the request times out. If you make the request again with the same request
|
550
|
+
# ID, the server can check if original operation with the same request ID
|
551
|
+
# was received, and if so, will ignore the second request. This prevents
|
552
|
+
# clients from accidentally creating duplicate commitments.
|
553
|
+
#
|
554
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
555
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
461
556
|
class UpdateMembershipRequest
|
462
557
|
include ::Google::Protobuf::MessageExts
|
463
558
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_hub-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 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.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
|
-
rubygems_version: 3.
|
213
|
+
rubygems_version: 3.3.4
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: API Client library for the GKE Hub V1beta1 API
|