GoogleCloudDialogflowCxV3EventHandler constructor
const
GoogleCloudDialogflowCxV3EventHandler({
- required Input<
String> event, - Input<
String> ? targetFlow, - Input<
String> ? targetPage, - Input<
GoogleCloudDialogflowCxV3Fulfillment> ? triggerFulfillment,
Creates a new GoogleCloudDialogflowCxV3EventHandler.
event The name of the event to handle.
targetFlow The target flow to transition to. Format: projects//locations//agents//flows/.
targetPage The target page to transition to. Format: projects//locations//agents//flows//pages/.
triggerFulfillment The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
Implementation
const GoogleCloudDialogflowCxV3EventHandler({
required this.event,
this.targetFlow,
this.targetPage,
this.triggerFulfillment,
});