google-cloud-api_gateway-v1 2.3.0 → 2.3.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: 1194964147a54a4c451dd17977eadb170732958a2ef015090155cba130233cc1
         | 
| 4 | 
            +
              data.tar.gz: 0f81705b7d7523edadc8a8dd5139bc4b3808cbde2015be3f4b3f70db630efc65
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b1cc92a57f7f87144e6134cfa97713a80a6b3257bda0318b2793a0ba291ac52fab7940523a79853286375713d06a0d455954b0c5b81e11b15359b4e080cdd68b
         | 
| 7 | 
            +
              data.tar.gz: 23a4e67e9ef4c195098f9751676c948547678cd02d067d9399931e18119fe3c8a653fbf15c6717266fbab878639ecd3e841c4fff3e0fbeb2ad053780dcfbffea
         | 
| @@ -1723,8 +1723,6 @@ module Google | |
| 1723 1723 | 
             
                        #   @return [::String,nil]
         | 
| 1724 1724 | 
             
                        # @!attribute [rw] credentials
         | 
| 1725 1725 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 1726 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1727 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 1728 1726 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1729 1727 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1730 1728 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -1733,7 +1731,26 @@ module Google | |
| 1733 1731 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1734 1732 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 1735 1733 | 
             
                        #
         | 
| 1736 | 
            -
                        #   Warning:  | 
| 1734 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 1735 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 1736 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 1737 | 
            +
                        #
         | 
| 1738 | 
            +
                        #   @example
         | 
| 1739 | 
            +
                        #
         | 
| 1740 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 1741 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 1742 | 
            +
                        #
         | 
| 1743 | 
            +
                        #     require "googleauth"
         | 
| 1744 | 
            +
                        #
         | 
| 1745 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 1746 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 1747 | 
            +
                        #     )
         | 
| 1748 | 
            +
                        #
         | 
| 1749 | 
            +
                        #     client = ::Google::Cloud::ApiGateway::V1::ApiGatewayService::Client.new do |config|
         | 
| 1750 | 
            +
                        #       config.credentials = credentials
         | 
| 1751 | 
            +
                        #     end
         | 
| 1752 | 
            +
                        #
         | 
| 1753 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1737 1754 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1738 1755 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1739 1756 | 
             
                        #   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.
         |