ChatEngineChatEngineConfig class

Constructors

ChatEngineChatEngineConfig({Input<ChatEngineChatEngineConfigAgentCreationConfig?>? agentCreationConfig, Input<bool?>? allowCrossRegion, Input<String?>? dialogflowAgentToLink})
Creates a new ChatEngineChatEngineConfig. agentCreationConfig The configuration to generate the Dialogflow agent that is associated to this Engine. allowCrossRegion If the flag set to true, we allow the agent and engine are in dialogflowAgentToLink The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: projects/&lt;Project_ID&gt;/locations/&lt;Location_ID&gt;/agents/&lt;Agent_ID&gt;.
const
ChatEngineChatEngineConfig.fromMap(Map<String, dynamic> map)
factory

Properties

agentCreationConfig → Input<ChatEngineChatEngineConfigAgentCreationConfig?>?
The configuration to generate the Dialogflow agent that is associated to this Engine. Exactly one of agentCreationConfig or dialogflowAgentToLink must be set. Structure is documented below.
final
allowCrossRegion → Input<bool?>?
If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the allowCrossRegion are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
final
The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: projects/&lt;Project_ID&gt;/locations/&lt;Location_ID&gt;/agents/&lt;Agent_ID&gt;. Exactly one of agentCreationConfig or dialogflowAgentToLink must be set.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited