google-cloud-gke_hub-v1beta1 0.13.0 → 0.14.1

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: 20d51d859715706488b87ad935ffcc351f3e46c4a68a052fae908d9a4b0119ad
4
- data.tar.gz: c1c6e4fed1a8afd2a9c1fc99487f577e8ce076c8b569d2f3fa38ceb11d22a2bb
3
+ metadata.gz: fb759c4bc4d7ce81fb7d7a00477a8b17d2ca1a1374887312091b32efce5c7b14
4
+ data.tar.gz: bb86d5c2d5a4cdefd3449e77931b543f213cc66ba201b2a48bc110f7901a608e
5
5
  SHA512:
6
- metadata.gz: f84ee2c5f788f885b29cd4158623767e3738ffd232ea87ab3cbbbfb9fa037d7ab90b949a49ab04a6ebe18fc4031eb6950dfdfe59be1ab7d80048f934cc25dc4a
7
- data.tar.gz: 8d1131343a7952c3214c0394bd26322e7e6d1e37567a4cf66b9dc7b48fe60368020deb922e684010112e1ff0e6745f4fda60fa4307d1d032ed8967092411f72a
6
+ metadata.gz: e25564760635f7323fe18e2af25139a17f49e30417d00d2f3659428e6e4393d08176fc942d78d0899819a866e8d3affbcb83c041987b153a9843708021b4bba6
7
+ data.tar.gz: 6ed193180bfb2c553645d004b853a72998221c3069ceee4e654bba4a1dfff8a3d0c4719b889ac4a7bc8cf7c5672c036829c5ca07d880d2c1d28245d203ec194c
@@ -1223,8 +1223,8 @@ module Google
1223
1223
 
1224
1224
  config_attr :endpoint, nil, ::String, nil
1225
1225
  config_attr :credentials, nil do |value|
1226
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1227
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1226
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1227
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1228
1228
  allowed.any? { |klass| klass === value }
1229
1229
  end
1230
1230
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -293,10 +293,10 @@ module Google
293
293
  # Optional. One or more fields to compare and use to sort the output.
294
294
  # See https://google.aip.dev/132#ordering.
295
295
  # @yield [result, operation] Access the result along with the TransportOperation object
296
- # @yieldparam result [::Google::Cloud::GkeHub::V1beta1::ListMembershipsResponse]
296
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeHub::V1beta1::Membership>]
297
297
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
298
298
  #
299
- # @return [::Google::Cloud::GkeHub::V1beta1::ListMembershipsResponse]
299
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeHub::V1beta1::Membership>]
300
300
  #
301
301
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
302
302
  #
@@ -348,7 +348,9 @@ module Google
348
348
  retry_policy: @config.retry_policy
349
349
 
350
350
  @gke_hub_membership_service_stub.list_memberships request, options do |result, operation|
351
+ result = ::Gapic::Rest::PagedEnumerable.new @gke_hub_membership_service_stub, :list_memberships, "resources", request, result, options
351
352
  yield result, operation if block_given?
353
+ throw :response, result
352
354
  end
353
355
  rescue ::Gapic::Rest::Error => e
354
356
  raise ::Google::Cloud::Error.from_error(e)
@@ -1151,7 +1153,7 @@ module Google
1151
1153
 
1152
1154
  config_attr :endpoint, nil, ::String, nil
1153
1155
  config_attr :credentials, nil do |value|
1154
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1156
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1155
1157
  allowed.any? { |klass| klass === value }
1156
1158
  end
1157
1159
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeHub
23
23
  module V1beta1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.14.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_hub-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.6.2
148
+ rubygems_version: 3.6.8
149
149
  specification_version: 4
150
150
  summary: API Client library for the GKE Hub V1beta1 API
151
151
  test_files: []