GoogleCloudDialogflowCxV3Flow class
Flows represents the conversation flows when you build your chatbot agent.
A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.
Constructors
-
GoogleCloudDialogflowCxV3Flow({GoogleCloudDialogflowCxV3AdvancedSettings? advancedSettings, String? description, String? displayName, List<
GoogleCloudDialogflowCxV3EventHandler> ? eventHandlers, GoogleCloudDialogflowCxV3KnowledgeConnectorSettings? knowledgeConnectorSettings, GoogleCloudDialogflowCxV3FlowMultiLanguageSettings? multiLanguageSettings, String? name, GoogleCloudDialogflowCxV3NluSettings? nluSettings, List<String> ? transitionRouteGroups, List<GoogleCloudDialogflowCxV3TransitionRoute> ? transitionRoutes}) - GoogleCloudDialogflowCxV3Flow.fromJson(Map json_)
Properties
- advancedSettings ↔ GoogleCloudDialogflowCxV3AdvancedSettings?
-
Hierarchical advanced settings for this flow.
getter/setter pair
- description ↔ String?
-
The description of the flow.
getter/setter pair
- displayName ↔ String?
-
The human-readable name of the flow.
getter/setter pair
-
eventHandlers
↔ List<
GoogleCloudDialogflowCxV3EventHandler> ? -
A flow's event handlers serve two purposes: * They are responsible for
handling events (e.g. no match, webhook errors) in the flow.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- knowledgeConnectorSettings ↔ GoogleCloudDialogflowCxV3KnowledgeConnectorSettings?
-
Knowledge connector configuration.
getter/setter pair
- multiLanguageSettings ↔ GoogleCloudDialogflowCxV3FlowMultiLanguageSettings?
-
Multi-lingual agent settings for this flow.
getter/setter pair
- name ↔ String?
-
The unique identifier of the flow.
getter/setter pair
- nluSettings ↔ GoogleCloudDialogflowCxV3NluSettings?
-
NLU related settings of the flow.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transitionRouteGroups
↔ List<
String> ? -
A flow's transition route group serve two purposes: * They are responsible
for matching the user's first utterances in the flow.
getter/setter pair
-
transitionRoutes
↔ List<
GoogleCloudDialogflowCxV3TransitionRoute> ? -
A flow's transition routes serve two purposes: * They are responsible for
matching the user's first utterances in the flow.
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