google-cloud-eventarc-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: 612c19a615a686bc62d27628d8bab4d406ff783dfaf609fac0ef72f6b4a9f32e
4
- data.tar.gz: b762e61759a5fbcf5c4482021f4f55ae9e3b87ba7af0e3b6c907c67224c50fd0
3
+ metadata.gz: e79c79840e2f232d0f43a5f00b9d14b07d0a453640ef23079fbb2e24bc63bd84
4
+ data.tar.gz: 9ea0113df741600c87ee8ba0ecb685ce4f5fec48196505ad9bf0f5668e0e6c04
5
5
  SHA512:
6
- metadata.gz: 0e6f7b4e388b532c7dc6c522eb41938a9fc63ece9554659e4fd6de2a369c1878f5a384e6155435b524b82657d51a9963d9665eb7f239af82761d0a832bc7df2d
7
- data.tar.gz: 1e9c7b09d303893182b0d2339c77023a88761c5c8f4756d217e7bc7493de756b7fa0bd202f5ec437d2df7f5ca6cbbfbbab50b551215ca781a222811684194dfc
6
+ metadata.gz: 8e5856e43dd19e86e4dc746c1578caba1574c889cf8d56e7565d4f3df297914436126208cd8a3f4ef346446aafba470a370fbf485ecf601feb1952a70ae1353f
7
+ data.tar.gz: fb66a83afe2f056ba5a5dd07f9ca7bd358adbc7f34d637e59b96b96a23579c61fdffeebcf1a9de04d3055205499eb95d6f8abc46463944ea5343f63bcc6b99b3
@@ -4243,8 +4243,6 @@ module Google
4243
4243
  # @return [::String,nil]
4244
4244
  # @!attribute [rw] credentials
4245
4245
  # Credentials to send with calls. You may provide any of the following types:
4246
- # * (`String`) The path to a service account key file in JSON format
4247
- # * (`Hash`) A service account key as a Hash
4248
4246
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4249
4247
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4250
4248
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4253,7 +4251,26 @@ module Google
4253
4251
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4254
4252
  # * (`nil`) indicating no credentials
4255
4253
  #
4256
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4254
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4255
+ # is deprecated. Providing an unvalidated credential configuration to
4256
+ # Google APIs can compromise the security of your systems and data.
4257
+ #
4258
+ # @example
4259
+ #
4260
+ # # The recommended way to provide credentials is to use the `make_creds` method
4261
+ # # on the appropriate credentials class for your environment.
4262
+ #
4263
+ # require "googleauth"
4264
+ #
4265
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4266
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4267
+ # )
4268
+ #
4269
+ # client = ::Google::Cloud::Eventarc::V1::Eventarc::Client.new do |config|
4270
+ # config.credentials = credentials
4271
+ # end
4272
+ #
4273
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4257
4274
  # external source for authentication to Google Cloud, you must validate it before
4258
4275
  # providing it to a Google API client library. Providing an unvalidated credential
4259
4276
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Eventarc
23
23
  module V1
24
- VERSION = "2.4.0"
24
+ VERSION = "2.4.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-eventarc-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