google-cloud-dlp-v2 1.15.0 → 1.15.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 +4 -4
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +20 -3
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9aacfcdbe58b60fdf442670a37371c6c03753f321b4210943c92da4361b9574a
|
|
4
|
+
data.tar.gz: 1973c8ccaef57d6f08d2cb63269633173eeaa44ee33d8ef0ce4bb9fc97d00956
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e909e82780f911882341a2b933be5a0ce1a7660aaedb1be3a737b4f5bea3d689a76c92e895a0060bb0c77997e123d741f8811b26699f927ca6cdbd3be3ccfe04
|
|
7
|
+
data.tar.gz: 3c357a5d84808c267d09eb61cb66401768e783b7a2607bb28ef81f7f70170d5267a0aacebdb49a3df4ef83586d2f733b617d2f92b1b2cf6ed6bf6a555e914a04
|
|
@@ -6277,8 +6277,6 @@ module Google
|
|
|
6277
6277
|
# @return [::String,nil]
|
|
6278
6278
|
# @!attribute [rw] credentials
|
|
6279
6279
|
# Credentials to send with calls. You may provide any of the following types:
|
|
6280
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
6281
|
-
# * (`Hash`) A service account key as a Hash
|
|
6282
6280
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
6283
6281
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
6284
6282
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -6287,7 +6285,26 @@ module Google
|
|
|
6287
6285
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
6288
6286
|
# * (`nil`) indicating no credentials
|
|
6289
6287
|
#
|
|
6290
|
-
# Warning:
|
|
6288
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
6289
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
6290
|
+
# Google APIs can compromise the security of your systems and data.
|
|
6291
|
+
#
|
|
6292
|
+
# @example
|
|
6293
|
+
#
|
|
6294
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
6295
|
+
# # on the appropriate credentials class for your environment.
|
|
6296
|
+
#
|
|
6297
|
+
# require "googleauth"
|
|
6298
|
+
#
|
|
6299
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
6300
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
6301
|
+
# )
|
|
6302
|
+
#
|
|
6303
|
+
# client = ::Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
|
|
6304
|
+
# config.credentials = credentials
|
|
6305
|
+
# end
|
|
6306
|
+
#
|
|
6307
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
6291
6308
|
# external source for authentication to Google Cloud, you must validate it before
|
|
6292
6309
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
6293
6310
|
# configuration to Google APIs can compromise the security of your systems and data.
|