google-cloud-bigquery-data_policies-v1beta1 0.9.0 → 0.9.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: ae8ba00e95540445e1683cbbcfae61fe55a62f922095886bf6af1e93d2ef5754
4
- data.tar.gz: 9075595c9191739718f9726e68f0d80b605f77ecd0094d3bc4e1c21ff9f212d3
3
+ metadata.gz: d191c9d7fa19c651709fc742168f801b0c8152d0155c2d6db6d7dcd692899e73
4
+ data.tar.gz: 7ffe9afb21c1d8e544adeef9aeb140f14f2d0de1f32d18b1f14457808396dd5e
5
5
  SHA512:
6
- metadata.gz: 83ac0c14f5cc713c5d787f001b07b3c21709729ca8871eb62cf20a4dbee92d0b1850aaa1a77ca7fe6c85ef3ff296aa98d9561c34ec749089b74666369d190507
7
- data.tar.gz: 6e1167cba8b724351b8c41a55a87bcb7f32e7cc673d42a8b3e8720db54c5b88513eaa686f6f2e7f0493909893ec7b3b62cbf8d4bb5e4256028441149046597d7
6
+ metadata.gz: d9cefcb8e5058fab6740962912bb332475e835a5d83ac1a0ca18ae5a764c76ca824d10f80fd1d8400ecaa951a44ed2679c108f4ce02317d2ff5c3f6f75947322
7
+ data.tar.gz: 22ca1a393791923401813cacc50a54af974bac298745d1666aec8caebfe303676230d34fe93e9ceafb2897fd825b4194b88032f62083b7540621f6962bc1f9b0
@@ -993,8 +993,6 @@ module Google
993
993
  # @return [::String,nil]
994
994
  # @!attribute [rw] credentials
995
995
  # Credentials to send with calls. You may provide any of the following types:
996
- # * (`String`) The path to a service account key file in JSON format
997
- # * (`Hash`) A service account key as a Hash
998
996
  # * (`Google::Auth::Credentials`) A googleauth credentials object
999
997
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1000
998
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1003,7 +1001,26 @@ module Google
1003
1001
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1004
1002
  # * (`nil`) indicating no credentials
1005
1003
  #
1006
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1004
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1005
+ # is deprecated. Providing an unvalidated credential configuration to
1006
+ # Google APIs can compromise the security of your systems and data.
1007
+ #
1008
+ # @example
1009
+ #
1010
+ # # The recommended way to provide credentials is to use the `make_creds` method
1011
+ # # on the appropriate credentials class for your environment.
1012
+ #
1013
+ # require "googleauth"
1014
+ #
1015
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1016
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1017
+ # )
1018
+ #
1019
+ # client = ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicyService::Client.new do |config|
1020
+ # config.credentials = credentials
1021
+ # end
1022
+ #
1023
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1007
1024
  # external source for authentication to Google Cloud, you must validate it before
1008
1025
  # providing it to a Google API client library. Providing an unvalidated credential
1009
1026
  # 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 DataPolicies
24
24
  module V1beta1
25
- VERSION = "0.9.0"
25
+ VERSION = "0.9.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_policies-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC