Class GoogleCloudDialogflowCxV3Flow
Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowCxV3Flow : IDirectResponseSchema
Properties
AdvancedSettings
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
Declaration
[JsonProperty("advancedSettings")]
public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3AdvancedSettings |
Description
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. The human-readable name of the flow.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EventHandlers
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's event handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transition_routes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
Declaration
[JsonProperty("eventHandlers")]
public virtual IList<GoogleCloudDialogflowCxV3EventHandler> EventHandlers { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3EventHandler> |
KnowledgeConnectorSettings
Optional. Knowledge connector configuration.
Declaration
[JsonProperty("knowledgeConnectorSettings")]
public virtual GoogleCloudDialogflowCxV3KnowledgeConnectorSettings KnowledgeConnectorSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3KnowledgeConnectorSettings |
Locked
Indicates whether the flow is locked for changes. If the flow is locked, modifications to the flow will be rejected.
Declaration
[JsonProperty("locked")]
public virtual bool? Locked { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MultiLanguageSettings
Optional. Multi-lingual agent settings for this flow.
Declaration
[JsonProperty("multiLanguageSettings")]
public virtual GoogleCloudDialogflowCxV3FlowMultiLanguageSettings MultiLanguageSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3FlowMultiLanguageSettings |
Name
The unique identifier of the flow. Format: projects//locations//agents//flows/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NluSettings
NLU related settings of the flow.
Declaration
[JsonProperty("nluSettings")]
public virtual GoogleCloudDialogflowCxV3NluSettings NluSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3NluSettings |
TransitionRouteGroups
A flow's transition route group serve two purposes: * They are responsible for matching the user's first
utterances in the flow. * They are inherited by every page's transition route groups. Transition route
groups defined in the page have higher priority than those defined in the flow. Format:
projects//locations//agents//flows//transitionRouteGroups/
or
projects//locations//agents//transitionRouteGroups/
for agent-level groups.
Declaration
[JsonProperty("transitionRouteGroups")]
public virtual IList<string> TransitionRouteGroups { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
TransitionRoutes
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition routes and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
Declaration
[JsonProperty("transitionRoutes")]
public virtual IList<GoogleCloudDialogflowCxV3TransitionRoute> TransitionRoutes { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3TransitionRoute> |