ChatEngineChatEngineConfig

data class ChatEngineChatEngineConfig(val agentCreationConfig: ChatEngineChatEngineConfigAgentCreationConfig? = null, val allowCrossRegion: Boolean? = null, val dialogflowAgentToLink: String? = null)

Constructors

Link copied to clipboard
constructor(agentCreationConfig: ChatEngineChatEngineConfigAgentCreationConfig? = null, allowCrossRegion: Boolean? = null, dialogflowAgentToLink: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The configuration to generate the Dialogflow agent that is associated to this Engine. Exactly one of agent_creation_config or dialogflow_agent_to_link must be set. Structure is documented below.

Link copied to clipboard

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 allow_cross_region 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.

Link copied to clipboard

The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>. Exactly one of agent_creation_config or dialogflow_agent_to_link must be set.