google-cloud-redis-v1beta1 0.14.0 → 0.16.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: 6678e5deda22dc6fe5dd58962fb9ff0be0a00237610d7902bc5ec9482469d860
4
- data.tar.gz: 283dca1e43541ee5bad32fabded3b2153a0406675d505e0e804df416d81bed44
3
+ metadata.gz: a09a1b2a2234e832a673a316f77671d3a77a14c8eeca369f80559ac33814e681
4
+ data.tar.gz: 77d174e76689720853bbf341ba0eda7c0510fdd3e9e78a0473d3410075e2a332
5
5
  SHA512:
6
- metadata.gz: 99d4a31e5bba3c462cf7c8c0f607ac66ff85773938c397f74b039603bb0e1ac8b6448a12b3a8ec3e7a80c8997caffc72e73726205a0f0b6ab5f9805c84af0ab4
7
- data.tar.gz: 8a079560ae24d54fde93b7f706af0acc9684dc9fc4ad3f17c1d448026dd11e80d6fe9fbaeaf6d4680161f3f63f49a77c4e4fba1fe9097224c96704b411932f5d
6
+ metadata.gz: 7f8c9b26d5e6570274d0c23be909ba94c80ff2fb844cce44db167c2aa4e0a098ac1a4959da61798eef78912166a407b07d2b665a3ca0bc1b5bb8930cf0daab5f
7
+ data.tar.gz: ad41c6f1d0b621a01fcfcab626b4037af9b6164a3571241e5b0768fd55abc3b1b830cd3f5ff877bbbcb0305eaa8dafac19702c0810f7b7e7df1e82e5830609a6
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1397,6 +1397,13 @@ module Google
1397
1397
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1398
1398
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1399
1399
  # * (`nil`) indicating no credentials
1400
+ #
1401
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1402
+ # external source for authentication to Google Cloud, you must validate it before
1403
+ # providing it to a Google API client library. Providing an unvalidated credential
1404
+ # configuration to Google APIs can compromise the security of your systems and data.
1405
+ # For more information, refer to [Validate credential configurations from external
1406
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1400
1407
  # @return [::Object]
1401
1408
  # @!attribute [rw] scope
1402
1409
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -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)
@@ -1309,6 +1311,13 @@ module Google
1309
1311
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1310
1312
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1311
1313
  # * (`nil`) indicating no credentials
1314
+ #
1315
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1316
+ # external source for authentication to Google Cloud, you must validate it before
1317
+ # providing it to a Google API client library. Providing an unvalidated credential
1318
+ # configuration to Google APIs can compromise the security of your systems and data.
1319
+ # For more information, refer to [Validate credential configurations from external
1320
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1312
1321
  # @return [::Object]
1313
1322
  # @!attribute [rw] scope
1314
1323
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
23
23
  module V1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.16.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
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +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.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -91,7 +90,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
91
90
  licenses:
92
91
  - Apache-2.0
93
92
  metadata: {}
94
- post_install_message:
95
93
  rdoc_options: []
96
94
  require_paths:
97
95
  - lib
@@ -99,15 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
98
  - - ">="
101
99
  - !ruby/object:Gem::Version
102
- version: '2.7'
100
+ version: '3.0'
103
101
  required_rubygems_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
105
  version: '0'
108
106
  requirements: []
109
- rubygems_version: 3.5.23
110
- signing_key:
107
+ rubygems_version: 3.6.3
111
108
  specification_version: 4
112
109
  summary: Creates and manages Redis instances on the Google Cloud Platform.
113
110
  test_files: []