google-cloud-workflows-v1beta 0.15.0 → 0.15.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: 3bf86411f81cd589b159ed4de483f768c34ef67d8f5868a59a728cb0f6f14322
|
|
4
|
+
data.tar.gz: a29546a1f706e836fb7a6f91f9164d9ef18d3e9380c3a3a327972ea44f95066d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cf30914609cae261e77a8e77d5cce08468259c88cad367a80a7f2d75c59ce0fca2af555399c5c5bc42a96c9814b92b7b67acfb47a55c4d4d5171a5da97a5fca
|
|
7
|
+
data.tar.gz: 32ffc750c58894f8c5c4852188b40b67c3445f5e6ec9a359567a670090df0d10065e7f3bd37f62b3f0adeeefd48e687e8f323b987bcc3a507aa945430adfc4ba
|
|
@@ -753,8 +753,6 @@ module Google
|
|
|
753
753
|
# @return [::String,nil]
|
|
754
754
|
# @!attribute [rw] credentials
|
|
755
755
|
# Credentials to send with calls. You may provide any of the following types:
|
|
756
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
757
|
-
# * (`Hash`) A service account key as a Hash
|
|
758
756
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
759
757
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
760
758
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -763,7 +761,26 @@ module Google
|
|
|
763
761
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
764
762
|
# * (`nil`) indicating no credentials
|
|
765
763
|
#
|
|
766
|
-
# Warning:
|
|
764
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
765
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
766
|
+
# Google APIs can compromise the security of your systems and data.
|
|
767
|
+
#
|
|
768
|
+
# @example
|
|
769
|
+
#
|
|
770
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
771
|
+
# # on the appropriate credentials class for your environment.
|
|
772
|
+
#
|
|
773
|
+
# require "googleauth"
|
|
774
|
+
#
|
|
775
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
776
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
777
|
+
# )
|
|
778
|
+
#
|
|
779
|
+
# client = ::Google::Cloud::Workflows::V1beta::Workflows::Client.new do |config|
|
|
780
|
+
# config.credentials = credentials
|
|
781
|
+
# end
|
|
782
|
+
#
|
|
783
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
767
784
|
# external source for authentication to Google Cloud, you must validate it before
|
|
768
785
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
769
786
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|