AgentRemoteDialogflowAgent class
Constructors
-
AgentRemoteDialogflowAgent({required Input<String> agent, Input<String?>? environmentId, required Input<String> flowId, Input<Map<String, String>?>? inputVariableMapping, Input<Map<String, String>?>? outputVariableMapping, Input<bool?>? respectResponseInterruptionSettings})
-
Creates a new AgentRemoteDialogflowAgent.
agent The
environmentId The environment ID of the Dialogflow agent be used for the agent
flowId The flow ID of the flow in the Dialogflow agent.
inputVariableMapping The mapping of the app variables names to the Dialogflow session
outputVariableMapping The mapping of the Dialogflow session parameters names to the app
respectResponseInterruptionSettings Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent. * If false: all response messages from the Dialogflow agent follow the app-level barge-in settings. * If true: only response messages with allowPlaybackInterruption set to true will be interruptable, all other messages follow the app-level barge-in settings.
const
-
AgentRemoteDialogflowAgent.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
agent
→ Input<String>
-
The
Dialogflow(https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents
agent resource name.
Format: projects/{project}/locations/{location}/agents/{agent}
final
-
environmentId
→ Input<String?>?
-
The environment ID of the Dialogflow agent be used for the agent
execution. If not specified, the draft environment will be used.
final
-
flowId
→ Input<String>
-
The flow ID of the flow in the Dialogflow agent.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
inputVariableMapping
→ Input<Map<String, String>?>?
-
The mapping of the app variables names to the Dialogflow session
parameters names to be sent to the Dialogflow agent as input.
final
-
outputVariableMapping
→ Input<Map<String, String>?>?
-
The mapping of the Dialogflow session parameters names to the app
variables names to be sent back to the CES agent after the Dialogflow
agent execution ends.
final
-
respectResponseInterruptionSettings
→ Input<bool?>?
-
Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent. * If false: all response messages from the Dialogflow agent follow the app-level barge-in settings. * If true: only response messages with
allowPlaybackInterruption set to true will be interruptable, all other messages follow the app-level barge-in settings.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited