google-cloud-kms-inventory-v1 0.16.0 → 0.16.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: c4f53f1fb45617016a43bd79a9e46244bab88bcd3759374a87a4fac2687cafc3
|
|
4
|
+
data.tar.gz: 928130f6a8adc01ef4582eaca124db86193131794217a4cf3f98e3f82b37aff4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9383e0daa7addd264aae025a6cb87160ac20e9be6e05e00124c7fb9e34e64d5e6d599a2af2076d618938849752757362c700734389d83923aa9e2dac7b95433b
|
|
7
|
+
data.tar.gz: aebe40af53a5c45fefe3455056d188c2892e1a063420162a837409e156785a74762d8bcbe851eca267b6552971f2601a48cf156078382ae307f535fd2e160b40
|
|
@@ -322,8 +322,6 @@ module Google
|
|
|
322
322
|
# @return [::String,nil]
|
|
323
323
|
# @!attribute [rw] credentials
|
|
324
324
|
# Credentials to send with calls. You may provide any of the following types:
|
|
325
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
326
|
-
# * (`Hash`) A service account key as a Hash
|
|
327
325
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
328
326
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
329
327
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -332,7 +330,26 @@ module Google
|
|
|
332
330
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
333
331
|
# * (`nil`) indicating no credentials
|
|
334
332
|
#
|
|
335
|
-
# Warning:
|
|
333
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
334
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
335
|
+
# Google APIs can compromise the security of your systems and data.
|
|
336
|
+
#
|
|
337
|
+
# @example
|
|
338
|
+
#
|
|
339
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
340
|
+
# # on the appropriate credentials class for your environment.
|
|
341
|
+
#
|
|
342
|
+
# require "googleauth"
|
|
343
|
+
#
|
|
344
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
345
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
346
|
+
# )
|
|
347
|
+
#
|
|
348
|
+
# client = ::Google::Cloud::Kms::Inventory::V1::KeyDashboardService::Client.new do |config|
|
|
349
|
+
# config.credentials = credentials
|
|
350
|
+
# end
|
|
351
|
+
#
|
|
352
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
336
353
|
# external source for authentication to Google Cloud, you must validate it before
|
|
337
354
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
338
355
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -438,8 +438,6 @@ module Google
|
|
|
438
438
|
# @return [::String,nil]
|
|
439
439
|
# @!attribute [rw] credentials
|
|
440
440
|
# Credentials to send with calls. You may provide any of the following types:
|
|
441
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
442
|
-
# * (`Hash`) A service account key as a Hash
|
|
443
441
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
444
442
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
445
443
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -448,7 +446,26 @@ module Google
|
|
|
448
446
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
449
447
|
# * (`nil`) indicating no credentials
|
|
450
448
|
#
|
|
451
|
-
# Warning:
|
|
449
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
450
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
451
|
+
# Google APIs can compromise the security of your systems and data.
|
|
452
|
+
#
|
|
453
|
+
# @example
|
|
454
|
+
#
|
|
455
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
456
|
+
# # on the appropriate credentials class for your environment.
|
|
457
|
+
#
|
|
458
|
+
# require "googleauth"
|
|
459
|
+
#
|
|
460
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
461
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
462
|
+
# )
|
|
463
|
+
#
|
|
464
|
+
# client = ::Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Client.new do |config|
|
|
465
|
+
# config.credentials = credentials
|
|
466
|
+
# end
|
|
467
|
+
#
|
|
468
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
452
469
|
# external source for authentication to Google Cloud, you must validate it before
|
|
453
470
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
454
471
|
# configuration to Google APIs can compromise the security of your systems and data.
|