google-cloud-redis-v1beta1 0.19.0 → 0.19.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: eeb6f94fc1b4eef81d5a5d037e7891db97c5a91dce6cb0f6b82464d04962e5ef
|
|
4
|
+
data.tar.gz: 97694f6eafeb619fbeb16644528acacfc499692b1c536fbd3777f38638c41445
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc5dd7b6dfa988cbdad1d9900a80dbc701263ae5b8a2265025b1f34bb506c1438263abe935858b7017a28cb4f750fa3375dacc7fbe1d972081f380f919a81a4d
|
|
7
|
+
data.tar.gz: 9934f6f0bf9d40c839c9dc1f7ea3fc5a8a23efea2a7332c8892444250ab5245885f087a4e5316e62d9f4526fe974d3eb56e015d3a7838f14ae45bcc966c4e876
|
|
@@ -1388,8 +1388,6 @@ module Google
|
|
|
1388
1388
|
# @return [::String,nil]
|
|
1389
1389
|
# @!attribute [rw] credentials
|
|
1390
1390
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1391
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1392
|
-
# * (`Hash`) A service account key as a Hash
|
|
1393
1391
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1394
1392
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1395
1393
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1398,7 +1396,26 @@ module Google
|
|
|
1398
1396
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1399
1397
|
# * (`nil`) indicating no credentials
|
|
1400
1398
|
#
|
|
1401
|
-
# Warning:
|
|
1399
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1400
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1401
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1402
|
+
#
|
|
1403
|
+
# @example
|
|
1404
|
+
#
|
|
1405
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1406
|
+
# # on the appropriate credentials class for your environment.
|
|
1407
|
+
#
|
|
1408
|
+
# require "googleauth"
|
|
1409
|
+
#
|
|
1410
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1411
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1412
|
+
# )
|
|
1413
|
+
#
|
|
1414
|
+
# client = ::Google::Cloud::Redis::V1beta1::CloudRedis::Client.new do |config|
|
|
1415
|
+
# config.credentials = credentials
|
|
1416
|
+
# end
|
|
1417
|
+
#
|
|
1418
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1402
1419
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1403
1420
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1404
1421
|
# 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.
|