Cloud Text-to-Speech V1 API - Class Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput (v1.9.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

#markup

def markup() -> ::String
Returns
  • (::String) — Markup for HD voices specifically. This field may not be used with any other voices.

    Note: The following fields are mutually exclusive: markup, text. If a field in that set is populated, all other fields in the set will automatically be cleared.

#markup=

def markup=(value) -> ::String
Parameter
  • value (::String) — Markup for HD voices specifically. This field may not be used with any other voices.

    Note: The following fields are mutually exclusive: markup, text. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Markup for HD voices specifically. This field may not be used with any other voices.

    Note: The following fields are mutually exclusive: markup, text. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: text, markup. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: text, markup. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: text, markup. If a field in that set is populated, all other fields in the set will automatically be cleared.