public sealed class SynthesisInput : IMessage<SynthesisInput>, IEquatable<SynthesisInput>, IDeepCloneable<SynthesisInput>, IBufferMessage, IMessage
Contains 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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["`SynthesisInput` is a class in the `Google.Cloud.TextToSpeech.V1Beta1` namespace used to provide input for text-to-speech synthesis, allowing either raw text or SSML as input."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base .NET `Object` class."],["To generate speech, the input can be either through the `Text` property for plain text or the `Ssml` property for SSML, but you must provide one or the other, and not both."],["The size of the text input, either raw or SSML, is limited to a maximum of 5000 characters."],["The class has a `InputSourceCase` property that indicates whether `Text` or `Ssml` is being used as input."]]],[]]