Class GoogleCloudDialogflowCxV3QueryResult
Represents the result of a conversational query.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowCxV3QueryResult : IDirectResponseSchema
Properties
CurrentPage
The current Page. Some, not all fields are filled in this message, including but not limited to name and
display_name.
Declaration
[JsonProperty("currentPage")]
public virtual GoogleCloudDialogflowCxV3Page CurrentPage { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3Page |
DiagnosticInfo
The free-form diagnostic info. For example, this field could contain webhook call latency. The fields of this data can change without notice, so you should not write code that depends on its structure. One of the fields is called "Alternative Matched Intents", which may aid with debugging. The following describes these intent results: - The list is empty if no intent was matched to end-user input. - Only intents that are referenced in the currently active flow are included. - The matched intent is included. - Other intents that could have matched end-user input, but did not match because they are referenced by intent routes that are out of scope, are included. - Other intents referenced by intent routes in scope that matched end-user input, but had a lower confidence score.
Declaration
[JsonProperty("diagnosticInfo")]
public virtual IDictionary<string, object> DiagnosticInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Dtmf
If a DTMF was provided as input, this field will contain a copy of the DtmfInput.
Declaration
[JsonProperty("dtmf")]
public virtual GoogleCloudDialogflowCxV3DtmfInput Dtmf { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3DtmfInput |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Intent
The Intent that matched the conversational query. Some, not all fields are filled in this message, including
but not limited to: name and display_name. This field is deprecated, please use QueryResult.match
instead.
Declaration
[JsonProperty("intent")]
public virtual GoogleCloudDialogflowCxV3Intent Intent { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3Intent |
IntentDetectionConfidence
The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. This field is deprecated, please use QueryResult.match instead.
Declaration
[JsonProperty("intentDetectionConfidence")]
public virtual float? IntentDetectionConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
LanguageCode
The language that was triggered during intent detection. See Language Support for a list of the currently supported language codes.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Match
Intent match result, could be an intent or an event.
Declaration
[JsonProperty("match")]
public virtual GoogleCloudDialogflowCxV3Match Match { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3Match |
Parameters
The collected session parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
Declaration
[JsonProperty("parameters")]
public virtual IDictionary<string, object> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
ResponseMessages
The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.
Declaration
[JsonProperty("responseMessages")]
public virtual IList<GoogleCloudDialogflowCxV3ResponseMessage> ResponseMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDialogflowCxV3ResponseMessage> |
SentimentAnalysisResult
The sentiment analyss result, which depends on analyze_query_text_sentiment, specified in the request.
Declaration
[JsonProperty("sentimentAnalysisResult")]
public virtual GoogleCloudDialogflowCxV3SentimentAnalysisResult SentimentAnalysisResult { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3SentimentAnalysisResult |
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 |
WebhookPayloads
The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call
fails or doesn't return any payload, an empty Struct would be used instead.
Declaration
[JsonProperty("webhookPayloads")]
public virtual IList<IDictionary<string, object>> WebhookPayloads { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<IDictionary<string, object>> |
WebhookStatuses
The list of webhook call status in the order of call sequence.
Declaration
[JsonProperty("webhookStatuses")]
public virtual IList<GoogleRpcStatus> WebhookStatuses { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleRpcStatus> |