eventHandlers property

List<GoogleCloudDialogflowCxV3EventHandler>? eventHandlers
getter/setter pair

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.

Implementation

core.List<GoogleCloudDialogflowCxV3EventHandler>? eventHandlers;