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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 264f8ce115d98986f70da9a939715d117fcf3b218b80170a4c527ff31736a01e
4
- data.tar.gz: 71ee3676a77530948215cfe8409c7d2efa50eaf0397665dc3b8240d8631146ab
3
+ metadata.gz: 9aacfcdbe58b60fdf442670a37371c6c03753f321b4210943c92da4361b9574a
4
+ data.tar.gz: 1973c8ccaef57d6f08d2cb63269633173eeaa44ee33d8ef0ce4bb9fc97d00956
5
5
  SHA512:
6
- metadata.gz: cb23c592933036cb6f702f340a9766e54cad2266f372eb08e956e5e4ae7688978d6c03c30b69f569c78ffb57d60b4596ea7242a29f8d68cd5bbbfd1c1416134d
7
- data.tar.gz: 1125b340f7fc51895cabae2d461600c1554b34868c2367ad0f0e33a2b2d7b46e77bea073cd33e04c62bec5d63e94ac41dca629492e2dc0c2abf6c25c8f66b1e0
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "1.15.0"
24
+ VERSION = "1.15.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC