google-cloud-gke_hub-v1 1.2.0 → 2.0.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: ee76e69c3774e5b440ee1d45e89eb36daa8cbdb298b4107fbdab09e2f966deaf
4
- data.tar.gz: 69a840195fc5e9bd682706c6c332ae68e757e79de0516143dc3261e6c30a1e12
3
+ metadata.gz: 2d6a2a27af5a0049a5b241fd7f3ffaae6d72290b7ee4c3cce975d82605bf467a
4
+ data.tar.gz: df623637ed9f3933610be04befe39eb365b6fabbad3d90a7508277f1788d30e8
5
5
  SHA512:
6
- metadata.gz: fe5e3e916576a522ee38ea64c5a563b9362bb70d8c2ef995aa847d602c766b869fa480f120e353e87c2fd1b75e721d25f0d29926a2f8a0d364c0982659c6238d
7
- data.tar.gz: 265e883cb7d1bd67e8dda8beae6550949f58ce2d739ac7458c75ba3dc0755ea7417d9594cd7f1e54f3bff426f68355eb2a5180245be2ec8351b4b8837e9905a4
6
+ metadata.gz: 5343bd3833d4644ca591387f8447d4fe9ab4efa018455cc21c65395a8ae9a141fbe279b5133bd8b4cd53047c952b4b2b6ba4cd185869aa1442d6c086a9f217ef
7
+ data.tar.gz: acecad37339ad3f8680be962b41cb5e386dfc488b1ea3d9a743e8f20d8a5f940b913dc422fe8a7e0527894b3d414d6afa7452252171ff53f50be9ae39de12054
@@ -1561,8 +1561,8 @@ module Google
1561
1561
 
1562
1562
  config_attr :endpoint, nil, ::String, nil
1563
1563
  config_attr :credentials, nil do |value|
1564
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1565
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1564
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1565
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1566
1566
  allowed.any? { |klass| klass === value }
1567
1567
  end
1568
1568
  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
@@ -266,10 +266,10 @@ module Google
266
266
  # Optional. One or more fields to compare and use to sort the output.
267
267
  # See https://google.aip.dev/132#ordering.
268
268
  # @yield [result, operation] Access the result along with the TransportOperation object
269
- # @yieldparam result [::Google::Cloud::GkeHub::V1::ListMembershipsResponse]
269
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeHub::V1::Membership>]
270
270
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
271
271
  #
272
- # @return [::Google::Cloud::GkeHub::V1::ListMembershipsResponse]
272
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GkeHub::V1::Membership>]
273
273
  #
274
274
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
275
275
  #
@@ -321,7 +321,9 @@ module Google
321
321
  retry_policy: @config.retry_policy
322
322
 
323
323
  @gke_hub_stub.list_memberships request, options do |result, operation|
324
+ result = ::Gapic::Rest::PagedEnumerable.new @gke_hub_stub, :list_memberships, "resources", request, result, options
324
325
  yield result, operation if block_given?
326
+ throw :response, result
325
327
  end
326
328
  rescue ::Gapic::Rest::Error => e
327
329
  raise ::Google::Cloud::Error.from_error(e)
@@ -1466,7 +1468,7 @@ module Google
1466
1468
 
1467
1469
  config_attr :endpoint, nil, ::String, nil
1468
1470
  config_attr :credentials, nil do |value|
1469
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1471
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1470
1472
  allowed.any? { |klass| klass === value }
1471
1473
  end
1472
1474
  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 V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.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
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.6.2
114
+ rubygems_version: 3.6.8
115
115
  specification_version: 4
116
116
  summary: API Client library for the GKE Hub V1 API
117
117
  test_files: []