Class OriginalDetectIntentRequest (3.4.0)

public sealed class OriginalDetectIntentRequest : IMessage<OriginalDetectIntentRequest>, IEquatable<OriginalDetectIntentRequest>, IDeepCloneable<OriginalDetectIntentRequest>, IBufferMessage, IMessage

Represents the contents of the original request that was passed to the [Streaming]DetectIntent call.

Inheritance

Object > OriginalDetectIntentRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

OriginalDetectIntentRequest()

public OriginalDetectIntentRequest()

OriginalDetectIntentRequest(OriginalDetectIntentRequest)

public OriginalDetectIntentRequest(OriginalDetectIntentRequest other)
Parameter
NameDescription
otherOriginalDetectIntentRequest

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
TypeDescription
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
TypeDescription
String

Version

public string Version { get; set; }

Optional. The version of the protocol used for this request. This field is AoG-specific.

Property Value
TypeDescription
String