google-cloud-workflows-v1 2.4.0 → 2.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: 970328d2d62b02a4fb2c5304b730f89532acb035cb85ef6267a5aaccb3d23d28
4
- data.tar.gz: 4b90a8e45a78141dac97e97d39463cbe155cb479ce5e1200bfcce536f739341f
3
+ metadata.gz: 8b040dace7bca463a84458f848236e5d14008d8cadae78c6e4860728aac05de4
4
+ data.tar.gz: 9c4859d395aa92e67d258088b65b1ffeabc7002029d1ee795da4e15328d786b5
5
5
  SHA512:
6
- metadata.gz: 929f343756abfd04ce243153f42fe5c6250b41c0b5c6293070605fe16bf443be5dabe56271474afcd0b90e37fea3df1ba8c4cc866fef6e051c8b45d518120df4
7
- data.tar.gz: 9d81058c584798dfeea760b0faf1c637304ce474942470a3690df1028f1fee7a2a3d92b5d4f7dd611c322a7b2e36b2b259550c366a5669774d2c825640f991f3
6
+ metadata.gz: 7e64e92f52f2c540077f37eec725af01e0fcd58b0fced60e8e1b26ca4afcfd0cea4b6ea16ab7b3e4e210279d1c89c8aca8d7cabe173a11aac6d5bd8ea35a61ed
7
+ data.tar.gz: fc177c96317fb585a8b8c5391f01e1e22c2a8b655ab8439b8b21d39a51f0580988cec6983213ff6f315e2c74d0429e572e441514fcf6e2412600b62075f1d1bf
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workflows
23
23
  module V1
24
- VERSION = "2.4.0"
24
+ VERSION = "2.4.1"
25
25
  end
26
26
  end
27
27
  end
@@ -868,8 +868,6 @@ module Google
868
868
  # @return [::String,nil]
869
869
  # @!attribute [rw] credentials
870
870
  # Credentials to send with calls. You may provide any of the following types:
871
- # * (`String`) The path to a service account key file in JSON format
872
- # * (`Hash`) A service account key as a Hash
873
871
  # * (`Google::Auth::Credentials`) A googleauth credentials object
874
872
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
875
873
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -878,7 +876,26 @@ module Google
878
876
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
879
877
  # * (`nil`) indicating no credentials
880
878
  #
881
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
879
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
880
+ # is deprecated. Providing an unvalidated credential configuration to
881
+ # Google APIs can compromise the security of your systems and data.
882
+ #
883
+ # @example
884
+ #
885
+ # # The recommended way to provide credentials is to use the `make_creds` method
886
+ # # on the appropriate credentials class for your environment.
887
+ #
888
+ # require "googleauth"
889
+ #
890
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
891
+ # json_key_io: ::File.open("/path/to/keyfile.json")
892
+ # )
893
+ #
894
+ # client = ::Google::Cloud::Workflows::V1::Workflows::Client.new do |config|
895
+ # config.credentials = credentials
896
+ # end
897
+ #
898
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
882
899
  # external source for authentication to Google Cloud, you must validate it before
883
900
  # providing it to a Google API client library. Providing an unvalidated credential
884
901
  # 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: If you accept a credential configuration (JSON file or Hash) from an
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC