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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f2b4c8cce66f69e1d180ba976af175fb274f30376010c2756a4fc7b2de862fe
|
|
4
|
+
data.tar.gz: 8e45c0b37a7d257dab8083b067eacfb668c54f1319ded3f089181bb076cf8de3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|