google-cloud-spanner-v1 1.11.0 → 1.11.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: 393b6cd0b867cf7d0e099c50999c58d9ea5d8b4686e41d3fe2f067f115d4a315
|
|
4
|
+
data.tar.gz: ae9dd0b8c9a247b34db58d3710a621351b1f16de86d1b04c1fc68c768a1074ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f90100a7070def216a9f601760a33be336c70092261290161355d7ce0291d1f6bc9faed0185d1d218c6db8298f1dafd5e39f1792425276f6530f7fbec7ddf1f
|
|
7
|
+
data.tar.gz: 2ece710c760d93cf94887a64a1366f9a4b571346973ba7dea283663e30f5754b344edea9087532fdba5f6de49fb121b02d85fe42a4b0ab78ba58d3ecf4963dfb
|
|
@@ -2317,8 +2317,6 @@ module Google
|
|
|
2317
2317
|
# @return [::String,nil]
|
|
2318
2318
|
# @!attribute [rw] credentials
|
|
2319
2319
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2320
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2321
|
-
# * (`Hash`) A service account key as a Hash
|
|
2322
2320
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2323
2321
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2324
2322
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2327,7 +2325,26 @@ module Google
|
|
|
2327
2325
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2328
2326
|
# * (`nil`) indicating no credentials
|
|
2329
2327
|
#
|
|
2330
|
-
# Warning:
|
|
2328
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2329
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2330
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2331
|
+
#
|
|
2332
|
+
# @example
|
|
2333
|
+
#
|
|
2334
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2335
|
+
# # on the appropriate credentials class for your environment.
|
|
2336
|
+
#
|
|
2337
|
+
# require "googleauth"
|
|
2338
|
+
#
|
|
2339
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2340
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2341
|
+
# )
|
|
2342
|
+
#
|
|
2343
|
+
# client = ::Google::Cloud::Spanner::V1::Spanner::Client.new do |config|
|
|
2344
|
+
# config.credentials = credentials
|
|
2345
|
+
# end
|
|
2346
|
+
#
|
|
2347
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2331
2348
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2332
2349
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2333
2350
|
# configuration to Google APIs can compromise the security of your systems and data.
|