google-cloud-redis-v1 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22db5bc44349003975dccbf73ef3fba6a29e6aeefa524efb342f490cc0599eed
4
- data.tar.gz: 00454146f07f2b847c7a508e17777996930a5aa12fcd247d09022838a638d34b
3
+ metadata.gz: 8fdc2470458a417b3d81c2970519a8ad7f5b6d99937557a7a9876089f24391d6
4
+ data.tar.gz: e2cfc5d7bded3b86ca03924b28780d46f14b77b7e0c43fe6958d29fcb5aaa8a7
5
5
  SHA512:
6
- metadata.gz: 50b85a21a727b292e4e946f25ee7777fe653512ac10d46489fc3fd2452210a049f24ae1c6cc72314b79e72ac78ad875dbbf59595980457ff894b4ce7bcbf4208
7
- data.tar.gz: 810bbced386054d2bcfe4f31300b7c1c1f8d387b83e484d40d5a7b769361924febd0b6e80bdafd70b4aefa4b99b84f1af226c2b7a39989414fbd5d29a1f57df9
6
+ metadata.gz: 9c9b00fc5a80d91b7095a6cd3b5ece53cafb20d7c096988149d2cae64557a13c4e3331294a9c369e46adb252d99590a009f0a1f865880728cc333971058bc623
7
+ data.tar.gz: 49aa738406997f78bf17ae145fecf67d7f629a0de6c10c1b6b462c2309708dfa0156f4e8fa72c25a46c49426083dbc5f2fec203991104b99c8c824c91a7c44cb
@@ -286,10 +286,10 @@ module Google
286
286
  # {::Google::Cloud::Redis::V1::CloudRedis::Rest::Client#list_instances ListInstances} request, if
287
287
  # any.
288
288
  # @yield [result, operation] Access the result along with the TransportOperation object
289
- # @yieldparam result [::Google::Cloud::Redis::V1::ListInstancesResponse]
289
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::V1::Instance>]
290
290
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
291
291
  #
292
- # @return [::Google::Cloud::Redis::V1::ListInstancesResponse]
292
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::V1::Instance>]
293
293
  #
294
294
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
295
295
  #
@@ -341,7 +341,9 @@ module Google
341
341
  retry_policy: @config.retry_policy
342
342
 
343
343
  @cloud_redis_stub.list_instances request, options do |result, operation|
344
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_redis_stub, :list_instances, "instances", request, result, options
344
345
  yield result, operation if block_given?
346
+ throw :response, result
345
347
  end
346
348
  rescue ::Gapic::Rest::Error => e
347
349
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
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-redis-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
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.6.2
128
+ rubygems_version: 3.6.3
129
129
  specification_version: 4
130
130
  summary: Creates and manages Redis instances on the Google Cloud Platform.
131
131
  test_files: []