Google Cloud Text-to-Speech v1 API - Class StreamingSynthesisInput (3.8.0)

public sealed class StreamingSynthesisInput : IMessage<StreamingSynthesisInput>, IEquatable<StreamingSynthesisInput>, IDeepCloneable<StreamingSynthesisInput>, IBufferMessage, IMessage

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

Input to be synthesized.

Inheritance

object > StreamingSynthesisInput

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

StreamingSynthesisInput()

public StreamingSynthesisInput()

StreamingSynthesisInput(StreamingSynthesisInput)

public StreamingSynthesisInput(StreamingSynthesisInput other)
Parameter
Name Description
other StreamingSynthesisInput

Properties

HasText

public bool HasText { get; }

Gets whether the "text" field is set

Property Value
Type Description
bool

InputSourceCase

public StreamingSynthesisInput.InputSourceOneofCase InputSourceCase { get; }
Property Value
Type Description
StreamingSynthesisInputInputSourceOneofCase

Text

public string Text { get; set; }

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.

Property Value
Type Description
string