Class CxPageState


  • public final class CxPageState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • displayName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> displayName()
        Returns:
        The human-readable name of the page, unique within the agent. ***
      • entryFulfillment

        public java.util.Optional<com.pulumi.core.Output<CxPageEntryFulfillmentArgs>> entryFulfillment()
        Returns:
        The fulfillment to call when the session is entering the page. Structure is documented below.
      • eventHandlers

        public java.util.Optional<com.pulumi.core.Output<java.util.List<CxPageEventHandlerArgs>>> eventHandlers()
        Returns:
        Handlers associated with the page to handle events such as webhook errors, no match or no input. Structure is documented below.
      • form

        public java.util.Optional<com.pulumi.core.Output<CxPageFormArgs>> form()
        Returns:
        The form associated with the page, used for collecting parameters relevant to the page. Structure is documented below.
      • languageCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> languageCode()
        Returns:
        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 are supported. Note: languages must be enabled in the agent before they can be used.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        (Output) The unique identifier of this event handler. (Output) The unique identifier of this transition route. (Output) The unique identifier of this event handler.
      • parent

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> parent()
        Returns:
        The flow to create a page for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
      • transitionRouteGroups

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> transitionRouteGroups()
        Returns:
        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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
      • transitionRoutes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<CxPageTransitionRouteArgs>>> transitionRoutes()
        Returns:
        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. Structure is documented below.