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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d0f6c99009a98a6a23284e4596fe70b1e9e9b123aec26185f9ac6a97fd3a3a1
|
|
4
|
+
data.tar.gz: 6a1f8f13c350cca06e6b03f75437a01e76abf82e5095125218846b518864f760
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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:
|
|
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.
|