Flow class
Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.
Constructors
Properties
-
advancedSettings
↔ Output<
GoogleCloudDialogflowCxV3AdvancedSettingsResponse> -
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
latefinal
-
agentId
↔ Output<
String> -
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
description
↔ Output<
String> -
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
latefinal
-
displayName
↔ Output<
String> -
The human-readable name of the flow.
latefinal
-
eventHandlers
↔ Output<
List< Map< >String, dynamic> > -
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.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
knowledgeConnectorSettings
↔ Output<
GoogleCloudDialogflowCxV3KnowledgeConnectorSettingsResponse> -
Optional. Knowledge connector configuration.
latefinal
-
languageCode
↔ Output<
String?> -
The language of the following fields in
flow: *Flow.event_handlers.trigger_fulfillment.messages*Flow.event_handlers.trigger_fulfillment.conditional_cases*Flow.transition_routes.trigger_fulfillment.messages*Flow.transition_routes.trigger_fulfillment.conditional_casesIf 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.latefinal -
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
String> -
The unique identifier of the flow. Format:
projects//locations//agents//flows/.latefinal -
nluSettings
↔ Output<
GoogleCloudDialogflowCxV3NluSettingsResponse> -
NLU related settings of the flow.
latefinal
-
project
↔ Output<
String> -
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
transitionRouteGroups
↔ Output<
List< String> > -
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/orprojects//locations//agents//transitionRouteGroups/for agent-level groups.latefinal -
transitionRoutes
↔ Output<
List< Map< >String, dynamic> > -
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.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited