GoogleCloudDialogflowV2QueryResult class

Represents the result of conversational query or event processing.

Constructors

GoogleCloudDialogflowV2QueryResult({String? action, bool? allRequiredParamsPresent, bool? cancelsSlotFilling, Map<String, Object?>? diagnosticInfo, List<GoogleCloudDialogflowV2IntentMessage>? fulfillmentMessages, String? fulfillmentText, GoogleCloudDialogflowV2Intent? intent, double? intentDetectionConfidence, String? languageCode, List<GoogleCloudDialogflowV2Context>? outputContexts, Map<String, Object?>? parameters, String? queryText, GoogleCloudDialogflowV2SentimentAnalysisResult? sentimentAnalysisResult, double? speechRecognitionConfidence, Map<String, Object?>? webhookPayload, String? webhookSource})
GoogleCloudDialogflowV2QueryResult.fromJson(Map json_)

Properties

action String?
The action name from the matched intent.
getter/setter pair
allRequiredParamsPresent bool?
This field is set to: - false if the matched intent has required parameters and not all of the required parameter values have been collected.
getter/setter pair
cancelsSlotFilling bool?
Indicates whether the conversational query triggers a cancellation for slot filling.
getter/setter pair
diagnosticInfo Map<String, Object?>?
Free-form diagnostic information for the associated detect intent request.
getter/setter pair
fulfillmentMessages List<GoogleCloudDialogflowV2IntentMessage>?
The collection of rich messages to present to the user.
getter/setter pair
fulfillmentText String?
The text to be pronounced to the user or shown on the screen.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intent GoogleCloudDialogflowV2Intent?
The intent that matched the conversational query.
getter/setter pair
intentDetectionConfidence double?
The intent detection confidence.
getter/setter pair
languageCode String?
The language that was triggered during intent detection.
getter/setter pair
outputContexts List<GoogleCloudDialogflowV2Context>?
The collection of output contexts.
getter/setter pair
parameters Map<String, Object?>?
The collection of extracted parameters.
getter/setter pair
queryText String?
The original conversational query text: - If natural language text was provided as input, query_text contains a copy of the input.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sentimentAnalysisResult GoogleCloudDialogflowV2SentimentAnalysisResult?
The sentiment analysis result, which depends on the sentiment_analysis_request_config specified in the request.
getter/setter pair
speechRecognitionConfidence double?
The Speech recognition confidence between 0.0 and 1.0.
getter/setter pair
webhookPayload Map<String, Object?>?
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.
getter/setter pair
webhookSource String?
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.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited