public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class OutputAudioConfig.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `OutputAudioConfig` class in the Google Cloud Dialogflow v2 API provides instructions for generating output audio content, overriding any existing agent text-to-speech settings when supplied in a request."],["The latest version of the documentation available is 4.26.0, however the provided reference page is for version 4.9.0, and there are 35 different versions with their own unique links ranging from version 3.2.0 up to 4.26.0."],["The `OutputAudioConfig` class implements multiple interfaces, including `IMessage`, `IEquatable\u003cOutputAudioConfig\u003e`, `IDeepCloneable\u003cOutputAudioConfig\u003e`, and `IBufferMessage`."],["`OutputAudioConfig` has three main properties that can be configured: `AudioEncoding`, `SampleRateHertz`, and `SynthesizeSpeechConfig`."],["The available documentation provides information about the constructors and properties of the `OutputAudioConfig` class, detailing parameter descriptions and property values."]]],[]]