Class GoogleCloudDialogflowCxV3WebhookRequest
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. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3WebhookRequest : 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 |
---|---|
string |
DtmfDigits
If DTMF was provided as input, this field will contain the DTMF digits.
Declaration
[JsonProperty("dtmfDigits")]
public virtual string DtmfDigits { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FulfillmentInfo
Always present. Information about the fulfillment that triggered this webhook call.
Declaration
[JsonProperty("fulfillmentInfo")]
public virtual GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo FulfillmentInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo |
IntentInfo
Information about the last matched intent.
Declaration
[JsonProperty("intentInfo")]
public virtual GoogleCloudDialogflowCxV3WebhookRequestIntentInfo IntentInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3WebhookRequestIntentInfo |
LanguageCode
The language code specified in the original request.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageInfo
Information about the language of the request.
Declaration
[JsonProperty("languageInfo")]
public virtual GoogleCloudDialogflowCxV3LanguageInfo LanguageInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3LanguageInfo |
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<GoogleCloudDialogflowCxV3ResponseMessage> Messages { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3ResponseMessage> |
PageInfo
Information about page status.
Declaration
[JsonProperty("pageInfo")]
public virtual GoogleCloudDialogflowCxV3PageInfo PageInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3PageInfo |
Payload
Custom data set in QueryParameters.payload.
Declaration
[JsonProperty("payload")]
public virtual IDictionary<string, object> Payload { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, 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 GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult SentimentAnalysisResult { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult |
SessionInfo
Information about session status.
Declaration
[JsonProperty("sessionInfo")]
public virtual GoogleCloudDialogflowCxV3SessionInfo SessionInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3SessionInfo |
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |