GoogleCloudDialogflowV2Intent class

An intent categorizes an end-user's intention for one conversation turn.

For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the intent guide.

Constructors

GoogleCloudDialogflowV2Intent({String? action, List<String>? defaultResponsePlatforms, String? displayName, bool? endInteraction, List<String>? events, List<GoogleCloudDialogflowV2IntentFollowupIntentInfo>? followupIntentInfo, List<String>? inputContextNames, bool? isFallback, bool? liveAgentHandoff, List<GoogleCloudDialogflowV2IntentMessage>? messages, bool? mlDisabled, String? name, List<GoogleCloudDialogflowV2Context>? outputContexts, List<GoogleCloudDialogflowV2IntentParameter>? parameters, String? parentFollowupIntentName, int? priority, bool? resetContexts, String? rootFollowupIntentName, List<GoogleCloudDialogflowV2IntentTrainingPhrase>? trainingPhrases, String? webhookState})
GoogleCloudDialogflowV2Intent.fromJson(Map json_)

Properties

action String?
The name of the action associated with the intent.
getter/setter pair
defaultResponsePlatforms List<String>?
The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
getter/setter pair
displayName String?
The name of this intent.
getter/setter pair
endInteraction bool?
Indicates that this intent ends an interaction.
getter/setter pair
events List<String>?
The collection of event names that trigger the intent.
getter/setter pair
followupIntentInfo List<GoogleCloudDialogflowV2IntentFollowupIntentInfo>?
Read-only.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputContextNames List<String>?
The list of context names required for this intent to be triggered.
getter/setter pair
isFallback bool?
Indicates whether this is a fallback intent.
getter/setter pair
liveAgentHandoff bool?
Indicates that a live agent should be brought in to handle the interaction with the user.
getter/setter pair
messages List<GoogleCloudDialogflowV2IntentMessage>?
The collection of rich messages corresponding to the Response field in the Dialogflow console.
getter/setter pair
mlDisabled bool?
Indicates whether Machine Learning is disabled for the intent.
getter/setter pair
name String?
The unique identifier of this intent.
getter/setter pair
outputContexts List<GoogleCloudDialogflowV2Context>?
The collection of contexts that are activated when the intent is matched.
getter/setter pair
parameters List<GoogleCloudDialogflowV2IntentParameter>?
The collection of parameters associated with the intent.
getter/setter pair
parentFollowupIntentName String?
Read-only after creation.
getter/setter pair
priority int?
The priority of this intent.
getter/setter pair
resetContexts bool?
Indicates whether to delete all contexts in the current session when this intent is matched.
getter/setter pair
rootFollowupIntentName String?
Read-only.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trainingPhrases List<GoogleCloudDialogflowV2IntentTrainingPhrase>?
The collection of examples that the agent is trained on.
getter/setter pair
webhookState String?
Indicates whether webhooks are enabled for the intent.
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