pub struct GoogleCloudDialogflowCxV3Page {
pub advanced_settings: Option<GoogleCloudDialogflowCxV3AdvancedSettings>,
pub description: Option<String>,
pub display_name: Option<String>,
pub entry_fulfillment: Option<GoogleCloudDialogflowCxV3Fulfillment>,
pub event_handlers: Option<Vec<GoogleCloudDialogflowCxV3EventHandler>>,
pub form: Option<GoogleCloudDialogflowCxV3Form>,
pub knowledge_connector_settings: Option<GoogleCloudDialogflowCxV3KnowledgeConnectorSettings>,
pub name: Option<String>,
pub transition_route_groups: Option<Vec<String>>,
pub transition_routes: Option<Vec<GoogleCloudDialogflowCxV3TransitionRoute>>,
}
Expand description
A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the Page guide.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations agents flows pages create projects (request|response)
- locations agents flows pages get projects (response)
- locations agents flows pages patch projects (request|response)
Fields§
§advanced_settings: Option<GoogleCloudDialogflowCxV3AdvancedSettings>
Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level.
description: Option<String>
The description of the page. The maximum length is 500 characters.
display_name: Option<String>
Required. The human-readable name of the page, unique within the flow.
entry_fulfillment: Option<GoogleCloudDialogflowCxV3Fulfillment>
The fulfillment to call when the session is entering the page.
event_handlers: Option<Vec<GoogleCloudDialogflowCxV3EventHandler>>
Handlers associated with the page to handle events such as webhook errors, no match or no input.
form: Option<GoogleCloudDialogflowCxV3Form>
The form associated with the page, used for collecting parameters relevant to the page.
knowledge_connector_settings: Option<GoogleCloudDialogflowCxV3KnowledgeConnectorSettings>
Optional. Knowledge connector configuration.
name: Option<String>
The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: projects//locations//agents//flows//pages/
.
transition_route_groups: Option<Vec<String>>
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.
transition_routes: Option<Vec<GoogleCloudDialogflowCxV3TransitionRoute>>
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.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3Page
impl Clone for GoogleCloudDialogflowCxV3Page
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3Page
fn clone(&self) -> GoogleCloudDialogflowCxV3Page
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowCxV3Page
impl Default for GoogleCloudDialogflowCxV3Page
Source§fn default() -> GoogleCloudDialogflowCxV3Page
fn default() -> GoogleCloudDialogflowCxV3Page
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3Page
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3Page
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowCxV3Page
impl ResponseResult for GoogleCloudDialogflowCxV3Page
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3Page
impl RefUnwindSafe for GoogleCloudDialogflowCxV3Page
impl Send for GoogleCloudDialogflowCxV3Page
impl Sync for GoogleCloudDialogflowCxV3Page
impl Unpin for GoogleCloudDialogflowCxV3Page
impl UnwindSafe for GoogleCloudDialogflowCxV3Page
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more