public sealed class SynthesisInput : IMessage<SynthesisInput>, IEquatable<SynthesisInput>, IDeepCloneable<SynthesisInput>, IBufferMessage, IMessageContains text input to be synthesized. Either text or ssml must be
supplied. Supplying both or neither returns
[google.rpc.Code.INVALID_ARGUMENT][]. The input size is limited to 5000
characters.
Implements
IMessage<SynthesisInput>, IEquatable<SynthesisInput>, IDeepCloneable<SynthesisInput>, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Assembly
Google.Cloud.TextToSpeech.V1.dll
Constructors
SynthesisInput()
public SynthesisInput()SynthesisInput(SynthesisInput)
public SynthesisInput(SynthesisInput other)| Parameter | |
|---|---|
| Name | Description |
other |
SynthesisInput |
Properties
InputSourceCase
public SynthesisInput.InputSourceOneofCase InputSourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
SynthesisInput.InputSourceOneofCase |
|
Ssml
public string Ssml { get; set; }The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see SSML.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Text
public string Text { get; set; }The raw text to be synthesized.
| Property Value | |
|---|---|
| Type | Description |
String |
|