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"]],[["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 \u003ccode\u003eOriginalDetectIntentRequest\u003c/code\u003e class in the Google Cloud Dialogflow v2 API represents the original request data passed to a \u003ccode\u003e[Streaming]DetectIntent\u003c/code\u003e call.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePayload\u003c/code\u003e property allows for optional integration-specific data, such as caller ID information for Dialogflow Phone Gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSource\u003c/code\u003e property indicates where the request originated, for instance, from platforms like Google, Facebook, or Slack.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eOriginalDetectIntentRequest\u003c/code\u003e available, ranging from version 3.2.0 to the latest version 4.26.0, with each version having its own documentation.\u003c/p\u003e\n"]]],[],null,[]]