google-cloud-tasks-v2beta3 0.17.0 → 0.17.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: 6d8609c5d32c2f1c611285704ffb150db8ec8d8a1fe8ab7a87f06dc615c9fe03
4
- data.tar.gz: e2108bf32a08b91c584560e4c497c7b67e9606023675d63ab3b4965270b11a91
3
+ metadata.gz: 9f2b4c8cce66f69e1d180ba976af175fb274f30376010c2756a4fc7b2de862fe
4
+ data.tar.gz: 8e45c0b37a7d257dab8083b067eacfb668c54f1319ded3f089181bb076cf8de3
5
5
  SHA512:
6
- metadata.gz: 3099a9d1845312987ef5e24b4ea8286fd6ad066cfaf0fb8a048cd66cfa10be05ba6793b64809bb834d1d8b5652ac98fcc4de417ea72d63240d794228bec21f45
7
- data.tar.gz: 7c029d7473d3ec70c5a661f1643dbbb97dd00bee939e6999f246736fa3d0be9ab2caa57658717da2e6165febc0b1ba253829000755a9bb2187215bec8d7e8e68
6
+ metadata.gz: ffe7dcd887a180be51463f052f4ce2dd4afcfd163b98293c21ca26f400854927bee47a61d0b0145e258f34ce48090732f36ac55904dc33c6fba41d7e7e55855d
7
+ data.tar.gz: 28688e864b8039ad83f34f5543f6e13b83432ad12a3345269fae91102ec222ca941f1b9c114215bb8404224c44a41e24e7c76d37679c951bee05a17768465fd4
@@ -2001,8 +2001,6 @@ module Google
2001
2001
  # @return [::String,nil]
2002
2002
  # @!attribute [rw] credentials
2003
2003
  # Credentials to send with calls. You may provide any of the following types:
2004
- # * (`String`) The path to a service account key file in JSON format
2005
- # * (`Hash`) A service account key as a Hash
2006
2004
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2007
2005
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2008
2006
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2011,7 +2009,26 @@ module Google
2011
2009
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2012
2010
  # * (`nil`) indicating no credentials
2013
2011
  #
2014
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2012
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2013
+ # is deprecated. Providing an unvalidated credential configuration to
2014
+ # Google APIs can compromise the security of your systems and data.
2015
+ #
2016
+ # @example
2017
+ #
2018
+ # # The recommended way to provide credentials is to use the `make_creds` method
2019
+ # # on the appropriate credentials class for your environment.
2020
+ #
2021
+ # require "googleauth"
2022
+ #
2023
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2024
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2025
+ # )
2026
+ #
2027
+ # client = ::Google::Cloud::Tasks::V2beta3::CloudTasks::Client.new do |config|
2028
+ # config.credentials = credentials
2029
+ # end
2030
+ #
2031
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2015
2032
  # external source for authentication to Google Cloud, you must validate it before
2016
2033
  # providing it to a Google API client library. Providing an unvalidated credential
2017
2034
  # 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 Tasks
23
23
  module V2beta3
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.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-tasks-v2beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC