google-cloud-policy_troubleshooter-v1 1.4.0 → 1.4.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: 1a5fc63295dfcd683a8d0b8fdd9fbdf4c449edd5d67438f2901cb83361dc2b2f
4
- data.tar.gz: fb9747acc9d0e8cb355800fca7808005fc6e1673d53d57feedc8f93358b2cf14
3
+ metadata.gz: fd222c061022d64fc30616c4461f66db8ef9f20ac11cd99baeaedb662a58bee1
4
+ data.tar.gz: b7193a7c849b7ceddcc8e86c56eaabe2f617968460850dbff62f3b1bbb12727f
5
5
  SHA512:
6
- metadata.gz: 60099503cf9d6e65fcd2a988842bf7d91270f077083107d01693bbd257d163b4774a20a367e6013119fa634ee92affaca8c4123a53e1f70bbadd332bf2b8dea6
7
- data.tar.gz: 94969598c7fcebbee77d114de26b66b2c4b742fa151dcaf6d920a164bbd329dc49b623b77e724082b29938705c6b76110acf4209ad257714bb5e3bd0bf0b5f17
6
+ metadata.gz: efdc6f305dd9b8ea55adf2083edb01686651bdebfcdaf1dbd85230f40d47823a8eb739881e6564f0c06e628dbec75c0f147258dabb88005b781f7c8e054fbb8d
7
+ data.tar.gz: d680e745a78d86cacf747a714c18fdaf6f62cfa81802b30ac68d5d5096109522c0a9356c0a52a8d25917e53a4e11931984b71914f162edbcf73a448bef9250e6
@@ -305,8 +305,6 @@ module Google
305
305
  # @return [::String,nil]
306
306
  # @!attribute [rw] credentials
307
307
  # Credentials to send with calls. You may provide any of the following types:
308
- # * (`String`) The path to a service account key file in JSON format
309
- # * (`Hash`) A service account key as a Hash
310
308
  # * (`Google::Auth::Credentials`) A googleauth credentials object
311
309
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
312
310
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -315,7 +313,26 @@ module Google
315
313
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
316
314
  # * (`nil`) indicating no credentials
317
315
  #
318
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
316
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
317
+ # is deprecated. Providing an unvalidated credential configuration to
318
+ # Google APIs can compromise the security of your systems and data.
319
+ #
320
+ # @example
321
+ #
322
+ # # The recommended way to provide credentials is to use the `make_creds` method
323
+ # # on the appropriate credentials class for your environment.
324
+ #
325
+ # require "googleauth"
326
+ #
327
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
328
+ # json_key_io: ::File.open("/path/to/keyfile.json")
329
+ # )
330
+ #
331
+ # client = ::Google::Cloud::PolicyTroubleshooter::V1::IamChecker::Client.new do |config|
332
+ # config.credentials = credentials
333
+ # end
334
+ #
335
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
319
336
  # external source for authentication to Google Cloud, you must validate it before
320
337
  # providing it to a Google API client library. Providing an unvalidated credential
321
338
  # 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 PolicyTroubleshooter
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.4.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-policy_troubleshooter-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC