public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class OutputAudioConfig.
Instructs the speech synthesizer 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\u003eThis webpage provides documentation for the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class within the Google Cloud Dialogflow CX v3 API, specifically focusing on version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class is used to instruct the speech synthesizer on how to generate output audio content, allowing customization of audio encoding, sample rate, and speech synthesis settings.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to work within the Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for this class, starting from version 1.0.0 all the way to the most current latest release version 2.23.0, indicating the evolution and potential updates of the API over time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class contains properties such as \u003ccode\u003eAudioEncoding\u003c/code\u003e, \u003ccode\u003eSampleRateHertz\u003c/code\u003e, and \u003ccode\u003eSynthesizeSpeechConfig\u003c/code\u003e, allowing for detailed configuration of the output audio.\u003c/p\u003e\n"]]],[],null,[]]