PageArgs class
The set of arguments for Page. The set of arguments for Page.
Constructors
-
PageArgs({Input<
GoogleCloudDialogflowCxV3AdvancedSettings> ? advancedSettings, required Input<String> agentId, required Input<String> displayName, Input<GoogleCloudDialogflowCxV3Fulfillment> ? entryFulfillment, Input<List< ? eventHandlers, required Input<GoogleCloudDialogflowCxV3EventHandler> >String> flowId, Input<GoogleCloudDialogflowCxV3Form> ? form, Input<GoogleCloudDialogflowCxV3KnowledgeConnectorSettings> ? knowledgeConnectorSettings, Input<String> ? languageCode, Input<String> ? location, Input<String> ? name, Input<String> ? project, Input<List< ? transitionRouteGroups, Input<String> >List< ? transitionRoutes})GoogleCloudDialogflowCxV3TransitionRoute> > -
Creates a new PageArgs.
advancedSettingsHierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level.agentIdRequired.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.flowIdRequired.formThe form associated with the page, used for collecting parameters relevant to the page.knowledgeConnectorSettingsOptional. Knowledge connector configuration.languageCodeThe language of the following fields inpage: *Page.entry_fulfillment.messages*Page.entry_fulfillment.conditional_cases*Page.event_handlers.trigger_fulfillment.messages*Page.event_handlers.trigger_fulfillment.conditional_cases*Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages*Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases*Page.form.parameters.fill_behavior.reprompt_event_handlers.messages*Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases*Page.transition_routes.trigger_fulfillment.messages*Page.transition_routes.trigger_fulfillment.conditional_casesIf not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.locationOptional.nameThe unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format:projects//locations//agents//flows//pages/.projectOptional.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 -
PageArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
advancedSettings
→ Input<
GoogleCloudDialogflowCxV3AdvancedSettings> ? -
Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level.
final
-
agentId
→ Input<
String> -
final
-
displayName
→ Input<
String> -
The human-readable name of the page, unique within the flow.
final
-
entryFulfillment
→ Input<
GoogleCloudDialogflowCxV3Fulfillment> ? -
The fulfillment to call when the session is entering the page.
final
-
eventHandlers
→ Input<
List< ?GoogleCloudDialogflowCxV3EventHandler> > -
Handlers associated with the page to handle events such as webhook errors, no match or no input.
final
-
flowId
→ Input<
String> -
final
-
form
→ Input<
GoogleCloudDialogflowCxV3Form> ? -
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
→ Input<
GoogleCloudDialogflowCxV3KnowledgeConnectorSettings> ? -
Optional. Knowledge connector configuration.
final
-
languageCode
→ Input<
String> ? -
The language of the following fields in
page: *Page.entry_fulfillment.messages*Page.entry_fulfillment.conditional_cases*Page.event_handlers.trigger_fulfillment.messages*Page.event_handlers.trigger_fulfillment.conditional_cases*Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages*Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases*Page.form.parameters.fill_behavior.reprompt_event_handlers.messages*Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases*Page.transition_routes.trigger_fulfillment.messages*Page.transition_routes.trigger_fulfillment.conditional_casesIf not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.final -
location
→ Input<
String> ? -
final
-
name
→ Input<
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 -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transitionRouteGroups
→ Input<
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
→ Input<
List< ?GoogleCloudDialogflowCxV3TransitionRoute> > -
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