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.
Implements
IMessageOriginalDetectIntentRequest, IEquatableOriginalDetectIntentRequest, IDeepCloneableOriginalDetectIntentRequest, IBufferMessage, IMessageInherited Members
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
OriginalDetectIntentRequest()
public OriginalDetectIntentRequest()
OriginalDetectIntentRequest(OriginalDetectIntentRequest)
public OriginalDetectIntentRequest(OriginalDetectIntentRequest other)
Parameter | |
---|---|
Name | Description |
other |
OriginalDetectIntentRequest |
Properties
Payload
public Struct Payload { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Struct |
Source
public string Source { get; set; }
The source of this request, e.g., google
, facebook
, slack
. It is set
by Dialogflow-owned servers.
Property Value | |
---|---|
Type | Description |
string |
Version
public string Version { get; set; }
Optional. The version of the protocol used for this request. This field is AoG-specific.
Property Value | |
---|---|
Type | Description |
string |