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:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8b040dace7bca463a84458f848236e5d14008d8cadae78c6e4860728aac05de4
         | 
| 4 | 
            +
              data.tar.gz: 9c4859d395aa92e67d258088b65b1ffeabc7002029d1ee795da4e15328d786b5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7e64e92f52f2c540077f37eec725af01e0fcd58b0fced60e8e1b26ca4afcfd0cea4b6ea16ab7b3e4e210279d1c89c8aca8d7cabe173a11aac6d5bd8ea35a61ed
         | 
| 7 | 
            +
              data.tar.gz: fc177c96317fb585a8b8c5391f01e1e22c2a8b655ab8439b8b21d39a51f0580988cec6983213ff6f315e2c74d0429e572e441514fcf6e2412600b62075f1d1bf
         | 
| @@ -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:  | 
| 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:  | 
| 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.
         |