google-cloud-redis-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 +4 -4
- data/lib/google/cloud/redis/v1/cloud_redis/client.rb +2 -2
- data/lib/google/cloud/redis/v1/cloud_redis/operations.rb +2 -2
- data/lib/google/cloud/redis/v1/cloud_redis/rest/client.rb +5 -3
- data/lib/google/cloud/redis/v1/cloud_redis/rest/operations.rb +1 -1
- data/lib/google/cloud/redis/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 883146444d70908cd47514045775f2a6e3247499c8e7485d105a4297b3cafc68
|
4
|
+
data.tar.gz: 6de462917d81f628656ecaa5009050fa652f53854c6a53e3e864dc8b62c2304e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0910c09538098945edef76c13ce51ccd2f80c148e87bb21fac2c3a05374d9526bf20a067bc7df8cfa150a35d9fed7460d055f41a889f71e7bdca40fc37840e17'
|
7
|
+
data.tar.gz: f112200a4bc28f3339dbcb6a082ad85f3d79a1d3ed53a71be0fb9a07a88ecb1a43d93eaa45e004babdf66c32ae5a5c885bb5a3e741ca10bebbffe47b50d2dfc4
|
@@ -1478,8 +1478,8 @@ module Google
|
|
1478
1478
|
|
1479
1479
|
config_attr :endpoint, nil, ::String, nil
|
1480
1480
|
config_attr :credentials, nil do |value|
|
1481
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1482
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1481
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1482
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1483
1483
|
allowed.any? { |klass| klass === value }
|
1484
1484
|
end
|
1485
1485
|
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
|
@@ -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::
|
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::
|
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)
|
@@ -1384,7 +1386,7 @@ module Google
|
|
1384
1386
|
|
1385
1387
|
config_attr :endpoint, nil, ::String, nil
|
1386
1388
|
config_attr :credentials, nil do |value|
|
1387
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1389
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1388
1390
|
allowed.any? { |klass| klass === value }
|
1389
1391
|
end
|
1390
1392
|
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
|
@@ -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-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
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:
|
10
|
+
date: 1980-01-02 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.
|
128
|
+
rubygems_version: 3.6.8
|
129
129
|
specification_version: 4
|
130
130
|
summary: Creates and manages Redis instances on the Google Cloud Platform.
|
131
131
|
test_files: []
|