public sealed class WebhookRequest : IMessage<WebhookRequest>, IEquatable<WebhookRequest>, IDeepCloneable<WebhookRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class WebhookRequest.
The request message for a webhook call.
Implements
IMessage<WebhookRequest>, IEquatable<WebhookRequest>, IDeepCloneable<WebhookRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
WebhookRequest()
public WebhookRequest()
WebhookRequest(WebhookRequest)
public WebhookRequest(WebhookRequest other)
Parameter | |
---|---|
Name | Description |
other | WebhookRequest |
Properties
OriginalDetectIntentRequest
public OriginalDetectIntentRequest OriginalDetectIntentRequest { get; set; }
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
Property Value | |
---|---|
Type | Description |
OriginalDetectIntentRequest |
QueryResult
public QueryResult QueryResult { get; set; }
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
Property Value | |
---|---|
Type | Description |
QueryResult |
ResponseId
public string ResponseId { get; set; }
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
Property Value | |
---|---|
Type | Description |
String |
Session
public string Session { get; set; }
The unique identifier of detectIntent request session.
Can be used to identify end-user inside webhook implementation.
Format: projects/<Project ID>/agent/sessions/<Session ID>
, or
projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
.
Property Value | |
---|---|
Type | Description |
String |