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: f23ee87de3d9c4269c864283276a6475be8d8ac3009c6e56c2b8383ab4ea9a1f
4
- data.tar.gz: c7459a5c1fb1d3768231d9e4e6aae395a3a9a79dcc11f3a41d33903f07fd7507
3
+ metadata.gz: 393b6cd0b867cf7d0e099c50999c58d9ea5d8b4686e41d3fe2f067f115d4a315
4
+ data.tar.gz: ae9dd0b8c9a247b34db58d3710a621351b1f16de86d1b04c1fc68c768a1074ca
5
5
  SHA512:
6
- metadata.gz: 2bef03256e80277ce01e05af75ce1ab897bf7acb5aa21d3662e96688282bdb3410398ad52e2d755b9957641e1ef8f263406a90a0dca4bd1dcf6fe938c46f39e4
7
- data.tar.gz: c0784824900a82f481f752fcf2bd704a0871ae68180142a0f84ac09b5a4c6cd1965384e821c3ff42a760f7358a6ca4af4193456a2d295303016cc28f4ad6f752
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Spanner
23
23
  module V1
24
- VERSION = "1.11.0"
24
+ VERSION = "1.11.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-spanner-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC