google-cloud-gke_hub-v1beta1 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/client.rb +67 -6
- 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 +20 -1
- data/lib/google/cloud/gkehub/v1beta1/membership_services_pb.rb +20 -3
- data/proto_docs/google/cloud/gkehub/v1beta1/membership.rb +98 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 718c4f4e7822f2854e3d0bf972e221f6ee5e25182c8c2e74cca5823e24b562d3
|
4
|
+
data.tar.gz: b23faed4354600da9c06945d353a02704258459722b3632c741c7713c117b96e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d4d122d174189c7ef42318fe7c5154fe75ed8363fa755a850716913db6ff6b4e256658c96dd13c0ab8991ec0118eeed78c95ba688c0fa45c8b4028ed7ec1050
|
7
|
+
data.tar.gz: 8dcd23a1eac1744ba2757f67dc42fa8aee124aff3b804003ba2d703c3304a93bcdb6f2086f3684eb7093d69592f130cd2fcae8757cabca396260097cc8a49fc2
|
@@ -27,8 +27,14 @@ module Google
|
|
27
27
|
##
|
28
28
|
# Client for the GkeHubMembershipService service.
|
29
29
|
#
|
30
|
-
# GKE Hub
|
31
|
-
#
|
30
|
+
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
31
|
+
# clusters to Google Cloud, represented with the {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
|
32
|
+
#
|
33
|
+
# GKE Hub is currently only available in the global region.
|
34
|
+
#
|
35
|
+
# **Membership management may be non-trivial:** it is recommended to use one
|
36
|
+
# of the Google-provided client libraries or tools where possible when working
|
37
|
+
# with Membership resources.
|
32
38
|
#
|
33
39
|
class Client
|
34
40
|
include Paths
|
@@ -334,7 +340,11 @@ module Google
|
|
334
340
|
end
|
335
341
|
|
336
342
|
##
|
337
|
-
#
|
343
|
+
# Creates a new Membership.
|
344
|
+
#
|
345
|
+
# **This is currently only supported for GKE clusters on Google Cloud**.
|
346
|
+
# To register other clusters, follow the instructions at
|
347
|
+
# https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
|
338
348
|
#
|
339
349
|
# @overload create_membership(request, options = nil)
|
340
350
|
# Pass arguments to `create_membership` via a request object, either of type
|
@@ -346,7 +356,7 @@ module Google
|
|
346
356
|
# @param options [::Gapic::CallOptions, ::Hash]
|
347
357
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
348
358
|
#
|
349
|
-
# @overload create_membership(parent: nil, membership_id: nil, resource: nil)
|
359
|
+
# @overload create_membership(parent: nil, membership_id: nil, resource: nil, request_id: nil)
|
350
360
|
# Pass arguments to `create_membership` via keyword arguments. Note that at
|
351
361
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
352
362
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -366,6 +376,20 @@ module Google
|
|
366
376
|
# with a maximum length of 63 characters.
|
367
377
|
# @param resource [::Google::Cloud::GkeHub::V1beta1::Membership, ::Hash]
|
368
378
|
# Required. The membership to create.
|
379
|
+
# @param request_id [::String]
|
380
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
381
|
+
# so that if you must retry your request, the server will know to ignore
|
382
|
+
# the request if it has already been completed. The server will guarantee
|
383
|
+
# that for at least 60 minutes after the first request.
|
384
|
+
#
|
385
|
+
# For example, consider a situation where you make an initial request and
|
386
|
+
# the request times out. If you make the request again with the same request
|
387
|
+
# ID, the server can check if original operation with the same request ID
|
388
|
+
# was received, and if so, will ignore the second request. This prevents
|
389
|
+
# clients from accidentally creating duplicate commitments.
|
390
|
+
#
|
391
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
392
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
369
393
|
#
|
370
394
|
# @yield [response, operation] Access the result along with the RPC operation
|
371
395
|
# @yieldparam response [::Gapic::Operation]
|
@@ -418,6 +442,10 @@ module Google
|
|
418
442
|
##
|
419
443
|
# Removes a Membership.
|
420
444
|
#
|
445
|
+
# **This is currently only supported for GKE clusters on Google Cloud**.
|
446
|
+
# To unregister other clusters, follow the instructions at
|
447
|
+
# https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
|
448
|
+
#
|
421
449
|
# @overload delete_membership(request, options = nil)
|
422
450
|
# Pass arguments to `delete_membership` via a request object, either of type
|
423
451
|
# {::Google::Cloud::GkeHub::V1beta1::DeleteMembershipRequest} or an equivalent Hash.
|
@@ -428,7 +456,7 @@ module Google
|
|
428
456
|
# @param options [::Gapic::CallOptions, ::Hash]
|
429
457
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
430
458
|
#
|
431
|
-
# @overload delete_membership(name: nil)
|
459
|
+
# @overload delete_membership(name: nil, request_id: nil)
|
432
460
|
# Pass arguments to `delete_membership` via keyword arguments. Note that at
|
433
461
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
434
462
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -436,6 +464,20 @@ module Google
|
|
436
464
|
# @param name [::String]
|
437
465
|
# Required. The Membership resource name in the format
|
438
466
|
# `projects/*/locations/*/memberships/*`.
|
467
|
+
# @param request_id [::String]
|
468
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
469
|
+
# so that if you must retry your request, the server will know to ignore
|
470
|
+
# the request if it has already been completed. The server will guarantee
|
471
|
+
# that for at least 60 minutes after the first request.
|
472
|
+
#
|
473
|
+
# For example, consider a situation where you make an initial request and
|
474
|
+
# the request times out. If you make the request again with the same request
|
475
|
+
# ID, the server can check if original operation with the same request ID
|
476
|
+
# was received, and if so, will ignore the second request. This prevents
|
477
|
+
# clients from accidentally creating duplicate commitments.
|
478
|
+
#
|
479
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
480
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
439
481
|
#
|
440
482
|
# @yield [response, operation] Access the result along with the RPC operation
|
441
483
|
# @yieldparam response [::Gapic::Operation]
|
@@ -498,7 +540,7 @@ module Google
|
|
498
540
|
# @param options [::Gapic::CallOptions, ::Hash]
|
499
541
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
500
542
|
#
|
501
|
-
# @overload update_membership(name: nil, update_mask: nil, resource: nil)
|
543
|
+
# @overload update_membership(name: nil, update_mask: nil, resource: nil, request_id: nil)
|
502
544
|
# Pass arguments to `update_membership` via keyword arguments. Note that at
|
503
545
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
504
546
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -516,6 +558,22 @@ module Google
|
|
516
558
|
# If you are updating a map field, set the value of a key to null or empty
|
517
559
|
# string to delete the key from the map. It's not possible to update a key's
|
518
560
|
# value to the empty string.
|
561
|
+
# If you specify the update_mask to be a special path "*", fully replaces all
|
562
|
+
# user-modifiable fields to match `resource`.
|
563
|
+
# @param request_id [::String]
|
564
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
565
|
+
# so that if you must retry your request, the server will know to ignore
|
566
|
+
# the request if it has already been completed. The server will guarantee
|
567
|
+
# that for at least 60 minutes after the first request.
|
568
|
+
#
|
569
|
+
# For example, consider a situation where you make an initial request and
|
570
|
+
# the request times out. If you make the request again with the same request
|
571
|
+
# ID, the server can check if original operation with the same request ID
|
572
|
+
# was received, and if so, will ignore the second request. This prevents
|
573
|
+
# clients from accidentally creating duplicate commitments.
|
574
|
+
#
|
575
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
576
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
519
577
|
#
|
520
578
|
# @yield [response, operation] Access the result along with the RPC operation
|
521
579
|
# @yieldparam response [::Gapic::Operation]
|
@@ -568,6 +626,9 @@ module Google
|
|
568
626
|
##
|
569
627
|
# Generates the manifest for deployment of the GKE connect agent.
|
570
628
|
#
|
629
|
+
# **This method is used internally by Google-provided libraries.**
|
630
|
+
# Most clients should not need to call this method directly.
|
631
|
+
#
|
571
632
|
# @overload generate_connect_manifest(request, options = nil)
|
572
633
|
# Pass arguments to `generate_connect_manifest` via a request object, either of type
|
573
634
|
# {::Google::Cloud::GkeHub::V1beta1::GenerateConnectManifestRequest} or an equivalent Hash.
|
@@ -32,8 +32,14 @@ module Google
|
|
32
32
|
module GkeHub
|
33
33
|
module V1beta1
|
34
34
|
##
|
35
|
-
# GKE Hub
|
36
|
-
#
|
35
|
+
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
36
|
+
# clusters to Google Cloud, represented with the {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
|
37
|
+
#
|
38
|
+
# GKE Hub is currently only available in the global region.
|
39
|
+
#
|
40
|
+
# **Membership management may be non-trivial:** it is recommended to use one
|
41
|
+
# of the Google-provided client libraries or tools where possible when working
|
42
|
+
# with Membership resources.
|
37
43
|
#
|
38
44
|
# To load this service and instantiate a client:
|
39
45
|
#
|
@@ -36,9 +36,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
36
|
value :MULTI_CLOUD, 2
|
37
37
|
end
|
38
38
|
add_message "google.cloud.gkehub.v1beta1.MembershipEndpoint" do
|
39
|
-
optional :gke_cluster, :message, 4, "google.cloud.gkehub.v1beta1.GkeCluster"
|
40
39
|
optional :kubernetes_metadata, :message, 5, "google.cloud.gkehub.v1beta1.KubernetesMetadata"
|
41
40
|
optional :kubernetes_resource, :message, 6, "google.cloud.gkehub.v1beta1.KubernetesResource"
|
41
|
+
oneof :type do
|
42
|
+
optional :gke_cluster, :message, 4, "google.cloud.gkehub.v1beta1.GkeCluster"
|
43
|
+
optional :on_prem_cluster, :message, 7, "google.cloud.gkehub.v1beta1.OnPremCluster"
|
44
|
+
optional :multi_cloud_cluster, :message, 8, "google.cloud.gkehub.v1beta1.MultiCloudCluster"
|
45
|
+
end
|
42
46
|
end
|
43
47
|
add_message "google.cloud.gkehub.v1beta1.KubernetesResource" do
|
44
48
|
optional :membership_cr_manifest, :string, 1
|
@@ -56,6 +60,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
56
60
|
end
|
57
61
|
add_message "google.cloud.gkehub.v1beta1.GkeCluster" do
|
58
62
|
optional :resource_link, :string, 1
|
63
|
+
optional :cluster_missing, :bool, 3
|
64
|
+
end
|
65
|
+
add_message "google.cloud.gkehub.v1beta1.OnPremCluster" do
|
66
|
+
optional :resource_link, :string, 1
|
67
|
+
optional :cluster_missing, :bool, 2
|
68
|
+
optional :admin_cluster, :bool, 3
|
69
|
+
end
|
70
|
+
add_message "google.cloud.gkehub.v1beta1.MultiCloudCluster" do
|
71
|
+
optional :resource_link, :string, 1
|
72
|
+
optional :cluster_missing, :bool, 2
|
59
73
|
end
|
60
74
|
add_message "google.cloud.gkehub.v1beta1.KubernetesMetadata" do
|
61
75
|
optional :kubernetes_api_server_version, :string, 1
|
@@ -103,14 +117,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
103
117
|
optional :parent, :string, 1
|
104
118
|
optional :membership_id, :string, 2
|
105
119
|
optional :resource, :message, 3, "google.cloud.gkehub.v1beta1.Membership"
|
120
|
+
optional :request_id, :string, 4
|
106
121
|
end
|
107
122
|
add_message "google.cloud.gkehub.v1beta1.DeleteMembershipRequest" do
|
108
123
|
optional :name, :string, 1
|
124
|
+
optional :request_id, :string, 4
|
109
125
|
end
|
110
126
|
add_message "google.cloud.gkehub.v1beta1.UpdateMembershipRequest" do
|
111
127
|
optional :name, :string, 1
|
112
128
|
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
113
129
|
optional :resource, :message, 3, "google.cloud.gkehub.v1beta1.Membership"
|
130
|
+
optional :request_id, :string, 4
|
114
131
|
end
|
115
132
|
add_message "google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest" do
|
116
133
|
optional :name, :string, 1
|
@@ -176,6 +193,8 @@ module Google
|
|
176
193
|
ResourceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.ResourceOptions").msgclass
|
177
194
|
ResourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.ResourceManifest").msgclass
|
178
195
|
GkeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.GkeCluster").msgclass
|
196
|
+
OnPremCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.OnPremCluster").msgclass
|
197
|
+
MultiCloudCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MultiCloudCluster").msgclass
|
179
198
|
KubernetesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.KubernetesMetadata").msgclass
|
180
199
|
Authority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.Authority").msgclass
|
181
200
|
MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MembershipState").msgclass
|
@@ -24,8 +24,14 @@ module Google
|
|
24
24
|
module GkeHub
|
25
25
|
module V1beta1
|
26
26
|
module GkeHubMembershipService
|
27
|
-
# GKE Hub
|
28
|
-
#
|
27
|
+
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
28
|
+
# clusters to Google Cloud, represented with the [Membership][google.cloud.gkehub.v1beta1.Membership] resource.
|
29
|
+
#
|
30
|
+
# GKE Hub is currently only available in the global region.
|
31
|
+
#
|
32
|
+
# **Membership management may be non-trivial:** it is recommended to use one
|
33
|
+
# of the Google-provided client libraries or tools where possible when working
|
34
|
+
# with Membership resources.
|
29
35
|
class Service
|
30
36
|
|
31
37
|
include GRPC::GenericService
|
@@ -38,13 +44,24 @@ module Google
|
|
38
44
|
rpc :ListMemberships, ::Google::Cloud::GkeHub::V1beta1::ListMembershipsRequest, ::Google::Cloud::GkeHub::V1beta1::ListMembershipsResponse
|
39
45
|
# Gets the details of a Membership.
|
40
46
|
rpc :GetMembership, ::Google::Cloud::GkeHub::V1beta1::GetMembershipRequest, ::Google::Cloud::GkeHub::V1beta1::Membership
|
41
|
-
#
|
47
|
+
# Creates a new Membership.
|
48
|
+
#
|
49
|
+
# **This is currently only supported for GKE clusters on Google Cloud**.
|
50
|
+
# To register other clusters, follow the instructions at
|
51
|
+
# https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
|
42
52
|
rpc :CreateMembership, ::Google::Cloud::GkeHub::V1beta1::CreateMembershipRequest, ::Google::Longrunning::Operation
|
43
53
|
# Removes a Membership.
|
54
|
+
#
|
55
|
+
# **This is currently only supported for GKE clusters on Google Cloud**.
|
56
|
+
# To unregister other clusters, follow the instructions at
|
57
|
+
# https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
|
44
58
|
rpc :DeleteMembership, ::Google::Cloud::GkeHub::V1beta1::DeleteMembershipRequest, ::Google::Longrunning::Operation
|
45
59
|
# Updates an existing Membership.
|
46
60
|
rpc :UpdateMembership, ::Google::Cloud::GkeHub::V1beta1::UpdateMembershipRequest, ::Google::Longrunning::Operation
|
47
61
|
# Generates the manifest for deployment of the GKE connect agent.
|
62
|
+
#
|
63
|
+
# **This method is used internally by Google-provided libraries.**
|
64
|
+
# Most clients should not need to call this method directly.
|
48
65
|
rpc :GenerateConnectManifest, ::Google::Cloud::GkeHub::V1beta1::GenerateConnectManifestRequest, ::Google::Cloud::GkeHub::V1beta1::GenerateConnectManifestResponse
|
49
66
|
# ValidateExclusivity validates the state of exclusivity in the cluster.
|
50
67
|
# The validation does not depend on an existing Hub membership resource.
|
@@ -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.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: 2021-08-
|
11
|
+
date: 2021-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|