public sealed class OriginalDetectIntentRequest : IMessage<OriginalDetectIntentRequest>, IEquatable<OriginalDetectIntentRequest>, IDeepCloneable<OriginalDetectIntentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class OriginalDetectIntentRequest.
Represents the contents of the original request that was passed to
the [Streaming]DetectIntent call.
Optional. This field is set to the value of the QueryParameters.payload
field passed in the request. Some integrations that query a Dialogflow
agent may provide additional information in the payload.
In particular, for the Dialogflow Phone Gateway integration, this field has
the form:
<pre>{
"telephony": {
"caller_id": "+18558363987"
}
}</pre>
Note: The caller ID field (caller_id) will be redacted for Trial
Edition agents and populated with the caller ID in E.164
format for Essentials Edition agents.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eOriginalDetectIntentRequest\u003c/code\u003e class in the Google Cloud Dialogflow v2 API represents the original request data passed to the \u003ccode\u003e[Streaming]DetectIntent\u003c/code\u003e call.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eOriginalDetectIntentRequest\u003c/code\u003e documentation is 4.26.0, with many previous versions available, starting from version 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e 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, ensuring various functionalities for handling and manipulating request data.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003ePayload\u003c/code\u003e, \u003ccode\u003eSource\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, allowing access to additional information from the request like telephony caller IDs, the request's origin, and the protocol version.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eOriginalDetectIntentRequest\u003c/code\u003e class, one being empty and the other able to clone an instance of the same class.\u003c/p\u003e\n"]]],[],null,[]]