public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class OutputAudioConfig.
Instructs the speech synthesizer how to generate the output audio content.
If this audio config is supplied in a request, it overrides all existing
text-to-speech settings applied to the agent.
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 \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class in the Google Cloud Dialogflow v2beta1 API controls how speech synthesizer generates output audio content, overriding any existing text-to-speech settings.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties like \u003ccode\u003eAudioEncoding\u003c/code\u003e, \u003ccode\u003eSampleRateHertz\u003c/code\u003e, and \u003ccode\u003eSynthesizeSpeechConfig\u003c/code\u003e to define the audio's format, sample rate, and synthesis configuration respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, one default and another for using an existing \u003ccode\u003eOutputAudioConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOutputAudioConfig\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data handling and message structure within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe class belongs to the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1.dll\u003c/code\u003e assembly, detailing its organizational and structural location within the Google Cloud Dialogflow library.\u003c/p\u003e\n"]]],[],null,[]]