Class GoogleCloudDialogflowCxV3beta1QueryResult
Represents the result of a conversational query.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3beta1QueryResult : IDirectResponseSchema
Properties
AdvancedSettings
Returns the current advanced settings including IVR settings. Even though the operations configured by these settings are performed by Dialogflow, the client may need to perform special logic at the moment. For example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the resulting object to appear in the bucket before proceeding.
Declaration
[JsonProperty("advancedSettings")]
public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1AdvancedSettings |
AllowAnswerFeedback
Indicates whether the Thumbs up/Thumbs down rating controls are need to be shown for the response in the Dialogflow Messenger widget.
Declaration
[JsonProperty("allowAnswerFeedback")]
public virtual bool? AllowAnswerFeedback { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CurrentFlow
The current Flow. Some, not all fields are filled in this message, including but not limited to name
and
display_name
.
Declaration
[JsonProperty("currentFlow")]
public virtual GoogleCloudDialogflowCxV3beta1Flow CurrentFlow { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1Flow |
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 GoogleCloudDialogflowCxV3beta1Page CurrentPage { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1Page |
DataStoreConnectionSignals
Optional. Data store connection feature output signals. Filled only when data stores are involved in serving the query and DetectIntentRequest.populate_data_store_connection_signals is set to true in the request.
Declaration
[JsonProperty("dataStoreConnectionSignals")]
public virtual GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals DataStoreConnectionSignals { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals |
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 GoogleCloudDialogflowCxV3beta1DtmfInput Dtmf { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1DtmfInput |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GenerativeInfo
The information of a query if handled by generative agent resources.
Declaration
[JsonProperty("generativeInfo")]
public virtual GoogleCloudDialogflowCxV3beta1GenerativeInfo GenerativeInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1GenerativeInfo |
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 GoogleCloudDialogflowCxV3beta1Intent Intent { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1Intent |
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 GoogleCloudDialogflowCxV3beta1Match Match { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1Match |
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<GoogleCloudDialogflowCxV3beta1ResponseMessage> ResponseMessages { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3beta1ResponseMessage> |
SentimentAnalysisResult
The sentiment analyss result, which depends on analyze_query_text_sentiment
, specified in the request.
Declaration
[JsonProperty("sentimentAnalysisResult")]
public virtual GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult SentimentAnalysisResult { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult |
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 |
WebhookDisplayNames
The list of webhook display names in the order of call sequence.
Declaration
[JsonProperty("webhookDisplayNames")]
public virtual IList<string> WebhookDisplayNames { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
WebhookIds
The list of webhook ids in the order of call sequence.
Declaration
[JsonProperty("webhookIds")]
public virtual IList<string> WebhookIds { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
WebhookLatencies
The list of webhook latencies in the order of call sequence.
Declaration
[JsonProperty("webhookLatencies")]
public virtual IList<object> WebhookLatencies { get; set; }
Property Value
Type | Description |
---|---|
IList<object> |
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> |
WebhookTags
The list of webhook tags in the order of call sequence.
Declaration
[JsonProperty("webhookTags")]
public virtual IList<string> WebhookTags { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |