google-cloud-redis-cluster-v1beta1 0.7.0 → 0.7.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: 7526c14eb357563aadcb1bde208830e554c4578d91a4d6fdfa8a54197b4cf183
|
|
4
|
+
data.tar.gz: 16ee42472a0a07259d1803cd6e00cc9ded510c2c9e3472a68fbb797020e19d43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11e7024d000b3e2e275c5185c3b9c57db11c674454534cb045f90e4b0933f6b048f8953cf7688569d26113ca5dd57cf347e92d7df4203988a62e51622aa3a3ca
|
|
7
|
+
data.tar.gz: febab516c0560d3ddb5643b5fdb850f6576f09ccf7561ee8c175c69d229216028868d19a2965c331fd09dce57040999124eb0de606a2de0e280bd01fa246d43a
|
|
@@ -1695,8 +1695,6 @@ module Google
|
|
|
1695
1695
|
# @return [::String,nil]
|
|
1696
1696
|
# @!attribute [rw] credentials
|
|
1697
1697
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1698
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1699
|
-
# * (`Hash`) A service account key as a Hash
|
|
1700
1698
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1701
1699
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1702
1700
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1705,7 +1703,26 @@ module Google
|
|
|
1705
1703
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1706
1704
|
# * (`nil`) indicating no credentials
|
|
1707
1705
|
#
|
|
1708
|
-
# Warning:
|
|
1706
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1707
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1708
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1709
|
+
#
|
|
1710
|
+
# @example
|
|
1711
|
+
#
|
|
1712
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1713
|
+
# # on the appropriate credentials class for your environment.
|
|
1714
|
+
#
|
|
1715
|
+
# require "googleauth"
|
|
1716
|
+
#
|
|
1717
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1718
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1719
|
+
# )
|
|
1720
|
+
#
|
|
1721
|
+
# client = ::Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Client.new do |config|
|
|
1722
|
+
# config.credentials = credentials
|
|
1723
|
+
# end
|
|
1724
|
+
#
|
|
1725
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1709
1726
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1710
1727
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1711
1728
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -643,8 +643,6 @@ module Google
|
|
|
643
643
|
# @return [::String,nil]
|
|
644
644
|
# @!attribute [rw] credentials
|
|
645
645
|
# Credentials to send with calls. You may provide any of the following types:
|
|
646
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
647
|
-
# * (`Hash`) A service account key as a Hash
|
|
648
646
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
649
647
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
650
648
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -653,7 +651,26 @@ module Google
|
|
|
653
651
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
654
652
|
# * (`nil`) indicating no credentials
|
|
655
653
|
#
|
|
656
|
-
# Warning:
|
|
654
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
655
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
656
|
+
# Google APIs can compromise the security of your systems and data.
|
|
657
|
+
#
|
|
658
|
+
# @example
|
|
659
|
+
#
|
|
660
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
661
|
+
# # on the appropriate credentials class for your environment.
|
|
662
|
+
#
|
|
663
|
+
# require "googleauth"
|
|
664
|
+
#
|
|
665
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
666
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
667
|
+
# )
|
|
668
|
+
#
|
|
669
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
670
|
+
# config.credentials = credentials
|
|
671
|
+
# end
|
|
672
|
+
#
|
|
673
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
657
674
|
# external source for authentication to Google Cloud, you must validate it before
|
|
658
675
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
659
676
|
# configuration to Google APIs can compromise the security of your systems and data.
|