public sealed class WebhookRequest : IMessage<WebhookRequest>, IEquatable<WebhookRequest>, IDeepCloneable<WebhookRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class WebhookRequest.
The request message for a webhook call.
Implements
IMessageWebhookRequest, IEquatableWebhookRequest, IDeepCloneableWebhookRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
WebhookRequest()
public WebhookRequest()
WebhookRequest(WebhookRequest)
public WebhookRequest(WebhookRequest other)
Parameter | |
---|---|
Name | Description |
other | WebhookRequest |
Properties
AlternativeQueryResults
public RepeatedField<QueryResult> AlternativeQueryResults { get; }
Alternative query results from KnowledgeService.
Property Value | |
---|---|
Type | Description |
RepeatedFieldQueryResult |
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. Supported formats:
- `projects/<Project ID>/agent/sessions/<Session ID>,
projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>
,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,
Property Value | |
---|---|
Type | Description |
string |