public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Instructs the speech synthesizer on 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\u003eThis webpage provides documentation for the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, detailing its role in configuring audio output for speech synthesis.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class allows for the specification of audio encoding, sample rate, and synthesis speech configurations, overriding any default settings when supplied in a request.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists a range of versions for the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class, from 3.2.0 up to the latest version 4.26.0, and includes implementation details for each version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOutputAudioConfig\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 \u003ccode\u003eObject\u003c/code\u003e, extending functionality through its properties and methods.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor, \u003ccode\u003eOutputAudioConfig()\u003c/code\u003e, and one that accepts another \u003ccode\u003eOutputAudioConfig\u003c/code\u003e object as a parameter for copying its properties, \u003ccode\u003eOutputAudioConfig(OutputAudioConfig other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]