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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65613851ed484bddbe3221b46e276451b21012740145f929c51a73ef45afe283
|
|
4
|
+
data.tar.gz: 987f92fca926fa7435d4e48781261ea3dc6ba48b1e440525f79cf00bd24cc29a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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:
|
|
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.
|