google-cloud-tasks-v2 1.4.0 → 1.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10976a6d186bbe5b3ca7bcc44a29990402c74522c837ebaa286994acc7a543c9
|
|
4
|
+
data.tar.gz: ccb0603e59ea0a412e9788443f1bebf407d754a688395c837650d8909e5b4dbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cf6128283313715d8658d0e8d46b4c6cf5b28d3db5b0a56f15d14b560287294375f15a5b51857848c87c1d45093efab98b346362109476c343f81591156a866
|
|
7
|
+
data.tar.gz: eca4a672502f88111894aa8a796ee7c09f5902b244fa7824e87ee0627134dae7b54cc6884ff3a58f25698042d6d9a7a05bb7def25124bf007963ad78920397d1
|
|
@@ -1983,8 +1983,6 @@ module Google
|
|
|
1983
1983
|
# @return [::String,nil]
|
|
1984
1984
|
# @!attribute [rw] credentials
|
|
1985
1985
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1986
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1987
|
-
# * (`Hash`) A service account key as a Hash
|
|
1988
1986
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1989
1987
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1990
1988
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1993,7 +1991,26 @@ module Google
|
|
|
1993
1991
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1994
1992
|
# * (`nil`) indicating no credentials
|
|
1995
1993
|
#
|
|
1996
|
-
# Warning:
|
|
1994
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1995
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1996
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1997
|
+
#
|
|
1998
|
+
# @example
|
|
1999
|
+
#
|
|
2000
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2001
|
+
# # on the appropriate credentials class for your environment.
|
|
2002
|
+
#
|
|
2003
|
+
# require "googleauth"
|
|
2004
|
+
#
|
|
2005
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2006
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2007
|
+
# )
|
|
2008
|
+
#
|
|
2009
|
+
# client = ::Google::Cloud::Tasks::V2::CloudTasks::Client.new do |config|
|
|
2010
|
+
# config.credentials = credentials
|
|
2011
|
+
# end
|
|
2012
|
+
#
|
|
2013
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1997
2014
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1998
2015
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1999
2016
|
# configuration to Google APIs can compromise the security of your systems and data.
|