google-cloud-workflows-executions-v1beta 0.12.0 → 0.12.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: 4bc656eb5abdf8425cc44b5fe9fd21c2e8a1936bd597b888ff8e37536bb37ef2
|
|
4
|
+
data.tar.gz: 5a2ddb97fdb3492dfad4f71be969b762f75fd28f30301df68b9d124b4045d5e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8c3bd7bd6893cfee100b486c384b67a199815c6ffb4f65f308a4010edadbdfd29ad1a31966fbd7707c3e8669bf0b67bdb35aad185d028e7b723f635e3048597
|
|
7
|
+
data.tar.gz: 305345f5bd71204f30374b6c9c54bcb8aca34fc0efc82576f1208b86104af5c0877502ed8fde64d5d11a3452e6220c076579b0e645277e8269d60de98bf90a89
|
|
@@ -596,8 +596,6 @@ module Google
|
|
|
596
596
|
# @return [::String,nil]
|
|
597
597
|
# @!attribute [rw] credentials
|
|
598
598
|
# Credentials to send with calls. You may provide any of the following types:
|
|
599
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
600
|
-
# * (`Hash`) A service account key as a Hash
|
|
601
599
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
602
600
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
603
601
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -606,7 +604,26 @@ module Google
|
|
|
606
604
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
607
605
|
# * (`nil`) indicating no credentials
|
|
608
606
|
#
|
|
609
|
-
# Warning:
|
|
607
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
608
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
609
|
+
# Google APIs can compromise the security of your systems and data.
|
|
610
|
+
#
|
|
611
|
+
# @example
|
|
612
|
+
#
|
|
613
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
614
|
+
# # on the appropriate credentials class for your environment.
|
|
615
|
+
#
|
|
616
|
+
# require "googleauth"
|
|
617
|
+
#
|
|
618
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
619
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
620
|
+
# )
|
|
621
|
+
#
|
|
622
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
|
|
623
|
+
# config.credentials = credentials
|
|
624
|
+
# end
|
|
625
|
+
#
|
|
626
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
610
627
|
# external source for authentication to Google Cloud, you must validate it before
|
|
611
628
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
612
629
|
# configuration to Google APIs can compromise the security of your systems and data.
|