google-cloud-redis-cluster-v1 1.3.0 → 1.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: 7013cdaeabdccfa713749b0291be733240ff3167e350d55753a839ed73844fbe
         | 
| 4 | 
            +
              data.tar.gz: 97a597011759096a43177ee099a8aa62270ba2003ec85d9e15131c86c10bd720
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 65301ca74ee9739eedfaa570d7e7eeb2c298376265089496ed76be1ca4dd835829f0047f66086088af51f4b9d6b9f5bc2e33276978b94d30c35362a00d4bf616
         | 
| 7 | 
            +
              data.tar.gz: cdb1b21909e7abae1ea11cd056d6487e1cb0b0343b1b1e849d0ae256a0e1653ea6e6019a89b996a562e26d2183000a2e0a8c8529f145100200eb17a1260d1ea6
         | 
| @@ -1695,8 +1695,6 @@ module Google | |
| 1695 1695 | 
             
                          #   @return [::String,nil]
         | 
| 1696 1696 | 
             
                          # @!attribute [rw] credentials
         | 
| 1697 1697 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 1698 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1699 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 1700 1698 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1701 1699 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1702 1700 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -1705,7 +1703,26 @@ module Google | |
| 1705 1703 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1706 1704 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 1707 1705 | 
             
                          #
         | 
| 1708 | 
            -
                          #   Warning:  | 
| 1706 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 1707 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 1708 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 1709 | 
            +
                          #
         | 
| 1710 | 
            +
                          #   @example
         | 
| 1711 | 
            +
                          #
         | 
| 1712 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 1713 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 1714 | 
            +
                          #
         | 
| 1715 | 
            +
                          #     require "googleauth"
         | 
| 1716 | 
            +
                          #
         | 
| 1717 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 1718 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 1719 | 
            +
                          #     )
         | 
| 1720 | 
            +
                          #
         | 
| 1721 | 
            +
                          #     client = ::Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Client.new do |config|
         | 
| 1722 | 
            +
                          #       config.credentials = credentials
         | 
| 1723 | 
            +
                          #     end
         | 
| 1724 | 
            +
                          #
         | 
| 1725 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1709 1726 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1710 1727 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1711 1728 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -643,8 +643,6 @@ module Google | |
| 643 643 | 
             
                          #   @return [::String,nil]
         | 
| 644 644 | 
             
                          # @!attribute [rw] credentials
         | 
| 645 645 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 646 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 647 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 648 646 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 649 647 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 650 648 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -653,7 +651,26 @@ module Google | |
| 653 651 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 654 652 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 655 653 | 
             
                          #
         | 
| 656 | 
            -
                          #   Warning:  | 
| 654 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 655 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 656 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 657 | 
            +
                          #
         | 
| 658 | 
            +
                          #   @example
         | 
| 659 | 
            +
                          #
         | 
| 660 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 661 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 662 | 
            +
                          #
         | 
| 663 | 
            +
                          #     require "googleauth"
         | 
| 664 | 
            +
                          #
         | 
| 665 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 666 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 667 | 
            +
                          #     )
         | 
| 668 | 
            +
                          #
         | 
| 669 | 
            +
                          #     client = ::Google::Longrunning::Operations::Client.new do |config|
         | 
| 670 | 
            +
                          #       config.credentials = credentials
         | 
| 671 | 
            +
                          #     end
         | 
| 672 | 
            +
                          #
         | 
| 673 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 657 674 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 658 675 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 659 676 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         |