public sealed class DetectIntentResponse : IMessage<DetectIntentResponse>, IEquatable<DetectIntentResponse>, IDeepCloneable<DetectIntentResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class DetectIntentResponse.
The message returned from the DetectIntent method.
The audio data bytes encoded as specified in the request.
Note: The output audio is generated based on the values of default platform
text responses found in the query_result.fulfillment_messages field. If
multiple default text responses exist, they will be concatenated when
generating audio. If no default platform text responses exist, the
generated audio content will be empty.
In some scenarios, multiple output audio fields may be present in the
response structure. In these cases, only the top-most-level audio output
has content.
[[["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 page provides documentation for the \u003ccode\u003eDetectIntentResponse\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, with the latest version being 4.26.0, and includes documentation for versions ranging from 4.26.0 down to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetectIntentResponse\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, is the message returned from the DetectIntent method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetectIntentResponse\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<DetectIntentResponse>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<DetectIntentResponse>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eOutputAudio\u003c/code\u003e, \u003ccode\u003eOutputAudioConfig\u003c/code\u003e, \u003ccode\u003eQueryResult\u003c/code\u003e, \u003ccode\u003eResponseId\u003c/code\u003e, and \u003ccode\u003eWebhookStatus\u003c/code\u003e, each serving a specific purpose in the context of the Dialogflow response.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudio\u003c/code\u003e property returns audio data bytes, the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e allows for speech synthesizer config, the \u003ccode\u003eQueryResult\u003c/code\u003e property allows to query the conversation, the \u003ccode\u003eResponseId\u003c/code\u003e allows to locate a response, and the \u003ccode\u003eWebhookStatus\u003c/code\u003e property allows to check the webhook status.\u003c/p\u003e\n"]]],[],null,[]]