google-cloud-bigquery-data_policies-v1 1.2.0 → 1.2.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: 8c5e56b2931aa829e7c79e69fbbc572041cf2071a91e36b8aa6b72fb7b3da9a3
|
|
4
|
+
data.tar.gz: 0c1d2f60fe4ad7f17a65bdf71830b1d5ff340e0c6a814c3ebcfd72cab709db66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f92b2da7f8d1b3f5222e37d222de62e12924478f36811441a71f48cd645785801c6db0f66c50e09b45dc0007371de6b806ed2747489a4b2d33a7d2da0626870
|
|
7
|
+
data.tar.gz: 7dba06db4ca20016256b98976ffec9c92d81b243332fd1490f853293f8c7801ce97642adae59b710026ab999260159c08ffa21396efd4ade3b3920d22560a3d1
|
|
@@ -1095,8 +1095,6 @@ module Google
|
|
|
1095
1095
|
# @return [::String,nil]
|
|
1096
1096
|
# @!attribute [rw] credentials
|
|
1097
1097
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1098
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1099
|
-
# * (`Hash`) A service account key as a Hash
|
|
1100
1098
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1101
1099
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1102
1100
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1105,7 +1103,26 @@ module Google
|
|
|
1105
1103
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1106
1104
|
# * (`nil`) indicating no credentials
|
|
1107
1105
|
#
|
|
1108
|
-
# Warning:
|
|
1106
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1107
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1108
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1109
|
+
#
|
|
1110
|
+
# @example
|
|
1111
|
+
#
|
|
1112
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1113
|
+
# # on the appropriate credentials class for your environment.
|
|
1114
|
+
#
|
|
1115
|
+
# require "googleauth"
|
|
1116
|
+
#
|
|
1117
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1118
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1119
|
+
# )
|
|
1120
|
+
#
|
|
1121
|
+
# client = ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicyService::Client.new do |config|
|
|
1122
|
+
# config.credentials = credentials
|
|
1123
|
+
# end
|
|
1124
|
+
#
|
|
1125
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1109
1126
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1110
1127
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1111
1128
|
# configuration to Google APIs can compromise the security of your systems and data.
|