google-cloud-eventarc-publishing-v1 1.5.1 → 1.5.2

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: ff11c2303ff4c59be56e6b39ef6c1b863718bb24271d714af9c15b06755b5ba9
4
- data.tar.gz: f32b5d44c27558c124abd00fbebe08123f4eb19b9c60673ebd48511b734bdfb9
3
+ metadata.gz: 0ce08ec075469d4b64d68b312bcb8c82b64cc00b67418e7a5e405fb037c4a00a
4
+ data.tar.gz: e081f51c621c6f574b4e43859179862c168e1f6d9c187b5d9f86c0803dcec7d9
5
5
  SHA512:
6
- metadata.gz: 5b6603377242678e8de4c5cd87f3224e1e1fdee051347de193dc4e03f0f014f466b1ffba3d81bb7f36b0d4b31ada30462b4ed616268cfabe7c810c4220edb809
7
- data.tar.gz: c29664fafb728f76f529109662d1240b14b2ee102701be4fd5871363004df92c347719fbf56b3ae626599956c2c3ab3354ca08fb1ea401244f241172e60330db
6
+ metadata.gz: 0d22bf475016a07f67524c631d6fe961bd70581ee7c77a96527385b4a682563c4a650218e9c7d44c7095e17ff4201579445c1a75e7f6fba53b971b3e46aa99ab
7
+ data.tar.gz: df5aaa7a4af589dd0a49e4d05e2be6a2047a742a9f29a23ef98a112c98a6d9f35eede8ac15cef49cdf5c09560ffee3989f7ddd64540e65defdb358e596ae1904
@@ -543,8 +543,6 @@ module Google
543
543
  # @return [::String,nil]
544
544
  # @!attribute [rw] credentials
545
545
  # Credentials to send with calls. You may provide any of the following types:
546
- # * (`String`) The path to a service account key file in JSON format
547
- # * (`Hash`) A service account key as a Hash
548
546
  # * (`Google::Auth::Credentials`) A googleauth credentials object
549
547
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
550
548
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -553,7 +551,26 @@ module Google
553
551
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
554
552
  # * (`nil`) indicating no credentials
555
553
  #
556
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
554
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
555
+ # is deprecated. Providing an unvalidated credential configuration to
556
+ # Google APIs can compromise the security of your systems and data.
557
+ #
558
+ # @example
559
+ #
560
+ # # The recommended way to provide credentials is to use the `make_creds` method
561
+ # # on the appropriate credentials class for your environment.
562
+ #
563
+ # require "googleauth"
564
+ #
565
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
566
+ # json_key_io: ::File.open("/path/to/keyfile.json")
567
+ # )
568
+ #
569
+ # client = ::Google::Cloud::Eventarc::Publishing::V1::Publisher::Client.new do |config|
570
+ # config.credentials = credentials
571
+ # end
572
+ #
573
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
557
574
  # external source for authentication to Google Cloud, you must validate it before
558
575
  # providing it to a Google API client library. Providing an unvalidated credential
559
576
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Eventarc
23
23
  module Publishing
24
24
  module V1
25
- VERSION = "1.5.1"
25
+ VERSION = "1.5.2"
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-eventarc-publishing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC