google-cloud-bigquery-connection-v1 1.3.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: 78d0af072d44650621f160fad2886e435437acd61ac4fdaf0bf6e2c4b5d4eb11
4
- data.tar.gz: 020c64bee9b68511654e1cf78069492d1fe6844f77aa814c4b292640fc030a17
3
+ metadata.gz: 3ba93fdde871384a49d28fcd42b429e5ca9bdeb27a163cd5033abe3fad1c2215
4
+ data.tar.gz: bdb5332c758473368c8cd6c1bee7a687d9e1b3c21f9010ef0495c78e8a3d61d8
5
5
  SHA512:
6
- metadata.gz: e422405cec9643d9c4c2e25c5337e057cb72d826e4106dff51685c682bdb1af7ec56e995b3e21611293c7e6a07bb871ab4831064831ba26f5b50f8491396d05a
7
- data.tar.gz: f4e0208b1208f567a70a2d83c8c9f82e672117bad95c367d5376143cf3a972a7b6b05a82e8e0dcd099135cb677afb106171bac0f171acd20b6422d5baaf4e374
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.3.0"
25
+ VERSION = "1.4.1"
26
26
  end
27
27
  end
28
28
  end
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.3.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.6.8
111
+ rubygems_version: 3.6.9
112
112
  specification_version: 4
113
113
  summary: Allows users to manage BigQuery connections to external data sources.
114
114
  test_files: []