google-cloud-redis-v1beta1 0.15.0 → 0.16.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: 1995ec5ad73ee400cd9e377dd30308497e88eb1c81d325f38ea9ed2201665f95
4
- data.tar.gz: 4bb269b8c128ddef2fede650a8db647e9d2eda1b813e2e9749d6c6707c09e2f5
3
+ metadata.gz: c48a12df04c3a536a39c4d8d2f157ccda3a7348627eef47e184760f887137703
4
+ data.tar.gz: 649ee6a18d7251055aab796c917f1ab9fea628d639ab299dbcace48645c5f567
5
5
  SHA512:
6
- metadata.gz: 5e2bf9e3eb68f1d86a6e9fad7070dbd0f74d9d8eaaaf75b2418d209a5b8325de74ce5da127df0c9798cb290650ffa4ecd1d800c8a168022bd387c447043646fe
7
- data.tar.gz: f54645161f01a0f178e7ad885f3454ea7b831db39bb776ca37c79c82fcdae398cc0c60c175ac79d8228fec1be207c994bc70bf8904d5e24740fed1e355361c3d
6
+ metadata.gz: 71f89e4c803cf851abeb21a3c28784c3670653356857643d22af69d981e8d7fa70943fdb8925a975a435e862619f39311abbad61c47c04c263abe009ff87ff2e
7
+ data.tar.gz: 49a9598d1b36b63cd54eaad137de6a2a8899fa8ee9cdd184326b71f879ecc599f20febf0214ef88804ab83e63ac178d657f06fc18916b61ee1b7bb61c83b0e4e
@@ -1458,8 +1458,8 @@ module Google
1458
1458
 
1459
1459
  config_attr :endpoint, nil, ::String, nil
1460
1460
  config_attr :credentials, nil do |value|
1461
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1462
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1461
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1462
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1463
1463
  allowed.any? { |klass| klass === value }
1464
1464
  end
1465
1465
  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
  # The `next_page_token` value returned from a previous
267
267
  # {::Google::Cloud::Redis::V1beta1::CloudRedis::Rest::Client#list_instances ListInstances} request, if any.
268
268
  # @yield [result, operation] Access the result along with the TransportOperation object
269
- # @yieldparam result [::Google::Cloud::Redis::V1beta1::ListInstancesResponse]
269
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::V1beta1::Instance>]
270
270
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
271
271
  #
272
- # @return [::Google::Cloud::Redis::V1beta1::ListInstancesResponse]
272
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Redis::V1beta1::Instance>]
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
  @cloud_redis_stub.list_instances request, options do |result, operation|
324
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_redis_stub, :list_instances, "instances", 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)
@@ -1363,7 +1365,7 @@ module Google
1363
1365
 
1364
1366
  config_attr :endpoint, nil, ::String, nil
1365
1367
  config_attr :credentials, nil do |value|
1366
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1368
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1367
1369
  allowed.any? { |klass| klass === value }
1368
1370
  end
1369
1371
  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 Redis
23
23
  module V1beta1
24
- VERSION = "0.15.0"
24
+ VERSION = "0.16.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-redis-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.6.2
107
+ rubygems_version: 3.6.8
108
108
  specification_version: 4
109
109
  summary: Creates and manages Redis instances on the Google Cloud Platform.
110
110
  test_files: []