google-cloud-spanner-admin-database-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: c2ca0e7a75dff21bc01371a9f882635d5f2826b5ecbe4355882a6e710d0d1003
4
- data.tar.gz: 29aa251fe03d65f4c95d140e02a460aa0272d9c53716ab1223cb21e524c8222c
3
+ metadata.gz: 65613851ed484bddbe3221b46e276451b21012740145f929c51a73ef45afe283
4
+ data.tar.gz: 987f92fca926fa7435d4e48781261ea3dc6ba48b1e440525f79cf00bd24cc29a
5
5
  SHA512:
6
- metadata.gz: eefd08d97ba06ce1456995a6458001508dbad8d5c7c8924dd517bd7714f5c623c64615a1cdb029e71ede7b6dd2835f929ff7eb28684ef1a78d2a70ce5b036f74
7
- data.tar.gz: bd5692eb9d6c5e2ebb9531ee0c739b8fc2ab5e29e7334dcc29448f535f2e499a42baf3f0f6f1176c677f794c2adfa456d3724b54a9cd774e1ec6e5991af56fee
6
+ metadata.gz: 27f046fb741ed5d5334433fb772da05e08ae48ab316743a423cd637949a772cb14778d22dafd8337ad27086ce7725fb679485025f9d846b42e87c7056fc5ef66
7
+ data.tar.gz: c128f1bff56290296d6753efb519d40e80d033544059c9ca6a1ed1227bc4d6fe91e8c94df03cc85b9c521870282a0a8f3d04ee35b07fe3b6503e961b852f8bdd
@@ -3303,8 +3303,6 @@ module Google
3303
3303
  # @return [::String,nil]
3304
3304
  # @!attribute [rw] credentials
3305
3305
  # Credentials to send with calls. You may provide any of the following types:
3306
- # * (`String`) The path to a service account key file in JSON format
3307
- # * (`Hash`) A service account key as a Hash
3308
3306
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3309
3307
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3310
3308
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3313,7 +3311,26 @@ module Google
3313
3311
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3314
3312
  # * (`nil`) indicating no credentials
3315
3313
  #
3316
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3314
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3315
+ # is deprecated. Providing an unvalidated credential configuration to
3316
+ # Google APIs can compromise the security of your systems and data.
3317
+ #
3318
+ # @example
3319
+ #
3320
+ # # The recommended way to provide credentials is to use the `make_creds` method
3321
+ # # on the appropriate credentials class for your environment.
3322
+ #
3323
+ # require "googleauth"
3324
+ #
3325
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3326
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3327
+ # )
3328
+ #
3329
+ # client = ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new do |config|
3330
+ # config.credentials = credentials
3331
+ # end
3332
+ #
3333
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3317
3334
  # external source for authentication to Google Cloud, you must validate it before
3318
3335
  # providing it to a Google API client library. Providing an unvalidated credential
3319
3336
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -644,8 +644,6 @@ module Google
644
644
  # @return [::String,nil]
645
645
  # @!attribute [rw] credentials
646
646
  # Credentials to send with calls. You may provide any of the following types:
647
- # * (`String`) The path to a service account key file in JSON format
648
- # * (`Hash`) A service account key as a Hash
649
647
  # * (`Google::Auth::Credentials`) A googleauth credentials object
650
648
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
651
649
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -654,7 +652,26 @@ module Google
654
652
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
655
653
  # * (`nil`) indicating no credentials
656
654
  #
657
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
655
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
656
+ # is deprecated. Providing an unvalidated credential configuration to
657
+ # Google APIs can compromise the security of your systems and data.
658
+ #
659
+ # @example
660
+ #
661
+ # # The recommended way to provide credentials is to use the `make_creds` method
662
+ # # on the appropriate credentials class for your environment.
663
+ #
664
+ # require "googleauth"
665
+ #
666
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
667
+ # json_key_io: ::File.open("/path/to/keyfile.json")
668
+ # )
669
+ #
670
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
671
+ # config.credentials = credentials
672
+ # end
673
+ #
674
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
658
675
  # external source for authentication to Google Cloud, you must validate it before
659
676
  # providing it to a Google API client library. Providing an unvalidated credential
660
677
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Database
25
25
  module V1
26
- VERSION = "1.11.0"
26
+ VERSION = "1.11.1"
27
27
  end
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-spanner-admin-database-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