dialogflow  v2beta1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Properties | List of all members
Google.Apis.Dialogflow.v2beta1.Data.QueryResult Class Reference

Represents the result of conversational query or event processing. More...

Inheritance diagram for Google.Apis.Dialogflow.v2beta1.Data.QueryResult:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual string Action [get, set]
 The action name from the matched intent.
virtual System.Nullable< bool > AllRequiredParamsPresent [get, set]
 This field is set to: - false if the matched intent has required parameters and not all of the required parameter values have been collected. - true if all required parameter values have been collected, or if the matched intent doesn't contain any required parameters.
virtual
System.Collections.Generic.IDictionary
< string, object > 
DiagnosticInfo [get, set]
 The free-form diagnostic info. For example, this field could contain webhook call latency.
virtual
System.Collections.Generic.IList
< IntentMessage
FulfillmentMessages [get, set]
 The collection of rich messages to present to the user.
virtual string FulfillmentText [get, set]
 The text to be pronounced to the user or shown on the screen.
virtual Intent Intent [get, set]
 The intent that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: name, display_name and webhook_state.
virtual System.Nullable< float > IntentDetectionConfidence [get, set]
 The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
virtual string LanguageCode [get, set]
 The language that was triggered during intent detection. See Language Support for a list of the currently supported language codes.
virtual
System.Collections.Generic.IList
< Context
OutputContexts [get, set]
 The collection of output contexts. If applicable, output_contexts.parameters contains entries with name .original containing the original parameter values before the query.
virtual
System.Collections.Generic.IDictionary
< string, object > 
Parameters [get, set]
 The collection of extracted parameters.
virtual string QueryText [get, set]
 The original conversational query text: - If natural language text was provided as input, query_text contains a copy of the input. - If natural language speech audio was provided as input, query_text contains the speech recognition result. If speech recognizer produced multiple alternatives, a particular one is picked. - If an event was provided as input, query_text is not set.
virtual System.Nullable< float > SpeechRecognitionConfidence [get, set]
 The Speech recognition confidence between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating that confidence was not set.
virtual
System.Collections.Generic.IDictionary
< string, object > 
WebhookPayload [get, set]
 If the query was fulfilled by a webhook call, this field is set to the value of the payload field returned in the webhook response.
virtual string WebhookSource [get, set]
 If the query was fulfilled by a webhook call, this field is set to the value of the source field returned in the webhook response.
virtual string ETag [get, set]
 The ETag of the item.
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag

Detailed Description

Represents the result of conversational query or event processing.

Property Documentation

virtual string Google.Apis.Dialogflow.v2beta1.Data.QueryResult.Action
getset

The action name from the matched intent.

virtual System.Nullable<bool> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.AllRequiredParamsPresent
getset

This field is set to: - false if the matched intent has required parameters and not all of the required parameter values have been collected. - true if all required parameter values have been collected, or if the matched intent doesn't contain any required parameters.

virtual System.Collections.Generic.IDictionary<string,object> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.DiagnosticInfo
getset

The free-form diagnostic info. For example, this field could contain webhook call latency.

virtual string Google.Apis.Dialogflow.v2beta1.Data.QueryResult.ETag
getset

The ETag of the item.

virtual System.Collections.Generic.IList<IntentMessage> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.FulfillmentMessages
getset

The collection of rich messages to present to the user.

virtual string Google.Apis.Dialogflow.v2beta1.Data.QueryResult.FulfillmentText
getset

The text to be pronounced to the user or shown on the screen.

virtual Intent Google.Apis.Dialogflow.v2beta1.Data.QueryResult.Intent
getset

The intent that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: name, display_name and webhook_state.

virtual System.Nullable<float> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.IntentDetectionConfidence
getset

The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).

virtual string Google.Apis.Dialogflow.v2beta1.Data.QueryResult.LanguageCode
getset

The language that was triggered during intent detection. See Language Support for a list of the currently supported language codes.

virtual System.Collections.Generic.IList<Context> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.OutputContexts
getset

The collection of output contexts. If applicable, output_contexts.parameters contains entries with name .original containing the original parameter values before the query.

virtual System.Collections.Generic.IDictionary<string,object> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.Parameters
getset

The collection of extracted parameters.

virtual string Google.Apis.Dialogflow.v2beta1.Data.QueryResult.QueryText
getset

The original conversational query text: - If natural language text was provided as input, query_text contains a copy of the input. - If natural language speech audio was provided as input, query_text contains the speech recognition result. If speech recognizer produced multiple alternatives, a particular one is picked. - If an event was provided as input, query_text is not set.

virtual System.Nullable<float> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.SpeechRecognitionConfidence
getset

The Speech recognition confidence between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating that confidence was not set.

You should not rely on this field as it isn't guaranteed to be accurate, or even set. In particular this field isn't set in Webhook calls and for StreamingDetectIntent since the streaming endpoint has separate confidence estimates per portion of the audio in StreamingRecognitionResult.

virtual System.Collections.Generic.IDictionary<string,object> Google.Apis.Dialogflow.v2beta1.Data.QueryResult.WebhookPayload
getset

If the query was fulfilled by a webhook call, this field is set to the value of the payload field returned in the webhook response.

virtual string Google.Apis.Dialogflow.v2beta1.Data.QueryResult.WebhookSource
getset

If the query was fulfilled by a webhook call, this field is set to the value of the source field returned in the webhook response.


The documentation for this class was generated from the following file: