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

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, which results in better prosody in the output audio.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.
Returns
  • (::String) — The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.