Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class StreamingSynthesisInput.
Input to be synthesized.
Generated from protobuf message google.cloud.texttospeech.v1.StreamingSynthesisInput
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ text
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.
↳ markup
string
Markup for HD voices specifically. This field may not be used with any other voices.
getText
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.
string
hasText
setText
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.
var
string
$this
getMarkup
Markup for HD voices specifically. This field may not be used with any other voices.
string
hasMarkup
setMarkup
Markup for HD voices specifically. This field may not be used with any other voices.
var
string
$this
getInputSource
string