public sealed class TextToSpeechSettings : IMessage<TextToSpeechSettings>, IEquatable<TextToSpeechSettings>, IDeepCloneable<TextToSpeechSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class TextToSpeechSettings.
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 document provides reference documentation for the \u003ccode\u003eTextToSpeechSettings\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, offering details on how to configure text-to-speech output.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes settings like \u003ccode\u003eEnableTextToSpeech\u003c/code\u003e, \u003ccode\u003eOutputAudioEncoding\u003c/code\u003e, \u003ccode\u003eSampleRateHertz\u003c/code\u003e, and \u003ccode\u003eSynthesizeSpeechConfigs\u003c/code\u003e to control various aspects of audio synthesis.\u003c/p\u003e\n"],["\u003cp\u003eIt also contains the full list of older versions, ranging from \u003ccode\u003e4.26.0\u003c/code\u003e to \u003ccode\u003e3.2.0\u003c/code\u003e, with \u003ccode\u003e4.26.0\u003c/code\u003e being the latest version and \u003ccode\u003e4.18.0\u003c/code\u003e the current version being documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextToSpeechSettings\u003c/code\u003e class has a constructor, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is specific to the \u003ccode\u003e.NET\u003c/code\u003e platform, outlining how the \u003ccode\u003eTextToSpeechSettings\u003c/code\u003e class can be implemented with properties and methods, to enable and set configurations for text to speech.\u003c/p\u003e\n"]]],[],null,[]]