google-cloud-gke_hub-v1beta1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/client.rb +36 -27
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/operations.rb +2 -2
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/client.rb +36 -27
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/operations.rb +2 -2
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest.rb +4 -2
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service.rb +4 -2
- data/lib/google/cloud/gke_hub/v1beta1/version.rb +1 -1
- data/lib/google/cloud/gkehub/v1beta1/membership_pb.rb +11 -0
- data/lib/google/cloud/gkehub/v1beta1/membership_services_pb.rb +4 -2
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/cloud/gkehub/v1beta1/membership.rb +126 -75
- 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: 8e3cf5571a93e118462eda9e6eda636e92c786bc69122222980f5bed1099ff93
|
4
|
+
data.tar.gz: 8b87620ea3da5b030dd22bcffdc8f815c677c300d541195c29235bf729fa89aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e091bc48abc5e575ab7e152cecd6fd56dff6e05608fc096f149af09d51e262b774397fe27db683032689629024cc8ec6d3221f1aa941625b53748a2fcd78ac51
|
7
|
+
data.tar.gz: 38fe70a8dc84a34e9cec0afa1f6899938bb91c299038a08138428e955bda170caa05b92ec1fff9f9237730311d06f59072258db367a0739a9b73078c76d96045
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -30,9 +30,11 @@ module Google
|
|
30
30
|
# Client for the GkeHubMembershipService service.
|
31
31
|
#
|
32
32
|
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
33
|
-
# clusters to Google Cloud, represented with the
|
33
|
+
# clusters to Google Cloud, represented with the
|
34
|
+
# {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
|
34
35
|
#
|
35
|
-
# GKE Hub is currently
|
36
|
+
# GKE Hub is currently available in the global region and all regions in
|
37
|
+
# https://cloud.google.com/compute/docs/regions-zones.
|
36
38
|
#
|
37
39
|
# **Membership management may be non-trivial:** it is recommended to use one
|
38
40
|
# of the Google-provided client libraries or tools where possible when working
|
@@ -216,19 +218,20 @@ module Google
|
|
216
218
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
217
219
|
#
|
218
220
|
# @param parent [::String]
|
219
|
-
# Required. The parent (project and location) where the Memberships will be
|
220
|
-
# Specified in the format `projects/*/locations/*`.
|
221
|
+
# Required. The parent (project and location) where the Memberships will be
|
222
|
+
# listed. Specified in the format `projects/*/locations/*`.
|
223
|
+
# `projects/*/locations/-` list memberships in all the regions.
|
221
224
|
# @param page_size [::Integer]
|
222
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
223
|
-
# resources to return. If unspecified or set to 0, all resources
|
224
|
-
# be returned.
|
225
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
226
|
+
# number of resources to return. If unspecified or set to 0, all resources
|
227
|
+
# will be returned.
|
225
228
|
# @param page_token [::String]
|
226
229
|
# Optional. Token returned by previous call to `ListMemberships` which
|
227
230
|
# specifies the position in the list from where to continue listing the
|
228
231
|
# resources.
|
229
232
|
# @param filter [::String]
|
230
|
-
# Optional. Lists Memberships that match the filter expression, following the
|
231
|
-
# outlined in https://google.aip.dev/160.
|
233
|
+
# Optional. Lists Memberships that match the filter expression, following the
|
234
|
+
# syntax outlined in https://google.aip.dev/160.
|
232
235
|
#
|
233
236
|
# Examples:
|
234
237
|
#
|
@@ -429,11 +432,11 @@ module Google
|
|
429
432
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
430
433
|
#
|
431
434
|
# @param parent [::String]
|
432
|
-
# Required. The parent (project and location) where the Memberships will be
|
433
|
-
# Specified in the format `projects/*/locations/*`.
|
435
|
+
# Required. The parent (project and location) where the Memberships will be
|
436
|
+
# created. Specified in the format `projects/*/locations/*`.
|
434
437
|
# @param membership_id [::String]
|
435
|
-
# Required. Client chosen ID for the membership. `membership_id` must be a
|
436
|
-
# 1123 compliant DNS label:
|
438
|
+
# Required. Client chosen ID for the membership. `membership_id` must be a
|
439
|
+
# valid RFC 1123 compliant DNS label:
|
437
440
|
#
|
438
441
|
# 1. At most 63 characters in length
|
439
442
|
# 2. It must consist of lower case alphanumeric characters or `-`
|
@@ -547,7 +550,7 @@ module Google
|
|
547
550
|
# @param options [::Gapic::CallOptions, ::Hash]
|
548
551
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
549
552
|
#
|
550
|
-
# @overload delete_membership(name: nil, request_id: nil)
|
553
|
+
# @overload delete_membership(name: nil, request_id: nil, force: nil)
|
551
554
|
# Pass arguments to `delete_membership` via keyword arguments. Note that at
|
552
555
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
553
556
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -569,6 +572,10 @@ module Google
|
|
569
572
|
#
|
570
573
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
571
574
|
# not supported (00000000-0000-0000-0000-000000000000).
|
575
|
+
# @param force [::Boolean]
|
576
|
+
# Optional. If set to true, any subresource from this Membership will also be
|
577
|
+
# deleted. Otherwise, the request will only work if the Membership has no
|
578
|
+
# subresource.
|
572
579
|
#
|
573
580
|
# @yield [response, operation] Access the result along with the RPC operation
|
574
581
|
# @yieldparam response [::Gapic::Operation]
|
@@ -664,8 +671,8 @@ module Google
|
|
664
671
|
# Required. The membership resource name in the format:
|
665
672
|
# `projects/[project_id]/locations/global/memberships/[membership_id]`
|
666
673
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
667
|
-
# Required. Mask of fields to update. At least one field path must be
|
668
|
-
# mask.
|
674
|
+
# Required. Mask of fields to update. At least one field path must be
|
675
|
+
# specified in this mask.
|
669
676
|
# @param resource [::Google::Cloud::GkeHub::V1beta1::Membership, ::Hash]
|
670
677
|
# Required. Only fields specified in update_mask are updated.
|
671
678
|
# If you specify a field in the update_mask but don't specify its value here
|
@@ -784,12 +791,13 @@ module Google
|
|
784
791
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
785
792
|
#
|
786
793
|
# @param name [::String]
|
787
|
-
# Required. The Membership resource name the Agent will associate with, in
|
788
|
-
# `projects/*/locations/*/memberships/*`.
|
794
|
+
# Required. The Membership resource name the Agent will associate with, in
|
795
|
+
# the format `projects/*/locations/*/memberships/*`.
|
789
796
|
# @param connect_agent [::Google::Cloud::GkeHub::V1beta1::ConnectAgent, ::Hash]
|
790
797
|
# Optional. The connect agent to generate manifest for.
|
791
798
|
# @param version [::String]
|
792
|
-
# Optional. The Connect agent version to use. Defaults to the most current
|
799
|
+
# Optional. The Connect agent version to use. Defaults to the most current
|
800
|
+
# version.
|
793
801
|
# @param is_upgrade [::Boolean]
|
794
802
|
# Optional. If true, generate the resources for upgrade only. Some resources
|
795
803
|
# generated only for installation (e.g. secrets) will be excluded.
|
@@ -883,14 +891,15 @@ module Google
|
|
883
891
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
884
892
|
#
|
885
893
|
# @param parent [::String]
|
886
|
-
# Required. The parent (project and location) where the Memberships will be
|
887
|
-
# Specified in the format `projects/*/locations/*`.
|
894
|
+
# Required. The parent (project and location) where the Memberships will be
|
895
|
+
# created. Specified in the format `projects/*/locations/*`.
|
888
896
|
# @param cr_manifest [::String]
|
889
|
-
# Optional. The YAML of the membership CR in the cluster. Empty if the
|
890
|
-
# CR does not exist.
|
897
|
+
# Optional. The YAML of the membership CR in the cluster. Empty if the
|
898
|
+
# membership CR does not exist.
|
891
899
|
# @param intended_membership [::String]
|
892
|
-
# Required. The intended membership name under the `parent`. This method only
|
893
|
-
# validation in anticipation of a CreateMembership call with the same
|
900
|
+
# Required. The intended membership name under the `parent`. This method only
|
901
|
+
# does validation in anticipation of a CreateMembership call with the same
|
902
|
+
# name.
|
894
903
|
#
|
895
904
|
# @yield [response, operation] Access the result along with the RPC operation
|
896
905
|
# @yieldparam response [::Google::Cloud::GkeHub::V1beta1::ValidateExclusivityResponse]
|
@@ -1099,9 +1108,9 @@ module Google
|
|
1099
1108
|
# * (`String`) The path to a service account key file in JSON format
|
1100
1109
|
# * (`Hash`) A service account key as a Hash
|
1101
1110
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1102
|
-
# (see the [googleauth docs](https://
|
1111
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1103
1112
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1104
|
-
# (see the [signet docs](https://
|
1113
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1105
1114
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1106
1115
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1107
1116
|
# * (`nil`) indicating no credentials
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|
@@ -32,9 +32,11 @@ module Google
|
|
32
32
|
# REST client for the GkeHubMembershipService service.
|
33
33
|
#
|
34
34
|
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
35
|
-
# clusters to Google Cloud, represented with the
|
35
|
+
# clusters to Google Cloud, represented with the
|
36
|
+
# {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
|
36
37
|
#
|
37
|
-
# GKE Hub is currently
|
38
|
+
# GKE Hub is currently available in the global region and all regions in
|
39
|
+
# https://cloud.google.com/compute/docs/regions-zones.
|
38
40
|
#
|
39
41
|
# **Membership management may be non-trivial:** it is recommended to use one
|
40
42
|
# of the Google-provided client libraries or tools where possible when working
|
@@ -209,19 +211,20 @@ module Google
|
|
209
211
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
210
212
|
#
|
211
213
|
# @param parent [::String]
|
212
|
-
# Required. The parent (project and location) where the Memberships will be
|
213
|
-
# Specified in the format `projects/*/locations/*`.
|
214
|
+
# Required. The parent (project and location) where the Memberships will be
|
215
|
+
# listed. Specified in the format `projects/*/locations/*`.
|
216
|
+
# `projects/*/locations/-` list memberships in all the regions.
|
214
217
|
# @param page_size [::Integer]
|
215
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
216
|
-
# resources to return. If unspecified or set to 0, all resources
|
217
|
-
# be returned.
|
218
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
219
|
+
# number of resources to return. If unspecified or set to 0, all resources
|
220
|
+
# will be returned.
|
218
221
|
# @param page_token [::String]
|
219
222
|
# Optional. Token returned by previous call to `ListMemberships` which
|
220
223
|
# specifies the position in the list from where to continue listing the
|
221
224
|
# resources.
|
222
225
|
# @param filter [::String]
|
223
|
-
# Optional. Lists Memberships that match the filter expression, following the
|
224
|
-
# outlined in https://google.aip.dev/160.
|
226
|
+
# Optional. Lists Memberships that match the filter expression, following the
|
227
|
+
# syntax outlined in https://google.aip.dev/160.
|
225
228
|
#
|
226
229
|
# Examples:
|
227
230
|
#
|
@@ -371,11 +374,11 @@ module Google
|
|
371
374
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
372
375
|
#
|
373
376
|
# @param parent [::String]
|
374
|
-
# Required. The parent (project and location) where the Memberships will be
|
375
|
-
# Specified in the format `projects/*/locations/*`.
|
377
|
+
# Required. The parent (project and location) where the Memberships will be
|
378
|
+
# created. Specified in the format `projects/*/locations/*`.
|
376
379
|
# @param membership_id [::String]
|
377
|
-
# Required. Client chosen ID for the membership. `membership_id` must be a
|
378
|
-
# 1123 compliant DNS label:
|
380
|
+
# Required. Client chosen ID for the membership. `membership_id` must be a
|
381
|
+
# valid RFC 1123 compliant DNS label:
|
379
382
|
#
|
380
383
|
# 1. At most 63 characters in length
|
381
384
|
# 2. It must consist of lower case alphanumeric characters or `-`
|
@@ -459,7 +462,7 @@ module Google
|
|
459
462
|
# @param options [::Gapic::CallOptions, ::Hash]
|
460
463
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
461
464
|
#
|
462
|
-
# @overload delete_membership(name: nil, request_id: nil)
|
465
|
+
# @overload delete_membership(name: nil, request_id: nil, force: nil)
|
463
466
|
# Pass arguments to `delete_membership` via keyword arguments. Note that at
|
464
467
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
465
468
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -481,6 +484,10 @@ module Google
|
|
481
484
|
#
|
482
485
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
483
486
|
# not supported (00000000-0000-0000-0000-000000000000).
|
487
|
+
# @param force [::Boolean]
|
488
|
+
# Optional. If set to true, any subresource from this Membership will also be
|
489
|
+
# deleted. Otherwise, the request will only work if the Membership has no
|
490
|
+
# subresource.
|
484
491
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
485
492
|
# @yieldparam result [::Gapic::Operation]
|
486
493
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -546,8 +553,8 @@ module Google
|
|
546
553
|
# Required. The membership resource name in the format:
|
547
554
|
# `projects/[project_id]/locations/global/memberships/[membership_id]`
|
548
555
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
549
|
-
# Required. Mask of fields to update. At least one field path must be
|
550
|
-
# mask.
|
556
|
+
# Required. Mask of fields to update. At least one field path must be
|
557
|
+
# specified in this mask.
|
551
558
|
# @param resource [::Google::Cloud::GkeHub::V1beta1::Membership, ::Hash]
|
552
559
|
# Required. Only fields specified in update_mask are updated.
|
553
560
|
# If you specify a field in the update_mask but don't specify its value here
|
@@ -636,12 +643,13 @@ module Google
|
|
636
643
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
637
644
|
#
|
638
645
|
# @param name [::String]
|
639
|
-
# Required. The Membership resource name the Agent will associate with, in
|
640
|
-
# `projects/*/locations/*/memberships/*`.
|
646
|
+
# Required. The Membership resource name the Agent will associate with, in
|
647
|
+
# the format `projects/*/locations/*/memberships/*`.
|
641
648
|
# @param connect_agent [::Google::Cloud::GkeHub::V1beta1::ConnectAgent, ::Hash]
|
642
649
|
# Optional. The connect agent to generate manifest for.
|
643
650
|
# @param version [::String]
|
644
|
-
# Optional. The Connect agent version to use. Defaults to the most current
|
651
|
+
# Optional. The Connect agent version to use. Defaults to the most current
|
652
|
+
# version.
|
645
653
|
# @param is_upgrade [::Boolean]
|
646
654
|
# Optional. If true, generate the resources for upgrade only. Some resources
|
647
655
|
# generated only for installation (e.g. secrets) will be excluded.
|
@@ -712,14 +720,15 @@ module Google
|
|
712
720
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
713
721
|
#
|
714
722
|
# @param parent [::String]
|
715
|
-
# Required. The parent (project and location) where the Memberships will be
|
716
|
-
# Specified in the format `projects/*/locations/*`.
|
723
|
+
# Required. The parent (project and location) where the Memberships will be
|
724
|
+
# created. Specified in the format `projects/*/locations/*`.
|
717
725
|
# @param cr_manifest [::String]
|
718
|
-
# Optional. The YAML of the membership CR in the cluster. Empty if the
|
719
|
-
# CR does not exist.
|
726
|
+
# Optional. The YAML of the membership CR in the cluster. Empty if the
|
727
|
+
# membership CR does not exist.
|
720
728
|
# @param intended_membership [::String]
|
721
|
-
# Required. The intended membership name under the `parent`. This method only
|
722
|
-
# validation in anticipation of a CreateMembership call with the same
|
729
|
+
# Required. The intended membership name under the `parent`. This method only
|
730
|
+
# does validation in anticipation of a CreateMembership call with the same
|
731
|
+
# name.
|
723
732
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
724
733
|
# @yieldparam result [::Google::Cloud::GkeHub::V1beta1::ValidateExclusivityResponse]
|
725
734
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -882,9 +891,9 @@ module Google
|
|
882
891
|
# * (`String`) The path to a service account key file in JSON format
|
883
892
|
# * (`Hash`) A service account key as a Hash
|
884
893
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
885
|
-
# (see the [googleauth docs](https://
|
894
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
886
895
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
887
|
-
# (see the [signet docs](https://
|
896
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
888
897
|
# * (`nil`) indicating no credentials
|
889
898
|
# @return [::Object]
|
890
899
|
# @!attribute [rw] scope
|
@@ -411,9 +411,9 @@ module Google
|
|
411
411
|
# * (`String`) The path to a service account key file in JSON format
|
412
412
|
# * (`Hash`) A service account key as a Hash
|
413
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
414
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
416
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
417
|
# * (`nil`) indicating no credentials
|
418
418
|
# @return [::Object]
|
419
419
|
# @!attribute [rw] scope
|
@@ -34,9 +34,11 @@ module Google
|
|
34
34
|
module V1beta1
|
35
35
|
##
|
36
36
|
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
37
|
-
# clusters to Google Cloud, represented with the
|
37
|
+
# clusters to Google Cloud, represented with the
|
38
|
+
# {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
|
38
39
|
#
|
39
|
-
# GKE Hub is currently
|
40
|
+
# GKE Hub is currently available in the global region and all regions in
|
41
|
+
# https://cloud.google.com/compute/docs/regions-zones.
|
40
42
|
#
|
41
43
|
# **Membership management may be non-trivial:** it is recommended to use one
|
42
44
|
# of the Google-provided client libraries or tools where possible when working
|
@@ -34,9 +34,11 @@ module Google
|
|
34
34
|
module V1beta1
|
35
35
|
##
|
36
36
|
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
37
|
-
# clusters to Google Cloud, represented with the
|
37
|
+
# clusters to Google Cloud, represented with the
|
38
|
+
# {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
|
38
39
|
#
|
39
|
-
# GKE Hub is currently
|
40
|
+
# GKE Hub is currently available in the global region and all regions in
|
41
|
+
# https://cloud.google.com/compute/docs/regions-zones.
|
40
42
|
#
|
41
43
|
# **Membership management may be non-trivial:** it is recommended to use one
|
42
44
|
# of the Google-provided client libraries or tools where possible when working
|
@@ -8,6 +8,7 @@ require 'google/api/client_pb'
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
10
|
require 'google/longrunning/operations_pb'
|
11
|
+
require 'google/protobuf/empty_pb'
|
11
12
|
require 'google/protobuf/field_mask_pb'
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
require 'google/rpc/status_pb'
|
@@ -27,6 +28,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
28
|
optional :last_connection_time, :message, 11, "google.protobuf.Timestamp"
|
28
29
|
optional :unique_id, :string, 12
|
29
30
|
optional :infrastructure_type, :enum, 13, "google.cloud.gkehub.v1beta1.Membership.InfrastructureType"
|
31
|
+
optional :monitoring_config, :message, 14, "google.cloud.gkehub.v1beta1.MonitoringConfig"
|
30
32
|
oneof :type do
|
31
33
|
optional :endpoint, :message, 4, "google.cloud.gkehub.v1beta1.MembershipEndpoint"
|
32
34
|
end
|
@@ -103,6 +105,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
103
105
|
optional :identity_provider, :string, 3
|
104
106
|
optional :oidc_jwks, :bytes, 4
|
105
107
|
end
|
108
|
+
add_message "google.cloud.gkehub.v1beta1.MonitoringConfig" do
|
109
|
+
optional :project_id, :string, 1
|
110
|
+
optional :location, :string, 2
|
111
|
+
optional :cluster, :string, 3
|
112
|
+
optional :kubernetes_metrics_prefix, :string, 4
|
113
|
+
optional :cluster_hash, :string, 5
|
114
|
+
end
|
106
115
|
add_message "google.cloud.gkehub.v1beta1.MembershipState" do
|
107
116
|
optional :code, :enum, 1, "google.cloud.gkehub.v1beta1.MembershipState.Code"
|
108
117
|
optional :description, :string, 2
|
@@ -140,6 +149,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
140
149
|
add_message "google.cloud.gkehub.v1beta1.DeleteMembershipRequest" do
|
141
150
|
optional :name, :string, 1
|
142
151
|
optional :request_id, :string, 4
|
152
|
+
optional :force, :bool, 5
|
143
153
|
end
|
144
154
|
add_message "google.cloud.gkehub.v1beta1.UpdateMembershipRequest" do
|
145
155
|
optional :name, :string, 1
|
@@ -218,6 +228,7 @@ module Google
|
|
218
228
|
ApplianceCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.ApplianceCluster").msgclass
|
219
229
|
KubernetesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.KubernetesMetadata").msgclass
|
220
230
|
Authority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.Authority").msgclass
|
231
|
+
MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MonitoringConfig").msgclass
|
221
232
|
MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MembershipState").msgclass
|
222
233
|
MembershipState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.MembershipState.Code").enummodule
|
223
234
|
ListMembershipsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1beta1.ListMembershipsRequest").msgclass
|
@@ -25,9 +25,11 @@ module Google
|
|
25
25
|
module V1beta1
|
26
26
|
module GkeHubMembershipService
|
27
27
|
# The GKE Hub MembershipService handles the registration of many Kubernetes
|
28
|
-
# clusters to Google Cloud, represented with the
|
28
|
+
# clusters to Google Cloud, represented with the
|
29
|
+
# [Membership][google.cloud.gkehub.v1beta1.Membership] resource.
|
29
30
|
#
|
30
|
-
# GKE Hub is currently
|
31
|
+
# GKE Hub is currently available in the global region and all regions in
|
32
|
+
# https://cloud.google.com/compute/docs/regions-zones.
|
31
33
|
#
|
32
34
|
# **Membership management may be non-trivial:** it is recommended to use one
|
33
35
|
# of the Google-provided client libraries or tools where possible when working
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -24,8 +24,9 @@ module Google
|
|
24
24
|
# Membership contains information about a member cluster.
|
25
25
|
# @!attribute [r] name
|
26
26
|
# @return [::String]
|
27
|
-
# Output only. The full, unique name of this Membership resource in the
|
28
|
-
# `projects/*/locations/*/memberships/{membership_id}`, set during
|
27
|
+
# Output only. The full, unique name of this Membership resource in the
|
28
|
+
# format `projects/*/locations/*/memberships/{membership_id}`, set during
|
29
|
+
# creation.
|
29
30
|
#
|
30
31
|
# `membership_id` must be a valid RFC 1123 compliant DNS label:
|
31
32
|
#
|
@@ -64,9 +65,10 @@ module Google
|
|
64
65
|
# Output only. When the Membership was deleted.
|
65
66
|
# @!attribute [rw] external_id
|
66
67
|
# @return [::String]
|
67
|
-
# Optional. An externally-generated and managed ID for this Membership. This
|
68
|
-
# be modified after creation, but this is not recommended. For GKE
|
69
|
-
# external_id is managed by the Hub API and updates will be
|
68
|
+
# Optional. An externally-generated and managed ID for this Membership. This
|
69
|
+
# ID may be modified after creation, but this is not recommended. For GKE
|
70
|
+
# clusters, external_id is managed by the Hub API and updates will be
|
71
|
+
# ignored.
|
70
72
|
#
|
71
73
|
# The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`
|
72
74
|
#
|
@@ -74,18 +76,22 @@ module Google
|
|
74
76
|
# set to the UID of the `kube-system` namespace object.
|
75
77
|
# @!attribute [r] last_connection_time
|
76
78
|
# @return [::Google::Protobuf::Timestamp]
|
77
|
-
# Output only. For clusters using Connect, the timestamp of the most recent
|
78
|
-
# established with Google Cloud. This time is updated every
|
79
|
-
# not continuously. For clusters that do not use GKE
|
80
|
-
# never connected successfully, this field will be
|
79
|
+
# Output only. For clusters using Connect, the timestamp of the most recent
|
80
|
+
# connection established with Google Cloud. This time is updated every
|
81
|
+
# several minutes, not continuously. For clusters that do not use GKE
|
82
|
+
# Connect, or that have never connected successfully, this field will be
|
83
|
+
# unset.
|
81
84
|
# @!attribute [r] unique_id
|
82
85
|
# @return [::String]
|
83
|
-
# Output only. Google-generated UUID for this resource. This is unique across
|
84
|
-
# Membership resources. If a Membership resource is deleted and another
|
86
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
87
|
+
# all Membership resources. If a Membership resource is deleted and another
|
85
88
|
# resource with the same name is created, it gets a different unique_id.
|
86
89
|
# @!attribute [rw] infrastructure_type
|
87
90
|
# @return [::Google::Cloud::GkeHub::V1beta1::Membership::InfrastructureType]
|
88
91
|
# Optional. The infrastructure type this Membership is running on.
|
92
|
+
# @!attribute [rw] monitoring_config
|
93
|
+
# @return [::Google::Cloud::GkeHub::V1beta1::MonitoringConfig]
|
94
|
+
# Optional. The monitoring config information for this membership.
|
89
95
|
class Membership
|
90
96
|
include ::Google::Protobuf::MessageExts
|
91
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -126,9 +132,9 @@ module Google
|
|
126
132
|
# Optional. Specific information for a GKE-on-GCP cluster.
|
127
133
|
# @!attribute [rw] on_prem_cluster
|
128
134
|
# @return [::Google::Cloud::GkeHub::V1beta1::OnPremCluster]
|
129
|
-
# Optional. Specific information for a GKE On-Prem cluster. An onprem
|
130
|
-
# who has no resourceLink is not allowed to use this field, it
|
131
|
-
# a nil "type" instead.
|
135
|
+
# Optional. Specific information for a GKE On-Prem cluster. An onprem
|
136
|
+
# user-cluster who has no resourceLink is not allowed to use this field, it
|
137
|
+
# should have a nil "type" instead.
|
132
138
|
# @!attribute [rw] multi_cloud_cluster
|
133
139
|
# @return [::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster]
|
134
140
|
# Optional. Specific information for a GKE Multi-Cloud cluster.
|
@@ -143,8 +149,8 @@ module Google
|
|
143
149
|
# Output only. Useful Kubernetes-specific metadata.
|
144
150
|
# @!attribute [rw] kubernetes_resource
|
145
151
|
# @return [::Google::Cloud::GkeHub::V1beta1::KubernetesResource]
|
146
|
-
# Optional. The in-cluster Kubernetes Resources that should be applied for a
|
147
|
-
# registered cluster, in the steady state. These resources:
|
152
|
+
# Optional. The in-cluster Kubernetes Resources that should be applied for a
|
153
|
+
# correctly registered cluster, in the steady state. These resources:
|
148
154
|
#
|
149
155
|
# * Ensure that the cluster is exclusively registered to one and only one
|
150
156
|
# Hub Membership.
|
@@ -161,8 +167,8 @@ module Google
|
|
161
167
|
# UpdateMembership, these resources should be re-applied in the cluster.
|
162
168
|
# @!attribute [rw] membership_cr_manifest
|
163
169
|
# @return [::String]
|
164
|
-
# Input only. The YAML representation of the Membership CR. This field is
|
165
|
-
# clusters where Hub can read the CR directly.
|
170
|
+
# Input only. The YAML representation of the Membership CR. This field is
|
171
|
+
# ignored for GKE clusters where Hub can read the CR directly.
|
166
172
|
#
|
167
173
|
# Callers should provide the CR that is currently present in the cluster
|
168
174
|
# during CreateMembership or UpdateMembership, or leave this field empty if
|
@@ -170,8 +176,8 @@ module Google
|
|
170
176
|
# registered with another Membership.
|
171
177
|
# @!attribute [r] membership_resources
|
172
178
|
# @return [::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest>]
|
173
|
-
# Output only. Additional Kubernetes resources that need to be applied to the
|
174
|
-
# after Membership creation, and after every update.
|
179
|
+
# Output only. Additional Kubernetes resources that need to be applied to the
|
180
|
+
# cluster after Membership creation, and after every update.
|
175
181
|
#
|
176
182
|
# This field is only populated in the Membership returned from a successful
|
177
183
|
# long-running operation from CreateMembership or UpdateMembership. It is not
|
@@ -198,9 +204,9 @@ module Google
|
|
198
204
|
# ResourceOptions represent options for Kubernetes resource generation.
|
199
205
|
# @!attribute [rw] connect_version
|
200
206
|
# @return [::String]
|
201
|
-
# Optional. The Connect agent version to use for connect_resources. Defaults
|
202
|
-
# latest GKE Connect version. The version must be a currently
|
203
|
-
# version, obsolete versions will be rejected.
|
207
|
+
# Optional. The Connect agent version to use for connect_resources. Defaults
|
208
|
+
# to the latest GKE Connect version. The version must be a currently
|
209
|
+
# supported version, obsolete versions will be rejected.
|
204
210
|
# @!attribute [rw] v1beta1_crd
|
205
211
|
# @return [::Boolean]
|
206
212
|
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
@@ -209,8 +215,8 @@ module Google
|
|
209
215
|
# <1.16.
|
210
216
|
# @!attribute [rw] k8s_version
|
211
217
|
# @return [::String]
|
212
|
-
# Optional. Major version of the Kubernetes cluster. This is only used to
|
213
|
-
# which version to use for the CustomResourceDefinition resources,
|
218
|
+
# Optional. Major version of the Kubernetes cluster. This is only used to
|
219
|
+
# determine which version to use for the CustomResourceDefinition resources,
|
214
220
|
# `apiextensions/v1beta1` or`apiextensions/v1`.
|
215
221
|
class ResourceOptions
|
216
222
|
include ::Google::Protobuf::MessageExts
|
@@ -244,8 +250,8 @@ module Google
|
|
244
250
|
# Zonal clusters are also supported.
|
245
251
|
# @!attribute [r] cluster_missing
|
246
252
|
# @return [::Boolean]
|
247
|
-
# Output only. If cluster_missing is set then it denotes that the GKE cluster
|
248
|
-
# exists in the GKE Control Plane.
|
253
|
+
# Output only. If cluster_missing is set then it denotes that the GKE cluster
|
254
|
+
# no longer exists in the GKE Control Plane.
|
249
255
|
class GkeCluster
|
250
256
|
include ::Google::Protobuf::MessageExts
|
251
257
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -254,7 +260,8 @@ module Google
|
|
254
260
|
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
255
261
|
# @!attribute [rw] resource_link
|
256
262
|
# @return [::String]
|
257
|
-
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
|
263
|
+
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
|
264
|
+
# example:
|
258
265
|
#
|
259
266
|
# //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
|
260
267
|
# //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
|
@@ -295,11 +302,12 @@ module Google
|
|
295
302
|
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
296
303
|
# @!attribute [rw] resource_link
|
297
304
|
# @return [::String]
|
298
|
-
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster.
|
299
|
-
# example:
|
305
|
+
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster.
|
306
|
+
# For example:
|
300
307
|
#
|
301
308
|
# //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
|
302
309
|
# //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster
|
310
|
+
# //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
|
303
311
|
# @!attribute [r] cluster_missing
|
304
312
|
# @return [::Boolean]
|
305
313
|
# Output only. If cluster_missing is set then it denotes that
|
@@ -339,12 +347,13 @@ module Google
|
|
339
347
|
# representing Kubernetes clusters.
|
340
348
|
# @!attribute [r] kubernetes_api_server_version
|
341
349
|
# @return [::String]
|
342
|
-
# Output only. Kubernetes API server version string as reported by
|
350
|
+
# Output only. Kubernetes API server version string as reported by
|
351
|
+
# '/version'.
|
343
352
|
# @!attribute [r] node_provider_id
|
344
353
|
# @return [::String]
|
345
|
-
# Output only. Node providerID as reported by the first node in the list of
|
346
|
-
# the Kubernetes endpoint. On Kubernetes platforms that support
|
347
|
-
# clusters (like GKE-on-GCP), the node_count will be zero and the
|
354
|
+
# Output only. Node providerID as reported by the first node in the list of
|
355
|
+
# nodes on the Kubernetes endpoint. On Kubernetes platforms that support
|
356
|
+
# zero-node clusters (like GKE-on-GCP), the node_count will be zero and the
|
348
357
|
# node_provider_id will be empty.
|
349
358
|
# @!attribute [r] node_count
|
350
359
|
# @return [::Integer]
|
@@ -354,13 +363,13 @@ module Google
|
|
354
363
|
# Output only. vCPU count as reported by Kubernetes nodes resources.
|
355
364
|
# @!attribute [r] memory_mb
|
356
365
|
# @return [::Integer]
|
357
|
-
# Output only. The total memory capacity as reported by the sum of all
|
358
|
-
# resources, defined in MB.
|
366
|
+
# Output only. The total memory capacity as reported by the sum of all
|
367
|
+
# Kubernetes nodes resources, defined in MB.
|
359
368
|
# @!attribute [r] update_time
|
360
369
|
# @return [::Google::Protobuf::Timestamp]
|
361
|
-
# Output only. The time at which these details were last updated. This
|
362
|
-
# different from the Membership-level update_time since
|
363
|
-
# updated internally for API consumers.
|
370
|
+
# Output only. The time at which these details were last updated. This
|
371
|
+
# update_time is different from the Membership-level update_time since
|
372
|
+
# EndpointDetails are updated internally for API consumers.
|
364
373
|
class KubernetesMetadata
|
365
374
|
include ::Google::Protobuf::MessageExts
|
366
375
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -371,8 +380,8 @@ module Google
|
|
371
380
|
# https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
|
372
381
|
# @!attribute [rw] issuer
|
373
382
|
# @return [::String]
|
374
|
-
# Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
|
375
|
-
# be a valid URL with length <2000 characters.
|
383
|
+
# Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
|
384
|
+
# `https://` and be a valid URL with length <2000 characters.
|
376
385
|
#
|
377
386
|
# If set, then Google will allow valid OIDC tokens from this issuer to
|
378
387
|
# authenticate within the workload_identity_pool. OIDC discovery will be
|
@@ -383,8 +392,8 @@ module Google
|
|
383
392
|
# a new issuer (and re-enabling Workload Identity).
|
384
393
|
# @!attribute [r] workload_identity_pool
|
385
394
|
# @return [::String]
|
386
|
-
# Output only. The name of the workload identity pool in which `issuer` will
|
387
|
-
# recognized.
|
395
|
+
# Output only. The name of the workload identity pool in which `issuer` will
|
396
|
+
# be recognized.
|
388
397
|
#
|
389
398
|
# There is a single Workload Identity Pool per Hub that is shared
|
390
399
|
# between all Memberships that belong to that Hub. For a Hub hosted in
|
@@ -392,11 +401,12 @@ module Google
|
|
392
401
|
# although this is subject to change in newer versions of this API.
|
393
402
|
# @!attribute [r] identity_provider
|
394
403
|
# @return [::String]
|
395
|
-
# Output only. An identity provider that reflects the `issuer` in the
|
396
|
-
# pool.
|
404
|
+
# Output only. An identity provider that reflects the `issuer` in the
|
405
|
+
# workload identity pool.
|
397
406
|
# @!attribute [rw] oidc_jwks
|
398
407
|
# @return [::String]
|
399
|
-
# Optional. OIDC verification keys for this Membership in JWKS format (RFC
|
408
|
+
# Optional. OIDC verification keys for this Membership in JWKS format (RFC
|
409
|
+
# 7517).
|
400
410
|
#
|
401
411
|
# When this field is set, OIDC discovery will NOT be performed on `issuer`,
|
402
412
|
# and instead OIDC tokens will be validated using this field.
|
@@ -405,6 +415,38 @@ module Google
|
|
405
415
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
406
416
|
end
|
407
417
|
|
418
|
+
# This field informs Fleet-based applications/services/UIs with the necessary
|
419
|
+
# information for where each underlying Cluster reports its metrics.
|
420
|
+
# @!attribute [rw] project_id
|
421
|
+
# @return [::String]
|
422
|
+
# Immutable. Project used to report Metrics
|
423
|
+
# @!attribute [rw] location
|
424
|
+
# @return [::String]
|
425
|
+
# Immutable. Location used to report Metrics
|
426
|
+
# @!attribute [rw] cluster
|
427
|
+
# @return [::String]
|
428
|
+
# Immutable. Cluster name used to report metrics.
|
429
|
+
# For Anthos on VMWare/Baremetal, it would be in format
|
430
|
+
# `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in
|
431
|
+
# format
|
432
|
+
# `{azureClusters, awsClusters}/cluster_name`.
|
433
|
+
# @!attribute [rw] kubernetes_metrics_prefix
|
434
|
+
# @return [::String]
|
435
|
+
# Kubernetes system metrics, if available, are written to this prefix.
|
436
|
+
# This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
|
437
|
+
# eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today
|
438
|
+
# but will migration to be under kubernetes.io/anthos
|
439
|
+
# @!attribute [rw] cluster_hash
|
440
|
+
# @return [::String]
|
441
|
+
# Immutable. Cluster hash, this is a unique string generated by google code,
|
442
|
+
# which does not contain any PII, which we can use to reference the cluster.
|
443
|
+
# This is expected to be created by the monitoring stack and persisted into
|
444
|
+
# the Cluster object as well as to GKE-Hub.
|
445
|
+
class MonitoringConfig
|
446
|
+
include ::Google::Protobuf::MessageExts
|
447
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
448
|
+
end
|
449
|
+
|
408
450
|
# State of the Membership resource.
|
409
451
|
# @!attribute [r] code
|
410
452
|
# @return [::Google::Cloud::GkeHub::V1beta1::MembershipState::Code]
|
@@ -444,13 +486,14 @@ module Google
|
|
444
486
|
# Request message for `GkeHubMembershipService.ListMemberships` method.
|
445
487
|
# @!attribute [rw] parent
|
446
488
|
# @return [::String]
|
447
|
-
# Required. The parent (project and location) where the Memberships will be
|
448
|
-
# Specified in the format `projects/*/locations/*`.
|
489
|
+
# Required. The parent (project and location) where the Memberships will be
|
490
|
+
# listed. Specified in the format `projects/*/locations/*`.
|
491
|
+
# `projects/*/locations/-` list memberships in all the regions.
|
449
492
|
# @!attribute [rw] page_size
|
450
493
|
# @return [::Integer]
|
451
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
452
|
-
# resources to return. If unspecified or set to 0, all resources
|
453
|
-
# be returned.
|
494
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
495
|
+
# number of resources to return. If unspecified or set to 0, all resources
|
496
|
+
# will be returned.
|
454
497
|
# @!attribute [rw] page_token
|
455
498
|
# @return [::String]
|
456
499
|
# Optional. Token returned by previous call to `ListMemberships` which
|
@@ -458,8 +501,8 @@ module Google
|
|
458
501
|
# resources.
|
459
502
|
# @!attribute [rw] filter
|
460
503
|
# @return [::String]
|
461
|
-
# Optional. Lists Memberships that match the filter expression, following the
|
462
|
-
# outlined in https://google.aip.dev/160.
|
504
|
+
# Optional. Lists Memberships that match the filter expression, following the
|
505
|
+
# syntax outlined in https://google.aip.dev/160.
|
463
506
|
#
|
464
507
|
# Examples:
|
465
508
|
#
|
@@ -517,12 +560,12 @@ module Google
|
|
517
560
|
# Request message for the `GkeHubMembershipService.CreateMembership` method.
|
518
561
|
# @!attribute [rw] parent
|
519
562
|
# @return [::String]
|
520
|
-
# Required. The parent (project and location) where the Memberships will be
|
521
|
-
# Specified in the format `projects/*/locations/*`.
|
563
|
+
# Required. The parent (project and location) where the Memberships will be
|
564
|
+
# created. Specified in the format `projects/*/locations/*`.
|
522
565
|
# @!attribute [rw] membership_id
|
523
566
|
# @return [::String]
|
524
|
-
# Required. Client chosen ID for the membership. `membership_id` must be a
|
525
|
-
# 1123 compliant DNS label:
|
567
|
+
# Required. Client chosen ID for the membership. `membership_id` must be a
|
568
|
+
# valid RFC 1123 compliant DNS label:
|
526
569
|
#
|
527
570
|
# 1. At most 63 characters in length
|
528
571
|
# 2. It must consist of lower case alphanumeric characters or `-`
|
@@ -573,6 +616,11 @@ module Google
|
|
573
616
|
#
|
574
617
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
575
618
|
# not supported (00000000-0000-0000-0000-000000000000).
|
619
|
+
# @!attribute [rw] force
|
620
|
+
# @return [::Boolean]
|
621
|
+
# Optional. If set to true, any subresource from this Membership will also be
|
622
|
+
# deleted. Otherwise, the request will only work if the Membership has no
|
623
|
+
# subresource.
|
576
624
|
class DeleteMembershipRequest
|
577
625
|
include ::Google::Protobuf::MessageExts
|
578
626
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -585,8 +633,8 @@ module Google
|
|
585
633
|
# `projects/[project_id]/locations/global/memberships/[membership_id]`
|
586
634
|
# @!attribute [rw] update_mask
|
587
635
|
# @return [::Google::Protobuf::FieldMask]
|
588
|
-
# Required. Mask of fields to update. At least one field path must be
|
589
|
-
# mask.
|
636
|
+
# Required. Mask of fields to update. At least one field path must be
|
637
|
+
# specified in this mask.
|
590
638
|
# @!attribute [rw] resource
|
591
639
|
# @return [::Google::Cloud::GkeHub::V1beta1::Membership]
|
592
640
|
# Required. Only fields specified in update_mask are updated.
|
@@ -619,17 +667,17 @@ module Google
|
|
619
667
|
|
620
668
|
# Request message for `GkeHubMembershipService.GenerateConnectManifest`
|
621
669
|
# method.
|
622
|
-
# .
|
623
670
|
# @!attribute [rw] name
|
624
671
|
# @return [::String]
|
625
|
-
# Required. The Membership resource name the Agent will associate with, in
|
626
|
-
# `projects/*/locations/*/memberships/*`.
|
672
|
+
# Required. The Membership resource name the Agent will associate with, in
|
673
|
+
# the format `projects/*/locations/*/memberships/*`.
|
627
674
|
# @!attribute [rw] connect_agent
|
628
675
|
# @return [::Google::Cloud::GkeHub::V1beta1::ConnectAgent]
|
629
676
|
# Optional. The connect agent to generate manifest for.
|
630
677
|
# @!attribute [rw] version
|
631
678
|
# @return [::String]
|
632
|
-
# Optional. The Connect agent version to use. Defaults to the most current
|
679
|
+
# Optional. The Connect agent version to use. Defaults to the most current
|
680
|
+
# version.
|
633
681
|
# @!attribute [rw] is_upgrade
|
634
682
|
# @return [::Boolean]
|
635
683
|
# Optional. If true, generate the resources for upgrade only. Some resources
|
@@ -689,14 +737,15 @@ module Google
|
|
689
737
|
# Do not set.
|
690
738
|
# @!attribute [rw] proxy
|
691
739
|
# @return [::String]
|
692
|
-
# Optional. URI of a proxy if connectivity from the agent to
|
693
|
-
# requires the use of a proxy. Format must be in
|
694
|
-
# `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
|
740
|
+
# Optional. URI of a proxy if connectivity from the agent to
|
741
|
+
# gkeconnect.googleapis.com requires the use of a proxy. Format must be in
|
742
|
+
# the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
|
695
743
|
# supported by the proxy. This will direct the connect agent's outbound
|
696
744
|
# traffic through a HTTP(S) proxy.
|
697
745
|
# @!attribute [rw] namespace
|
698
746
|
# @return [::String]
|
699
|
-
# Optional. Namespace for GKE Connect agent resources. Defaults to
|
747
|
+
# Optional. Namespace for GKE Connect agent resources. Defaults to
|
748
|
+
# `gke-connect`.
|
700
749
|
#
|
701
750
|
# The Connect Agent is authorized automatically when run in the default
|
702
751
|
# namespace. Otherwise, explicit authorization must be granted with an
|
@@ -710,16 +759,17 @@ module Google
|
|
710
759
|
# cluster.
|
711
760
|
# @!attribute [rw] parent
|
712
761
|
# @return [::String]
|
713
|
-
# Required. The parent (project and location) where the Memberships will be
|
714
|
-
# Specified in the format `projects/*/locations/*`.
|
762
|
+
# Required. The parent (project and location) where the Memberships will be
|
763
|
+
# created. Specified in the format `projects/*/locations/*`.
|
715
764
|
# @!attribute [rw] cr_manifest
|
716
765
|
# @return [::String]
|
717
|
-
# Optional. The YAML of the membership CR in the cluster. Empty if the
|
718
|
-
# CR does not exist.
|
766
|
+
# Optional. The YAML of the membership CR in the cluster. Empty if the
|
767
|
+
# membership CR does not exist.
|
719
768
|
# @!attribute [rw] intended_membership
|
720
769
|
# @return [::String]
|
721
|
-
# Required. The intended membership name under the `parent`. This method only
|
722
|
-
# validation in anticipation of a CreateMembership call with the same
|
770
|
+
# Required. The intended membership name under the `parent`. This method only
|
771
|
+
# does validation in anticipation of a CreateMembership call with the same
|
772
|
+
# name.
|
723
773
|
class ValidateExclusivityRequest
|
724
774
|
include ::Google::Protobuf::MessageExts
|
725
775
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -793,8 +843,9 @@ module Google
|
|
793
843
|
# @return [::Boolean]
|
794
844
|
# Output only. Identifies whether the user has requested cancellation
|
795
845
|
# of the operation. Operations that have successfully been cancelled
|
796
|
-
# have [Operation.error][] value with a
|
797
|
-
# corresponding to
|
846
|
+
# have [Operation.error][] value with a
|
847
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
848
|
+
# `Code.CANCELLED`.
|
798
849
|
# @!attribute [r] api_version
|
799
850
|
# @return [::String]
|
800
851
|
# Output only. API version used to start the operation.
|
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.7.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: 2023-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|