Class GoogleCloudDialogflowCxV3beta1WebhookRequest
The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowCxV3beta1WebhookRequest : IDirectResponseSchema
Properties
DetectIntentResponseId
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
Declaration
[JsonProperty("detectIntentResponseId")]
public virtual string DetectIntentResponseId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FulfillmentInfo
Always present. Information about the fulfillment that triggered this webhook call.
Declaration
[JsonProperty("fulfillmentInfo")]
public virtual GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo FulfillmentInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo |
IntentInfo
Information about the last matched intent.
Declaration
[JsonProperty("intentInfo")]
public virtual GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo IntentInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo |
LanguageCode
The language code specified in the original request.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Messages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
Declaration
[JsonProperty("messages")]
public virtual IList<GoogleCloudDialogflowCxV3beta1ResponseMessage> Messages { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<GoogleCloudDialogflowCxV3beta1ResponseMessage> |
PageInfo
Information about page status.
Declaration
[JsonProperty("pageInfo")]
public virtual GoogleCloudDialogflowCxV3beta1PageInfo PageInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1PageInfo |
Payload
Custom data set in QueryParameters.payload.
Declaration
[JsonProperty("payload")]
public virtual IDictionary<string, object> Payload { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.Object> |
SentimentAnalysisResult
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
Declaration
[JsonProperty("sentimentAnalysisResult")]
public virtual GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult SentimentAnalysisResult { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult |
SessionInfo
Information about session status.
Declaration
[JsonProperty("sessionInfo")]
public virtual GoogleCloudDialogflowCxV3beta1SessionInfo SessionInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1SessionInfo |
Text
If natural language text was provided as input, this field will contain a copy of the text.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Transcript
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
Declaration
[JsonProperty("transcript")]
public virtual string Transcript { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TriggerEvent
If an event was provided as input, this field will contain the name of the event.
Declaration
[JsonProperty("triggerEvent")]
public virtual string TriggerEvent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TriggerIntent
If an intent was provided as input, this field will contain a copy of the intent identifier. Format:
projects//locations//agents//intents/.
Declaration
[JsonProperty("triggerIntent")]
public virtual string TriggerIntent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |