google-cloud-text_to_speech-v1 1.15.0 → 1.15.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 +4 -4
- data/lib/google/cloud/text_to_speech/v1/text_to_speech/client.rb +20 -3
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/client.rb +20 -3
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/operations.rb +20 -3
- data/lib/google/cloud/text_to_speech/v1/version.rb +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5a40aba1ebd510b38c80b7ac849268f7fbafc02d7ccee2c32c0cd798c88559bb
         | 
| 4 | 
            +
              data.tar.gz: f5593b7339e09003a59e4b4e55f4d49cc778ec96027fc7466f68ee1eccc5d3dd
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 48eb3d16835a0aead1bc1eeb58a95890597db50ea9fc391a792977fa5637940c5bef9befa367c601c0fde54d5ccb949f9ca9cb08a7e781f8c05a03b113165fb6
         | 
| 7 | 
            +
              data.tar.gz: 170c45a9024baff8a70422d312ecbb8a780b119bba644f7430927cbfbdeef985cc85024faa89b25fd58b26abc666e4470f38754f738dd4d47a83b2ac99a2d33e
         | 
| @@ -470,8 +470,6 @@ module Google | |
| 470 470 | 
             
                        #   @return [::String,nil]
         | 
| 471 471 | 
             
                        # @!attribute [rw] credentials
         | 
| 472 472 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 473 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 474 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 475 473 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 476 474 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 477 475 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -480,7 +478,26 @@ module Google | |
| 480 478 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 481 479 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 482 480 | 
             
                        #
         | 
| 483 | 
            -
                        #   Warning:  | 
| 481 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 482 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 483 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 484 | 
            +
                        #
         | 
| 485 | 
            +
                        #   @example
         | 
| 486 | 
            +
                        #
         | 
| 487 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 488 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 489 | 
            +
                        #
         | 
| 490 | 
            +
                        #     require "googleauth"
         | 
| 491 | 
            +
                        #
         | 
| 492 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 493 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 494 | 
            +
                        #     )
         | 
| 495 | 
            +
                        #
         | 
| 496 | 
            +
                        #     client = ::Google::Cloud::TextToSpeech::V1::TextToSpeech::Client.new do |config|
         | 
| 497 | 
            +
                        #       config.credentials = credentials
         | 
| 498 | 
            +
                        #     end
         | 
| 499 | 
            +
                        #
         | 
| 500 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 484 501 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 485 502 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 486 503 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -339,8 +339,6 @@ module Google | |
| 339 339 | 
             
                        #   @return [::String,nil]
         | 
| 340 340 | 
             
                        # @!attribute [rw] credentials
         | 
| 341 341 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 342 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 343 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 344 342 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 345 343 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 346 344 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -349,7 +347,26 @@ module Google | |
| 349 347 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 350 348 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 351 349 | 
             
                        #
         | 
| 352 | 
            -
                        #   Warning:  | 
| 350 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 351 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 352 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 353 | 
            +
                        #
         | 
| 354 | 
            +
                        #   @example
         | 
| 355 | 
            +
                        #
         | 
| 356 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 357 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 358 | 
            +
                        #
         | 
| 359 | 
            +
                        #     require "googleauth"
         | 
| 360 | 
            +
                        #
         | 
| 361 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 362 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 363 | 
            +
                        #     )
         | 
| 364 | 
            +
                        #
         | 
| 365 | 
            +
                        #     client = ::Google::Cloud::TextToSpeech::V1::TextToSpeechLongAudioSynthesize::Client.new do |config|
         | 
| 366 | 
            +
                        #       config.credentials = credentials
         | 
| 367 | 
            +
                        #     end
         | 
| 368 | 
            +
                        #
         | 
| 369 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 353 370 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 354 371 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 355 372 | 
             
                        #   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.
         |