import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a page in the specified flow. */ export declare class Page extends pulumi.CustomResource { /** * Get an existing Page 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): Page; /** * Returns true if the given object is an instance of Page. 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 Page; /** * Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level. */ readonly advancedSettings: pulumi.Output; readonly agentId: pulumi.Output; /** * The human-readable name of the page, unique within the flow. */ 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; readonly flowId: pulumi.Output; /** * The form associated with the page, used for collecting parameters relevant to the page. */ readonly form: pulumi.Output; /** * Optional. Knowledge connector configuration. */ readonly knowledgeConnectorSettings: pulumi.Output; /** * 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_cases` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. */ readonly languageCode: pulumi.Output; readonly location: 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; readonly project: pulumi.Output; /** * Ordered list of `TransitionRouteGroups` added 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/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups. */ 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 Page 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: PageArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Page resource. */ export interface PageArgs { /** * Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level. */ advancedSettings?: pulumi.Input; agentId: pulumi.Input; /** * The human-readable name of the page, unique within the flow. */ displayName: pulumi.Input; /** * The fulfillment to call when the session is entering the page. */ entryFulfillment?: pulumi.Input; /** * Handlers associated with the page to handle events such as webhook errors, no match or no input. */ eventHandlers?: pulumi.Input[]>; flowId: pulumi.Input; /** * The form associated with the page, used for collecting parameters relevant to the page. */ form?: pulumi.Input; /** * Optional. Knowledge connector configuration. */ knowledgeConnectorSettings?: pulumi.Input; /** * 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_cases` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. */ languageCode?: pulumi.Input; location?: 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/`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Ordered list of `TransitionRouteGroups` added 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/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups. */ 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. */ transitionRoutes?: pulumi.Input[]>; }