google-cloud-redis-cluster-v1 0.6.0 → 1.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: 1a5750ce50968b6a56fc01fc2493ae025ea6592fa769ce165b8b3c0b0d484100
4
- data.tar.gz: 0e0cfb2e63341c8462f545dd387b5541f9641613af69eb9c3d2c1f3140aad7ba
3
+ metadata.gz: bb774b1615a85cda1ff7b311540cc466295991ee9498d79a5c872027693f1aaa
4
+ data.tar.gz: 558576fe2545a243bb167b4574dc693be440ebe114636a99f3536114a88b5fb5
5
5
  SHA512:
6
- metadata.gz: 759296fd388ff82623b1a3c986b15f87c5f36a1cb1f82d94cbb754677a4023437a2cfc6d6131d99f2aef2f8f7b942ba84bd41b5f9e512c3144480d7c372ebde9
7
- data.tar.gz: d62399620d62951e00e1a6b54fbfbae86bf9744e749f8e4bec8f5c64c87e104991c6e58e07b896e79fb641ae9dcee883e5d6f47f330aaf7956fd060a83992f9f
6
+ metadata.gz: 69e18cc746d23ad10087b03eb023a6bb5a28555f7e70777f338fe0c6b7826c9550d9e595db491324a2549e0822903162c87a842c5dbf03a198402bbd1d0a7c9b
7
+ data.tar.gz: 8ed5d29cffb7430ce791234ebf88fd1b9f89c2d47d08a217a7b974f81dae4ea397a4df817645768d983f09396f22b0a4bcd3a9aed9139cd7060d56d3abd88404
@@ -292,10 +292,10 @@ module Google
292
292
  # The `next_page_token` value returned from a previous
293
293
  # [ListClusters][CloudRedis.ListClusters] request, if any.
294
294
  # @yield [result, operation] Access the result along with the TransportOperation object
295
- # @yieldparam result [::Google::Cloud::Redis::Cluster::V1::ListClustersResponse]
295
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::Cluster::V1::Cluster>]
296
296
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
297
297
  #
298
- # @return [::Google::Cloud::Redis::Cluster::V1::ListClustersResponse]
298
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::Cluster::V1::Cluster>]
299
299
  #
300
300
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
301
301
  #
@@ -347,7 +347,9 @@ module Google
347
347
  retry_policy: @config.retry_policy
348
348
 
349
349
  @cloud_redis_cluster_stub.list_clusters request, options do |result, operation|
350
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_redis_cluster_stub, :list_clusters, "clusters", request, result, options
350
351
  yield result, operation if block_given?
352
+ throw :response, result
351
353
  end
352
354
  rescue ::Gapic::Rest::Error => e
353
355
  raise ::Google::Cloud::Error.from_error(e)
@@ -950,10 +952,10 @@ module Google
950
952
  # Optional. The `next_page_token` value returned from a previous
951
953
  # [ListBackupCollections] request, if any.
952
954
  # @yield [result, operation] Access the result along with the TransportOperation object
953
- # @yieldparam result [::Google::Cloud::Redis::Cluster::V1::ListBackupCollectionsResponse]
955
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::Cluster::V1::BackupCollection>]
954
956
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
955
957
  #
956
- # @return [::Google::Cloud::Redis::Cluster::V1::ListBackupCollectionsResponse]
958
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::Cluster::V1::BackupCollection>]
957
959
  #
958
960
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
959
961
  #
@@ -1005,7 +1007,9 @@ module Google
1005
1007
  retry_policy: @config.retry_policy
1006
1008
 
1007
1009
  @cloud_redis_cluster_stub.list_backup_collections request, options do |result, operation|
1010
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_redis_cluster_stub, :list_backup_collections, "backup_collections", request, result, options
1008
1011
  yield result, operation if block_given?
1012
+ throw :response, result
1009
1013
  end
1010
1014
  rescue ::Gapic::Rest::Error => e
1011
1015
  raise ::Google::Cloud::Error.from_error(e)
@@ -1124,10 +1128,10 @@ module Google
1124
1128
  # Optional. The `next_page_token` value returned from a previous
1125
1129
  # [ListBackupCollections] request, if any.
1126
1130
  # @yield [result, operation] Access the result along with the TransportOperation object
1127
- # @yieldparam result [::Google::Cloud::Redis::Cluster::V1::ListBackupsResponse]
1131
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::Cluster::V1::Backup>]
1128
1132
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1129
1133
  #
1130
- # @return [::Google::Cloud::Redis::Cluster::V1::ListBackupsResponse]
1134
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::Cluster::V1::Backup>]
1131
1135
  #
1132
1136
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1133
1137
  #
@@ -1179,7 +1183,9 @@ module Google
1179
1183
  retry_policy: @config.retry_policy
1180
1184
 
1181
1185
  @cloud_redis_cluster_stub.list_backups request, options do |result, operation|
1186
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_redis_cluster_stub, :list_backups, "backups", request, result, options
1182
1187
  yield result, operation if block_given?
1188
+ throw :response, result
1183
1189
  end
1184
1190
  rescue ::Gapic::Rest::Error => e
1185
1191
  raise ::Google::Cloud::Error.from_error(e)
@@ -22,7 +22,7 @@ module Google
22
22
  module Redis
23
23
  module Cluster
24
24
  module V1
25
- VERSION = "0.6.0"
25
+ VERSION = "1.0.0"
26
26
  end
27
27
  end
28
28
  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-redis-cluster-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 1.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
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.6.2
129
+ rubygems_version: 3.6.3
130
130
  specification_version: 4
131
131
  summary: Creates and manages Redis instances on the Google Cloud Platform.
132
132
  test_files: []