google-cloud-workflows-executions-v1 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: 804671167e0f47e5f2d86415410d23ccbc399216b64df02d9e38c1d74d52ad2b
|
|
4
|
+
data.tar.gz: b71598fa58f4218f03d51a915d1b9e4e346b157dbf37cc003506b02f92c9879c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82abbc87316b188c46f921acfcd798fe7abfff80ac06dfe08c236e16160cdeaca9f450fd501504e012ee4681c6b3bedb9fde8de520e9c14ebf5e34744e12ec3f
|
|
7
|
+
data.tar.gz: df286c5a18f8372cfced49464ee691082ced859d49a03b2797197d192a6ded6b8d711788eb80645b95f2d75e8bdb37c94b7f8215d083f25a17dda5398115b88c
|
|
@@ -609,8 +609,6 @@ module Google
|
|
|
609
609
|
# @return [::String,nil]
|
|
610
610
|
# @!attribute [rw] credentials
|
|
611
611
|
# Credentials to send with calls. You may provide any of the following types:
|
|
612
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
613
|
-
# * (`Hash`) A service account key as a Hash
|
|
614
612
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
615
613
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
616
614
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -619,7 +617,26 @@ module Google
|
|
|
619
617
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
620
618
|
# * (`nil`) indicating no credentials
|
|
621
619
|
#
|
|
622
|
-
# Warning:
|
|
620
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
621
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
622
|
+
# Google APIs can compromise the security of your systems and data.
|
|
623
|
+
#
|
|
624
|
+
# @example
|
|
625
|
+
#
|
|
626
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
627
|
+
# # on the appropriate credentials class for your environment.
|
|
628
|
+
#
|
|
629
|
+
# require "googleauth"
|
|
630
|
+
#
|
|
631
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
632
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
633
|
+
# )
|
|
634
|
+
#
|
|
635
|
+
# client = ::Google::Cloud::Workflows::Executions::V1::Executions::Client.new do |config|
|
|
636
|
+
# config.credentials = credentials
|
|
637
|
+
# end
|
|
638
|
+
#
|
|
639
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
623
640
|
# external source for authentication to Google Cloud, you must validate it before
|
|
624
641
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
625
642
|
# configuration to Google APIs can compromise the security of your systems and data.
|