google-cloud-gke_hub-v1 1.2.0 → 2.0.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: ee76e69c3774e5b440ee1d45e89eb36daa8cbdb298b4107fbdab09e2f966deaf
4
- data.tar.gz: 69a840195fc5e9bd682706c6c332ae68e757e79de0516143dc3261e6c30a1e12
3
+ metadata.gz: 5c0f15d63c1371aa11295ff0a06656dda5b72a225df4f70401fc7ca9d132a0e2
4
+ data.tar.gz: 4361589801769ceb5947c4e718f23e18e77768f0da95a112b6511791ff6375ee
5
5
  SHA512:
6
- metadata.gz: fe5e3e916576a522ee38ea64c5a563b9362bb70d8c2ef995aa847d602c766b869fa480f120e353e87c2fd1b75e721d25f0d29926a2f8a0d364c0982659c6238d
7
- data.tar.gz: 265e883cb7d1bd67e8dda8beae6550949f58ce2d739ac7458c75ba3dc0755ea7417d9594cd7f1e54f3bff426f68355eb2a5180245be2ec8351b4b8837e9905a4
6
+ metadata.gz: fae424c146316f0a7341341f4137d5d646a9abac5f8ba797301d0d1960dd96f144db753aa89e10b00d0779176952126144c7e2d5aa169f7988ea1da1b116f97c
7
+ data.tar.gz: 865572c6f15a58a47daab52ad2a21a724cb037b6f9d6826415e7beed4de583c8e3d6dbccbf454e8ca0bca1fe12494fe05512cac9a42e12b7b47bba097c73b1be
@@ -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)
@@ -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.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  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.0
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: 2025-02-07 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.3
115
115
  specification_version: 4
116
116
  summary: API Client library for the GKE Hub V1 API
117
117
  test_files: []