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: c7ccdccf3f7bdee9f3ade54312d5910de98eef452e019e3cdcae684e17ea9347
4
- data.tar.gz: b85c45f3690d5a04c8cc22a883979930c6b550979f6ec631f2a2faf9ab3a7162
3
+ metadata.gz: 3ba93fdde871384a49d28fcd42b429e5ca9bdeb27a163cd5033abe3fad1c2215
4
+ data.tar.gz: bdb5332c758473368c8cd6c1bee7a687d9e1b3c21f9010ef0495c78e8a3d61d8
5
5
  SHA512:
6
- metadata.gz: ed3cc5c41d139ca8c98e1a22679917c8a811d91627a8c9799982a4180e62ce8a90dbc133b9a880f079beb553c9e5c915e8e29102cf180004dc008f4670b9d01d
7
- data.tar.gz: 77440e40e186204baba2daee657184bef3b47eaab4e67ddd5bdba9641501dd15d4aefb0b5b3aa59c4438a89a0ba034b47d31dcf82bc517812d95d97dd2499744
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Connection
24
24
  module V1
25
- VERSION = "1.4.0"
25
+ VERSION = "1.4.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-connection-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC