Cloud Text-to-Speech V1 API - Class Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput (v1.4.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput.

Input to be synthesized.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#text

def text() -> ::String
Returns
  • (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.
Returns
  • (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.