google-cloud-tasks-v2beta2 0.16.0 → 0.16.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: 400b5d3d6767519b7a2d3d43237979f32c2626b34dafea61ac2cf4e3660208a5
|
|
4
|
+
data.tar.gz: 614bf8a1794ec316333dfd13a1848f3621d748f3671bcfd335dea8d027f5ce51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60a7afffb88b364da2b9f92837f86f6dffb6454b1c2e24d47cffcb22a7f29079091b066c63b939436bbd2df4ab4af905029b14ac10b5bdbb1651819539592ecb
|
|
7
|
+
data.tar.gz: 4c80b3a7acb81eb2c60a2d277472fa90652d1b6d1591edd5534a94f40602532dfede660a7dbbf85e07c0e71ad7199e4c12a7a42b6c3932e1d312ed4947d14fbe
|
|
@@ -2625,8 +2625,6 @@ module Google
|
|
|
2625
2625
|
# @return [::String,nil]
|
|
2626
2626
|
# @!attribute [rw] credentials
|
|
2627
2627
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2628
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2629
|
-
# * (`Hash`) A service account key as a Hash
|
|
2630
2628
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2631
2629
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2632
2630
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2635,7 +2633,26 @@ module Google
|
|
|
2635
2633
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2636
2634
|
# * (`nil`) indicating no credentials
|
|
2637
2635
|
#
|
|
2638
|
-
# Warning:
|
|
2636
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2637
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2638
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2639
|
+
#
|
|
2640
|
+
# @example
|
|
2641
|
+
#
|
|
2642
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2643
|
+
# # on the appropriate credentials class for your environment.
|
|
2644
|
+
#
|
|
2645
|
+
# require "googleauth"
|
|
2646
|
+
#
|
|
2647
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2648
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2649
|
+
# )
|
|
2650
|
+
#
|
|
2651
|
+
# client = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Client.new do |config|
|
|
2652
|
+
# config.credentials = credentials
|
|
2653
|
+
# end
|
|
2654
|
+
#
|
|
2655
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2639
2656
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2640
2657
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2641
2658
|
# configuration to Google APIs can compromise the security of your systems and data.
|