google-cloud-bigquery-data_exchange-v1beta1 0.11.0 → 0.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: 8640c647af2983607670fc61dc0dcc6c6fd9ae60b93aaccad2e9112fa42c85d0
4
- data.tar.gz: 22b347ca63a71d9271af580bf56024693cf4d8d632a40cbdfc3f68d3f4fa140e
3
+ metadata.gz: 5d578500438cc841fbb1b71c767afc4eea77c7216bcadf85b22aac8e369e0207
4
+ data.tar.gz: 2f445d77fcf40d2a2484e2d25c23cbbb2282c692ba0f95a56766a917ac6c4656
5
5
  SHA512:
6
- metadata.gz: c8aa1885674b9d7312cadbfa16982a466a97e5820b7d683d48d7e1e3b0a8436b8106fac2298c7a519ebaf41dea4edfbe33b490b941ce7f562587fae2d26e7c7b
7
- data.tar.gz: c4f55fe141081092e378158703336333a2d3daa29e5b72f3f0fa490e95002b52d558d8bbfec2eb0a974f79c36802434e5ee27c1b49b278fa97fc101fad0f89ef
6
+ metadata.gz: 7ec20ba3d5a03da7b2331d64c89520dca5d8f61bcc690bb857dd98129df0f6ccb7681ce38fe9d9a3799ed0972a9e5f225d4800ed1ad788d3acc3fde818b24e72
7
+ data.tar.gz: fa016948e162239ffd85199b285553ad74599f9eb9c39ebcd373df991de71ef89d6786ee8387ad50e828912af5095f7121bb8b8a8489bbeab4b30b0636061230
@@ -1620,8 +1620,6 @@ module Google
1620
1620
  # @return [::String,nil]
1621
1621
  # @!attribute [rw] credentials
1622
1622
  # Credentials to send with calls. You may provide any of the following types:
1623
- # * (`String`) The path to a service account key file in JSON format
1624
- # * (`Hash`) A service account key as a Hash
1625
1623
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1626
1624
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1627
1625
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1630,7 +1628,26 @@ module Google
1630
1628
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1631
1629
  # * (`nil`) indicating no credentials
1632
1630
  #
1633
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1631
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1632
+ # is deprecated. Providing an unvalidated credential configuration to
1633
+ # Google APIs can compromise the security of your systems and data.
1634
+ #
1635
+ # @example
1636
+ #
1637
+ # # The recommended way to provide credentials is to use the `make_creds` method
1638
+ # # on the appropriate credentials class for your environment.
1639
+ #
1640
+ # require "googleauth"
1641
+ #
1642
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1643
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1644
+ # )
1645
+ #
1646
+ # client = ::Google::Cloud::Bigquery::DataExchange::V1beta1::AnalyticsHubService::Client.new do |config|
1647
+ # config.credentials = credentials
1648
+ # end
1649
+ #
1650
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1634
1651
  # external source for authentication to Google Cloud, you must validate it before
1635
1652
  # providing it to a Google API client library. Providing an unvalidated credential
1636
1653
  # 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 DataExchange
24
24
  module V1beta1
25
- VERSION = "0.11.0"
25
+ VERSION = "0.11.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_exchange-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC