google-cloud-redis-v1 2.3.0 → 2.3.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: d891c9e24b6b16f0f0e67122b6480fdcc41abac11021b6621e1d1d9aec18233c
4
- data.tar.gz: bbd179c19f7545ed4d5c4b080b9523fd72c21b5046bf7cf6c3f485a81e99caa5
3
+ metadata.gz: 4d0f6c99009a98a6a23284e4596fe70b1e9e9b123aec26185f9ac6a97fd3a3a1
4
+ data.tar.gz: 6a1f8f13c350cca06e6b03f75437a01e76abf82e5095125218846b518864f760
5
5
  SHA512:
6
- metadata.gz: 631413d51fb68ea8ad415301e919aed692b40b69622a2e1c51d5433edd566e147a60cac1b9275c76faae91daea301b66765c59074f9856282a538a4e379d50a7
7
- data.tar.gz: 2a28d721a54f9a6888588cec282ddd4e89e9566a1ef543fc41b4e31ab27181c11a0d604286313510bca70fa3c24c16de31b9d35510268fb6bd621a466bab22be
6
+ metadata.gz: 8f46e045d5a2ff8a3c12c292d7ea7cb8042394515c2985eb25edfbc97cc310ee0beb97204fc9f5d8c226adf6c894213da9beffbbb792b2b8ec37a8f1235f6587
7
+ data.tar.gz: c6d59a51ae473110d11746a8ae6aac110c4bbb6a4d97a993573bfde2c1cc2059be2020c1effdf81cf8f883d8aaa7859b06a68c63bf37ead21c26509d85cb66e2
@@ -1408,8 +1408,6 @@ module Google
1408
1408
  # @return [::String,nil]
1409
1409
  # @!attribute [rw] credentials
1410
1410
  # Credentials to send with calls. You may provide any of the following types:
1411
- # * (`String`) The path to a service account key file in JSON format
1412
- # * (`Hash`) A service account key as a Hash
1413
1411
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1414
1412
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1415
1413
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1418,7 +1416,26 @@ module Google
1418
1416
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1419
1417
  # * (`nil`) indicating no credentials
1420
1418
  #
1421
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1419
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1420
+ # is deprecated. Providing an unvalidated credential configuration to
1421
+ # Google APIs can compromise the security of your systems and data.
1422
+ #
1423
+ # @example
1424
+ #
1425
+ # # The recommended way to provide credentials is to use the `make_creds` method
1426
+ # # on the appropriate credentials class for your environment.
1427
+ #
1428
+ # require "googleauth"
1429
+ #
1430
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1431
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1432
+ # )
1433
+ #
1434
+ # client = ::Google::Cloud::Redis::V1::CloudRedis::Client.new do |config|
1435
+ # config.credentials = credentials
1436
+ # end
1437
+ #
1438
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1422
1439
  # external source for authentication to Google Cloud, you must validate it before
1423
1440
  # providing it to a Google API client library. Providing an unvalidated credential
1424
1441
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
23
23
  module V1
24
- VERSION = "2.3.0"
24
+ VERSION = "2.3.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-redis-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC