import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a page in the specified flow. */ export declare class AgentFlowPage extends pulumi.CustomResource { /** * Get an existing AgentFlowPage resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AgentFlowPage; /** * Returns true if the given object is an instance of AgentFlowPage. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AgentFlowPage; /** * Required. The human-readable name of the page, unique within the agent. */ readonly displayName: pulumi.Output; /** * The fulfillment to call when the session is entering the page. */ readonly entryFulfillment: pulumi.Output; /** * Handlers associated with the page to handle events such as webhook errors, no match or no input. */ readonly eventHandlers: pulumi.Output; /** * The form associated with the page, used for collecting parameters relevant to the page. */ readonly form: pulumi.Output; /** * The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`. */ readonly name: pulumi.Output; /** * Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * 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/`. */ readonly transitionRouteGroups: pulumi.Output; /** * 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. */ readonly transitionRoutes: pulumi.Output; /** * Create a AgentFlowPage resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AgentFlowPageArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AgentFlowPage resource. */ export interface AgentFlowPageArgs { readonly agentsId: pulumi.Input; /** * Required. The human-readable name of the page, unique within the agent. */ readonly displayName?: pulumi.Input; /** * The fulfillment to call when the session is entering the page. */ readonly entryFulfillment?: pulumi.Input; /** * Handlers associated with the page to handle events such as webhook errors, no match or no input. */ readonly eventHandlers?: pulumi.Input[]>; readonly flowsId: pulumi.Input; /** * The form associated with the page, used for collecting parameters relevant to the page. */ readonly form?: pulumi.Input; readonly locationsId: pulumi.Input; /** * The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`. */ readonly name?: pulumi.Input; readonly pagesId: pulumi.Input; readonly projectsId: pulumi.Input; /** * Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * 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/`. */ readonly transitionRouteGroups?: pulumi.Input[]>; /** * 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. */ readonly transitionRoutes?: pulumi.Input[]>; }