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).
public SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; }
Optional. Configuration of how speech should be synthesized.
If not specified,
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
is applied.
[[["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 details the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class within the Google Cloud Dialogflow CX v3 API, specifically for .NET, and is used to configure how speech synthesizer generates output audio.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3.dll\u003c/code\u003e assembly, and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the API within this specific documentation is version 2.23.0, while the currently shown version on the webpage is 2.12.0, and includes a long list of previous releases.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eAudioEncoding\u003c/code\u003e, \u003ccode\u003eSampleRateHertz\u003c/code\u003e, and \u003ccode\u003eSynthesizeSpeechConfig\u003c/code\u003e that allow customization of the audio output, such as the encoding type and sample rate.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one of which is a copy constructor, and has inherited members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]