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: ded5c434099f3d6f1a691a7b5bda611b1051c1d8ff760ef06d84e4e28d3171c1
4
- data.tar.gz: 4d0963355ca44ae7e4ff83f6ebe613ded7aec3c202ad24229c74e0d7d2957bb6
3
+ metadata.gz: c4f53f1fb45617016a43bd79a9e46244bab88bcd3759374a87a4fac2687cafc3
4
+ data.tar.gz: 928130f6a8adc01ef4582eaca124db86193131794217a4cf3f98e3f82b37aff4
5
5
  SHA512:
6
- metadata.gz: ce64b9cd710f6c376f6ce7008aaed94207579d861664656d2be3bd5a7dbfcdda667c3e6d8dc26bcdc185b1c576c52825efcde426769b62e37257ab62d24fe131
7
- data.tar.gz: 87acbd04da8cbaf24280d1e7646fd46a6e42f256dd09a27667256f78dabe21f0301a259a966efc830479934be4e798c5794b4e23a91dfe28b62964a457da5fe9
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.16.0"
25
+ VERSION = "0.16.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms-inventory-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC