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. 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.v3.Data
Assembly: Google.Apis.Dialogflow.v3.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 |
---|---|
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 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 |
---|---|
string |
LanguageInfo
Information about the language of the request.
Declaration
[JsonProperty("languageInfo")]
public virtual GoogleCloudDialogflowCxV3beta1LanguageInfo LanguageInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1LanguageInfo |
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 |
---|---|
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 |
---|---|
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 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 |
---|---|
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 |