GetFlowResult class

Result data returned by getFlow.

Constructors

GetFlowResult({required GoogleCloudDialogflowCxV3AdvancedSettingsResponse advancedSettings, required String description, required String displayName, required List<GoogleCloudDialogflowCxV3EventHandlerResponse> eventHandlers, required GoogleCloudDialogflowCxV3KnowledgeConnectorSettingsResponse knowledgeConnectorSettings, required String name, required GoogleCloudDialogflowCxV3NluSettingsResponse nluSettings, required List<String> transitionRouteGroups, required List<GoogleCloudDialogflowCxV3TransitionRouteResponse> transitionRoutes})
Creates a new GetFlowResult. advancedSettings Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level. description The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. displayName The human-readable name of the flow. eventHandlers A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's event handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transition_routes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. knowledgeConnectorSettings Optional. Knowledge connector configuration. name The unique identifier of the flow. Format: projects//locations//agents//flows/. nluSettings NLU related settings of the flow. transitionRouteGroups A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition route groups. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/ for agent-level groups. transitionRoutes A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition routes and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
const
GetFlowResult.fromMap(Map<String, dynamic> map)
factory

Properties

advancedSettings → GoogleCloudDialogflowCxV3AdvancedSettingsResponse
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
final
description → String
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
final
displayName → String
The human-readable name of the flow.
final
eventHandlers → List<GoogleCloudDialogflowCxV3EventHandlerResponse>
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's event handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transition_routes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
final
hashCode → int
The hash code for this object.
no setterinherited
knowledgeConnectorSettings → GoogleCloudDialogflowCxV3KnowledgeConnectorSettingsResponse
Optional. Knowledge connector configuration.
final
name → String
The unique identifier of the flow. Format: projects//locations//agents//flows/.
final
nluSettings → GoogleCloudDialogflowCxV3NluSettingsResponse
NLU related settings of the flow.
final
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. * They are inherited by every page's transition route groups. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/ for agent-level groups.
final
transitionRoutes → List<GoogleCloudDialogflowCxV3TransitionRouteResponse>
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition routes and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
final

Methods

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

Operators

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