GetPageResult class
Result data returned by getPage.
Constructors
-
GetPageResult({required GoogleCloudDialogflowCxV3AdvancedSettingsResponse advancedSettings, required String displayName, required GoogleCloudDialogflowCxV3FulfillmentResponse entryFulfillment, required List<
GoogleCloudDialogflowCxV3EventHandlerResponse> eventHandlers, required GoogleCloudDialogflowCxV3FormResponse form, required GoogleCloudDialogflowCxV3KnowledgeConnectorSettingsResponse knowledgeConnectorSettings, required String name, required List<String> transitionRouteGroups, required List<GoogleCloudDialogflowCxV3TransitionRouteResponse> transitionRoutes}) -
Creates a new GetPageResult.
advancedSettingsHierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level.displayNameThe human-readable name of the page, unique within the flow.entryFulfillmentThe fulfillment to call when the session is entering the page.eventHandlersHandlers associated with the page to handle events such as webhook errors, no match or no input.formThe form associated with the page, used for collecting parameters relevant to the page.knowledgeConnectorSettingsOptional. Knowledge connector configuration.nameThe unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format:projects//locations//agents//flows//pages/.transitionRouteGroupsOrdered list ofTransitionRouteGroupsadded to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:projects//locations//agents//flows//transitionRouteGroups/orprojects//locations//agents//transitionRouteGroups/for agent-level groups.transitionRoutesA list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the transition route groups with only condition specified.const -
GetPageResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- advancedSettings → GoogleCloudDialogflowCxV3AdvancedSettingsResponse
-
Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level.
final
- displayName → String
-
The human-readable name of the page, unique within the flow.
final
- entryFulfillment → GoogleCloudDialogflowCxV3FulfillmentResponse
-
The fulfillment to call when the session is entering the page.
final
-
eventHandlers
→ List<
GoogleCloudDialogflowCxV3EventHandlerResponse> -
Handlers associated with the page to handle events such as webhook errors, no match or no input.
final
- form → GoogleCloudDialogflowCxV3FormResponse
-
The form associated with the page, used for collecting parameters relevant to the page.
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 page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format:
projects//locations//agents//flows//pages/.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transitionRouteGroups
→ List<
String> -
Ordered list of
TransitionRouteGroupsadded to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:projects//locations//agents//flows//transitionRouteGroups/orprojects//locations//agents//transitionRouteGroups/for agent-level groups.final -
transitionRoutes
→ List<
GoogleCloudDialogflowCxV3TransitionRouteResponse> -
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the transition route groups with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the transition route groups with only condition specified.
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