Skip to main content

pages

Overview

Namepages
TypeResource
Idgoogle.dialogflow.pages

Fields

NameDatatypeDescription
namestringThe unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: projects//locations//agents//flows//pages/.
displayNamestringRequired. The human-readable name of the page, unique within the flow.
entryFulfillmentobjectA fulfillment can do one or more of the following actions at the same time: Generate rich message responses. Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.
eventHandlersarrayHandlers associated with the page to handle events such as webhook errors, no match or no input.
formobjectA form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.
knowledgeConnectorSettingsobjectThe Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.
transitionRouteGroupsarrayOrdered 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.
transitionRoutesarrayA 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.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_agents_flows_pages_getSELECTagentsId, flowsId, locationsId, pagesId, projectsIdRetrieves the specified page.
projects_locations_agents_flows_pages_listSELECTagentsId, flowsId, locationsId, projectsIdReturns the list of all pages in the specified flow.
projects_locations_agents_flows_pages_createINSERTagentsId, flowsId, locationsId, projectsIdCreates a page in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.
projects_locations_agents_flows_pages_deleteDELETEagentsId, flowsId, locationsId, pagesId, projectsIdDeletes the specified page. Note: You should always train a flow prior to sending it queries. See the training documentation.
_projects_locations_agents_flows_pages_listEXECagentsId, flowsId, locationsId, projectsIdReturns the list of all pages in the specified flow.
projects_locations_agents_flows_pages_patchEXECagentsId, flowsId, locationsId, pagesId, projectsIdUpdates the specified page. Note: You should always train a flow prior to sending it queries. See the training documentation.