google-cloud-bigquery-connection-v1 1.4.0 → 1.4.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: 3ba93fdde871384a49d28fcd42b429e5ca9bdeb27a163cd5033abe3fad1c2215
|
|
4
|
+
data.tar.gz: bdb5332c758473368c8cd6c1bee7a687d9e1b3c21f9010ef0495c78e8a3d61d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac2867583dcb18236cd6238fa5d486cefc0fadf1e76ceb8002dccbadf0f500ac3826b4261ef51cba5963a0f07a1a92df94b5cfdeac2348c325e82483d41d2da4
|
|
7
|
+
data.tar.gz: 6e0880bd836ba15d8df6b6f839dd0fb54b2bff4dc230f632ed6c1b76505b24a4635f042225a5c0cf7c46db4836476af4f09f59581427e285435ce86559ab0235
|
|
@@ -981,8 +981,6 @@ module Google
|
|
|
981
981
|
# @return [::String,nil]
|
|
982
982
|
# @!attribute [rw] credentials
|
|
983
983
|
# Credentials to send with calls. You may provide any of the following types:
|
|
984
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
985
|
-
# * (`Hash`) A service account key as a Hash
|
|
986
984
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
987
985
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
988
986
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -991,7 +989,26 @@ module Google
|
|
|
991
989
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
992
990
|
# * (`nil`) indicating no credentials
|
|
993
991
|
#
|
|
994
|
-
# Warning:
|
|
992
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
993
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
994
|
+
# Google APIs can compromise the security of your systems and data.
|
|
995
|
+
#
|
|
996
|
+
# @example
|
|
997
|
+
#
|
|
998
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
999
|
+
# # on the appropriate credentials class for your environment.
|
|
1000
|
+
#
|
|
1001
|
+
# require "googleauth"
|
|
1002
|
+
#
|
|
1003
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1004
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1005
|
+
# )
|
|
1006
|
+
#
|
|
1007
|
+
# client = ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.new do |config|
|
|
1008
|
+
# config.credentials = credentials
|
|
1009
|
+
# end
|
|
1010
|
+
#
|
|
1011
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
995
1012
|
# external source for authentication to Google Cloud, you must validate it before
|
|
996
1013
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
997
1014
|
# configuration to Google APIs can compromise the security of your systems and data.
|