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