google-cloud-memcache-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: 4fb18bfdbd9abf4b331c138ac3bc374af2c9f96d4b70ec12c9450d73a86f61c1
|
|
4
|
+
data.tar.gz: 27ce39c9a3e79adf968083dfca90f49277e3e8f2dff597fe00c827e4dc9024d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20a8c695f679ca47d0d2e784ee74807686ea15359dd48e8e3b6c3546c40ecbb6c0b95346034b380e7c53c56900401ffec4e972ba7fce65b463bc01933cff3240
|
|
7
|
+
data.tar.gz: 697ac75a80c86bb33a30ff98ddab875cd1a7f3f3738b4bac73dc655e49799217c524011f6c826d1dc20898a10685734ce36828962071090bdc3e9faaabc2fc19
|
|
@@ -1083,8 +1083,6 @@ module Google
|
|
|
1083
1083
|
# @return [::String,nil]
|
|
1084
1084
|
# @!attribute [rw] credentials
|
|
1085
1085
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1086
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1087
|
-
# * (`Hash`) A service account key as a Hash
|
|
1088
1086
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1089
1087
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1090
1088
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1093,7 +1091,26 @@ module Google
|
|
|
1093
1091
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1094
1092
|
# * (`nil`) indicating no credentials
|
|
1095
1093
|
#
|
|
1096
|
-
# Warning:
|
|
1094
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1095
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1096
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1097
|
+
#
|
|
1098
|
+
# @example
|
|
1099
|
+
#
|
|
1100
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1101
|
+
# # on the appropriate credentials class for your environment.
|
|
1102
|
+
#
|
|
1103
|
+
# require "googleauth"
|
|
1104
|
+
#
|
|
1105
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1106
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1107
|
+
# )
|
|
1108
|
+
#
|
|
1109
|
+
# client = ::Google::Cloud::Memcache::V1::CloudMemcache::Client.new do |config|
|
|
1110
|
+
# config.credentials = credentials
|
|
1111
|
+
# end
|
|
1112
|
+
#
|
|
1113
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1097
1114
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1098
1115
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1099
1116
|
# 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.
|