google-cloud-certificate_manager-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: c84295489d6c4746fa02611f6f29f95c2b388b0182e8e61fd7bc86da1b33d3d0
         | 
| 4 | 
            +
              data.tar.gz: e4605fee4089970bf61624184eab94afc6a1d9ecbbfe2fa5155c9bd460775f3b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b837c01cb963fde5a9fcdab6fc8bf53c71a9bd57b57fe8b156a1811e3f61989102299126bb6f190b7475599bc8c734882cf7a9f90070c2487c7d222a03055df7
         | 
| 7 | 
            +
              data.tar.gz: 81c0796384cb7ddb47ca65176a7713aebc7a1d20c94705dce943317c45848bec56be23137ebe2a6f07df85c93bc9e554c593990cc28497ad60785d58761f7ca7
         | 
| @@ -3200,8 +3200,6 @@ module Google | |
| 3200 3200 | 
             
                        #   @return [::String,nil]
         | 
| 3201 3201 | 
             
                        # @!attribute [rw] credentials
         | 
| 3202 3202 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 3203 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 3204 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 3205 3203 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 3206 3204 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 3207 3205 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -3210,7 +3208,26 @@ module Google | |
| 3210 3208 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 3211 3209 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 3212 3210 | 
             
                        #
         | 
| 3213 | 
            -
                        #   Warning:  | 
| 3211 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 3212 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 3213 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 3214 | 
            +
                        #
         | 
| 3215 | 
            +
                        #   @example
         | 
| 3216 | 
            +
                        #
         | 
| 3217 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 3218 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 3219 | 
            +
                        #
         | 
| 3220 | 
            +
                        #     require "googleauth"
         | 
| 3221 | 
            +
                        #
         | 
| 3222 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 3223 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 3224 | 
            +
                        #     )
         | 
| 3225 | 
            +
                        #
         | 
| 3226 | 
            +
                        #     client = ::Google::Cloud::CertificateManager::V1::CertificateManager::Client.new do |config|
         | 
| 3227 | 
            +
                        #       config.credentials = credentials
         | 
| 3228 | 
            +
                        #     end
         | 
| 3229 | 
            +
                        #
         | 
| 3230 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 3214 3231 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 3215 3232 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 3216 3233 | 
             
                        #   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.
         |