public sealed class TextToSpeechSettings : IMessage<TextToSpeechSettings>, IEquatable<TextToSpeechSettings>, IDeepCloneable<TextToSpeechSettings>, IBufferMessage, IMessage
Instructs the speech synthesizer on how to generate the output audio content.
Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
the synthesizer will use the default sample rate based on the audio
encoding. If this is different from the voice's natural sample rate, then
the synthesizer will honor this request by converting to the desired sample
rate (which might result in worse audio quality).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe provided content outlines the \u003ccode\u003eTextToSpeechSettings\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, which is used to instruct the speech synthesizer on how to generate output audio content.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eTextToSpeechSettings\u003c/code\u003e is 4.26.0, while a list of previous versions ranging from 3.2.0 up to 4.25.0 is available and listed on the webpage, with 3.10.0 being the active version that the current page displays the documenation of.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextToSpeechSettings\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class, it also has multiple constructors to aid in its creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextToSpeechSettings\u003c/code\u003e class includes properties like \u003ccode\u003eEnableTextToSpeech\u003c/code\u003e (a boolean to enable/disable text to speech), \u003ccode\u003eOutputAudioEncoding\u003c/code\u003e (to specify the audio encoding), \u003ccode\u003eSampleRateHertz\u003c/code\u003e (for the synthesis sample rate), and \u003ccode\u003eSynthesizeSpeechConfigs\u003c/code\u003e (for language-specific synthesis configurations).\u003c/p\u003e\n"]]],[],null,[]]