google-cloud-bigquery-data_transfer-v1 1.5.0 → 1.5.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: 6aa64e5c973712e24192cafd20eaadb81c18ce4515e715d3a2baa2d859f45081
4
- data.tar.gz: 7bf249cf16034c7feeaee94b752d531e3da0dbf4130391e83fddc2a525362b9b
3
+ metadata.gz: abca34655d46be6a1952ebbf9fc0bf0447059a14dc309dcf124b2a34d6d831f5
4
+ data.tar.gz: 6f32ce43f888f29ac451793d7792d0fe32ba7ed5dff303892c763a997b5e6583
5
5
  SHA512:
6
- metadata.gz: 23905a6d4d7a19c09c1f4fa5d9a024e45022a5cdda813cf3871ab4850156334c45f7e1252b7b128f79598d353eb9a67f1af3732784456f9273657773ae59938d
7
- data.tar.gz: e09f2a1f20e35972153e387b8dc570276398b9fd623a0cb161cd2717318c367fac9170c22fc1c74c723455fb6aa2ba507f2f0c377a41f892851f89323b01ef7f
6
+ metadata.gz: e369272cf4f0bf4fc537708e4fdf0a19c3d0572664c7f10b7dc0451694acd8ab038b5fcd1b48a9f8dc15cff9fb733875bf436961a5b6f09a1caf5ef2268407d9
7
+ data.tar.gz: 0a407d1a2dc3631b6f66089ad0dca46ffad889ff0b75e9a773ce6bf2e4d846c8a7cbc318854201e7ac023bf74958b54e2501f48a225f04879727d36c177877a5
@@ -1893,8 +1893,6 @@ module Google
1893
1893
  # @return [::String,nil]
1894
1894
  # @!attribute [rw] credentials
1895
1895
  # Credentials to send with calls. You may provide any of the following types:
1896
- # * (`String`) The path to a service account key file in JSON format
1897
- # * (`Hash`) A service account key as a Hash
1898
1896
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1899
1897
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1900
1898
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1903,7 +1901,26 @@ module Google
1903
1901
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1904
1902
  # * (`nil`) indicating no credentials
1905
1903
  #
1906
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1904
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1905
+ # is deprecated. Providing an unvalidated credential configuration to
1906
+ # Google APIs can compromise the security of your systems and data.
1907
+ #
1908
+ # @example
1909
+ #
1910
+ # # The recommended way to provide credentials is to use the `make_creds` method
1911
+ # # on the appropriate credentials class for your environment.
1912
+ #
1913
+ # require "googleauth"
1914
+ #
1915
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1916
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1917
+ # )
1918
+ #
1919
+ # client = ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Client.new do |config|
1920
+ # config.credentials = credentials
1921
+ # end
1922
+ #
1923
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1907
1924
  # external source for authentication to Google Cloud, you must validate it before
1908
1925
  # providing it to a Google API client library. Providing an unvalidated credential
1909
1926
  # 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 DataTransfer
24
24
  module V1
25
- VERSION = "1.5.0"
25
+ VERSION = "1.5.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-data_transfer-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC