google-cloud-security-public_ca-v1 1.2.0 → 1.2.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: 1559cee0293f76ed0572744d297a66078d34b111962f5ac2770239a1cae09315
4
- data.tar.gz: ace6e86af2e0b6e4a100c06bc00ada19204945b186d3190bf7eefcf25450d44f
3
+ metadata.gz: 939dc89ef435576df288cd573a1ae0910a7de6e5bb3ce47ca0878992b590569e
4
+ data.tar.gz: 1ed1a623d96fd8510efae25a40afcafed1c0be9b2196fa66b68194557d489a52
5
5
  SHA512:
6
- metadata.gz: 242a993573ef5583e6000a890ecac131d4ce32b08ae35bd0b32d774327b08bc1eeddb25cdff524e9ec51b055e7cd4430e9d438774e8696c8e238559e3c39334a
7
- data.tar.gz: edb04bb55d4aa0d97b108ace951781a5551a2b6653a152342a62be7b15fedd8059ef43c5e8d2a3228269684774deffb24002668acc84d6d595fe3b75c3d0e9d6
6
+ metadata.gz: 5aa695d06894c5b7c6ea344af54d9e643fbce412a166f65ad25eb338e32a080056070d5b23f9783a3086d1f729dce7c3bd882da339db02b5b48afdf266d5ab2e
7
+ data.tar.gz: 8a693d4edd49c283db39032437d825dba4f634a3be50348216e7fb1c1a77d8b704193e7c623ba71552664b9139fd19bae969f3cd6b2f113bc087dd710f1544a6
@@ -320,8 +320,6 @@ module Google
320
320
  # @return [::String,nil]
321
321
  # @!attribute [rw] credentials
322
322
  # Credentials to send with calls. You may provide any of the following types:
323
- # * (`String`) The path to a service account key file in JSON format
324
- # * (`Hash`) A service account key as a Hash
325
323
  # * (`Google::Auth::Credentials`) A googleauth credentials object
326
324
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
327
325
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -330,7 +328,26 @@ module Google
330
328
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
331
329
  # * (`nil`) indicating no credentials
332
330
  #
333
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
331
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
332
+ # is deprecated. Providing an unvalidated credential configuration to
333
+ # Google APIs can compromise the security of your systems and data.
334
+ #
335
+ # @example
336
+ #
337
+ # # The recommended way to provide credentials is to use the `make_creds` method
338
+ # # on the appropriate credentials class for your environment.
339
+ #
340
+ # require "googleauth"
341
+ #
342
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
343
+ # json_key_io: ::File.open("/path/to/keyfile.json")
344
+ # )
345
+ #
346
+ # client = ::Google::Cloud::Security::PublicCA::V1::PublicCertificateAuthorityService::Client.new do |config|
347
+ # config.credentials = credentials
348
+ # end
349
+ #
350
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
334
351
  # external source for authentication to Google Cloud, you must validate it before
335
352
  # providing it to a Google API client library. Providing an unvalidated credential
336
353
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PublicCA
24
24
  module V1
25
- VERSION = "1.2.0"
25
+ VERSION = "1.2.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-security-public_ca-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC