google-cloud-security-private_ca-v1 2.4.0 → 2.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: 8d9a05cd1d3a9abcb4cec2f9705d78052a2fbc7f684d3c77ba1b3c4ea6d2f71d
4
- data.tar.gz: 27a144de9bc7fc679e0229248db635bf773b7de629b2dbe1522ccd4ac2890d6f
3
+ metadata.gz: 276a52c4bf1c2449eff2dd0ddd750d891ac6ba604fd497a9a279ef5fe7dc5435
4
+ data.tar.gz: cea9fa834a514a159aef9ff961652d6618fad248743d5a0ecd846be2c8e8de6c
5
5
  SHA512:
6
- metadata.gz: '09662c1706b765d0247045ce5c054f440878dda2c148c55e952bd35583102256dfa6cfd9a8a95919c50f1d90306cce2476bfb6c838acb48c730919924f231c8b'
7
- data.tar.gz: 8e813c5fb96340f46781dea7cda47f3fc9ac911a9d247ed8c3d3711ce31cb8b9c919b5bb7c4d2da407dba7811c6ace7e3f8c91d8367aed0a1c377a0e672a80c5
6
+ metadata.gz: 751b39282a6ab06938c90b7f974d3f84a7106d16992e28e2a3b28cc7e622401acb5d9405fe997b627f30fd9a53a2b398c025a183dd080e9b095fe58152d828d2
7
+ data.tar.gz: 7a75f68ab56fe73fec7ddd4895dd6f942df255d13db0f9a74f86ac5b0934e6d195631df64ae8f960eadc1f9085e7cc88f74c250ecaf17d2d54522c53d89a7e6c
@@ -3436,8 +3436,6 @@ module Google
3436
3436
  # @return [::String,nil]
3437
3437
  # @!attribute [rw] credentials
3438
3438
  # Credentials to send with calls. You may provide any of the following types:
3439
- # * (`String`) The path to a service account key file in JSON format
3440
- # * (`Hash`) A service account key as a Hash
3441
3439
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3442
3440
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3443
3441
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3446,7 +3444,26 @@ module Google
3446
3444
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3447
3445
  # * (`nil`) indicating no credentials
3448
3446
  #
3449
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3447
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3448
+ # is deprecated. Providing an unvalidated credential configuration to
3449
+ # Google APIs can compromise the security of your systems and data.
3450
+ #
3451
+ # @example
3452
+ #
3453
+ # # The recommended way to provide credentials is to use the `make_creds` method
3454
+ # # on the appropriate credentials class for your environment.
3455
+ #
3456
+ # require "googleauth"
3457
+ #
3458
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3459
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3460
+ # )
3461
+ #
3462
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new do |config|
3463
+ # config.credentials = credentials
3464
+ # end
3465
+ #
3466
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3450
3467
  # external source for authentication to Google Cloud, you must validate it before
3451
3468
  # providing it to a Google API client library. Providing an unvalidated credential
3452
3469
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # 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 PrivateCA
24
24
  module V1
25
- VERSION = "2.4.0"
25
+ VERSION = "2.4.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-private_ca-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC