google-cloud-gke_hub-v1beta1 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aea396b9d3aed7fcdfa11744a60abe2dfe4d5058ea55a736ecc2393661d1b78f
4
- data.tar.gz: 668aeb6909ae5628bb35e87009a6ac2545bb7969abea3e90b47a238ae4faef82
3
+ metadata.gz: 0e4911c61d696d1c0ef20fa803121e47b5fb084c0f288817d5bb9a0797a4e621
4
+ data.tar.gz: 1630f36aa2f7c7cfeffa4565e1b68b868e32c6d34944d77227a20c9996bfe811
5
5
  SHA512:
6
- metadata.gz: 1271ba2c481dbcd250ee3dc1e82ef0d594b453302afa254de186b315bec11b97855ed3051047959be2a8a6b924f58b4e7fd75f85431718b21cdad6bddd784fbd
7
- data.tar.gz: 0bb748d09712b2dcda437cd00573fb7fe229f2de2cc5367d850d72476fa6c52e12b67365e2236bc3a8bee5df25ccd12ad138000727198d7fdc4c8d4d48a0d869
6
+ metadata.gz: 335a05928c601f9d29b82fb8f0aba8968b7ead83fe1a48d3deaa37d2cef7c0eeabdcaed8053a60e44ed8e3832030ef0cc1a06d178e3f35a4129c445e5e177524
7
+ data.tar.gz: 13cb7d06f0cdc2500d5e4e792e06e2fe593e410c6c3f507edca1a74eba007e79118b88afba7829b4934914bdd141458b9e71402d150f18c002ebc2a0496ec64e
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://googleapis.dev/ruby/google-cloud-logging/latest)
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 {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
33
+ # clusters to Google Cloud, represented with the
34
+ # {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
34
35
  #
35
- # GKE Hub is currently only available in the global region.
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
@@ -137,7 +139,7 @@ module Google
137
139
  credentials = @config.credentials
138
140
  # Use self-signed JWT if the endpoint is unchanged from default,
139
141
  # but only if the default endpoint does not have a region prefix.
140
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
142
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
141
143
  !@config.endpoint.split(".").first.include?("-")
142
144
  credentials ||= Credentials.default scope: @config.scope,
143
145
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -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 listed.
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 number of
223
- # resources to return. If unspecified or set to 0, all resources will
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 syntax
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 created.
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 valid RFC
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 specified in this
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 the format
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 version.
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 created.
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 membership
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 does
893
- # validation in anticipation of a CreateMembership call with the same name.
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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
@@ -1143,7 +1152,9 @@ module Google
1143
1152
  class Configuration
1144
1153
  extend ::Gapic::Config
1145
1154
 
1146
- config_attr :endpoint, "gkehub.googleapis.com", ::String
1155
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
1156
+
1157
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1147
1158
  config_attr :credentials, nil do |value|
1148
1159
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1149
1160
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "gkehub.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -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 {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
35
+ # clusters to Google Cloud, represented with the
36
+ # {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
36
37
  #
37
- # GKE Hub is currently only available in the global region.
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
@@ -133,7 +135,7 @@ module Google
133
135
  credentials = @config.credentials
134
136
  # Use self-signed JWT if the endpoint is unchanged from default,
135
137
  # but only if the default endpoint does not have a region prefix.
136
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
138
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
137
139
  !@config.endpoint.split(".").first.include?("-")
138
140
  credentials ||= Credentials.default scope: @config.scope,
139
141
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -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 listed.
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 number of
216
- # resources to return. If unspecified or set to 0, all resources will
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 syntax
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 created.
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 valid RFC
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 specified in this
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 the format
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 version.
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 created.
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 membership
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 does
722
- # validation in anticipation of a CreateMembership call with the same name.
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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
@@ -917,7 +926,9 @@ module Google
917
926
  class Configuration
918
927
  extend ::Gapic::Config
919
928
 
920
- config_attr :endpoint, "gkehub.googleapis.com", ::String
929
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
930
+
931
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
921
932
  config_attr :credentials, nil do |value|
922
933
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
923
934
  allowed.any? { |klass| klass === value }
@@ -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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "gkehub.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "gkehub.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_memberships_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_membership_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_membership_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_membership_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_update_membership_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_generate_connect_manifest_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_validate_exclusivity_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_generate_exclusivity_manifest_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -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 {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
37
+ # clusters to Google Cloud, represented with the
38
+ # {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
38
39
  #
39
- # GKE Hub is currently only available in the global region.
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 {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
37
+ # clusters to Google Cloud, represented with the
38
+ # {::Google::Cloud::GkeHub::V1beta1::Membership Membership} resource.
38
39
  #
39
- # GKE Hub is currently only available in the global region.
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeHub
23
23
  module V1beta1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end