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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d191c9d7fa19c651709fc742168f801b0c8152d0155c2d6db6d7dcd692899e73
|
|
4
|
+
data.tar.gz: 7ffe9afb21c1d8e544adeef9aeb140f14f2d0de1f32d18b1f14457808396dd5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|