google-cloud-redis-cluster-v1 0.6.0 → 1.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/cluster/v1/cloud_redis_cluster/client.rb +2 -2
- data/lib/google/cloud/redis/cluster/v1/cloud_redis_cluster/operations.rb +2 -2
- data/lib/google/cloud/redis/cluster/v1/cloud_redis_cluster/rest/client.rb +13 -7
- data/lib/google/cloud/redis/cluster/v1/cloud_redis_cluster/rest/operations.rb +1 -1
- data/lib/google/cloud/redis/cluster/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: baab8023d62f3767e615aaf1457e9ff95f6b1e50d3d45ac5f69447ad535913c3
|
4
|
+
data.tar.gz: caf935dc9337c11764fa754db798f32145c860bc71916424f8d31dac4d3583c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32232088c2962717babf10d3fc497d18dab3ca8f7fd777c0936b559cbeb38b07f09ad914e3f7b7b757386d2e7a7f9f32da79f56e9df0d7de3c6390e944177f34
|
7
|
+
data.tar.gz: a3a1093979bc3e4b87ff8a0118fe8a405ab8c43ac6ddcdc0594dfc64da33bea886922b8535bbce085634812263d8a5d3045a52c6e7203bd55eea45771274eb11
|
@@ -1765,8 +1765,8 @@ module Google
|
|
1765
1765
|
|
1766
1766
|
config_attr :endpoint, nil, ::String, nil
|
1767
1767
|
config_attr :credentials, nil do |value|
|
1768
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1769
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1768
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1769
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1770
1770
|
allowed.any? { |klass| klass === value }
|
1771
1771
|
end
|
1772
1772
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -702,8 +702,8 @@ module Google
|
|
702
702
|
|
703
703
|
config_attr :endpoint, nil, ::String, nil
|
704
704
|
config_attr :credentials, nil do |value|
|
705
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
706
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
705
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
706
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
707
707
|
allowed.any? { |klass| klass === value }
|
708
708
|
end
|
709
709
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|
@@ -1646,7 +1652,7 @@ module Google
|
|
1646
1652
|
|
1647
1653
|
config_attr :endpoint, nil, ::String, nil
|
1648
1654
|
config_attr :credentials, nil do |value|
|
1649
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1655
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1650
1656
|
allowed.any? { |klass| klass === value }
|
1651
1657
|
end
|
1652
1658
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -557,7 +557,7 @@ module Google
|
|
557
557
|
|
558
558
|
config_attr :endpoint, nil, ::String, nil
|
559
559
|
config_attr :credentials, nil do |value|
|
560
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
560
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
561
561
|
allowed.any? { |klass| klass === value }
|
562
562
|
end
|
563
563
|
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-cluster-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.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
|
@@ -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.
|
129
|
+
rubygems_version: 3.6.8
|
130
130
|
specification_version: 4
|
131
131
|
summary: Creates and manages Redis instances on the Google Cloud Platform.
|
132
132
|
test_files: []
|