Google Cloud Discovery Engine V1 Client - Class ChatEngineConfig (1.10.1) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ChatEngineConfig.
Configurations for a Chat Engine.
Generated from protobuf messagegoogle.cloud.discoveryengine.v1.Engine.ChatEngineConfig
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ EngineMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ agent_creation_config | ChatEngineConfig\AgentCreationConfigThe configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved usingEngineService.GetEngine orEngineService.ListEngines API after engine creation. |
↳ dialogflow_agent_to_link | stringThe resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide |
↳ allow_cross_region | boolOptional. 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 |
getAgentCreationConfig
The configurationt generate the Dialogflow agent that is associated tothis Engine.
Note that these configurations are one-time consumed byand passed to Dialogflow service. It means they cannot be retrieved usingEngineService.GetEngineorEngineService.ListEnginesAPI after engine creation.
| Returns | |
|---|---|
| Type | Description |
ChatEngineConfig\AgentCreationConfig|null | |
hasAgentCreationConfig
clearAgentCreationConfig
setAgentCreationConfig
The configurationt generate the Dialogflow agent that is associated tothis Engine.
Note that these configurations are one-time consumed byand passed to Dialogflow service. It means they cannot be retrieved usingEngineService.GetEngineorEngineService.ListEnginesAPI after engine creation.
| Parameter | |
|---|---|
| Name | Description |
var | ChatEngineConfig\AgentCreationConfig |
| Returns | |
|---|---|
| Type | Description |
$this | |
getDialogflowAgentToLink
The resource name of an exist Dialogflow agent to link to this ChatEngine. Customers can either provideagent_creation_config to createagent or provide an agent name that links the agent with the Chat engine.
Format:projects/<Project ID>/locations/<Location ID>/agents/<AgentID>.Note that thedialogflow_agent_to_link are one-time consumed by andpassed to Dialogflow service. It means they cannot be retrieved usingEngineService.GetEngineorEngineService.ListEnginesAPI after engine creation. UseChatEngineMetadata.dialogflow_agentfor actual agent association after Engine is created.
| Returns | |
|---|---|
| Type | Description |
string | |
setDialogflowAgentToLink
The resource name of an exist Dialogflow agent to link to this ChatEngine. Customers can either provideagent_creation_config to createagent or provide an agent name that links the agent with the Chat engine.
Format:projects/<Project ID>/locations/<Location ID>/agents/<AgentID>.Note that thedialogflow_agent_to_link are one-time consumed by andpassed to Dialogflow service. It means they cannot be retrieved usingEngineService.GetEngineorEngineService.ListEnginesAPI after engine creation. UseChatEngineMetadata.dialogflow_agentfor actual agent association after Engine is created.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getAllowCrossRegion
Optional. If the flag set to true, we allow the agent and engine are indifferent locations, otherwise the agent and engine are required to be inthe same location. The flag is set to false by default.
Note that theallow_cross_region are one-time consumed by andpassed toEngineService.CreateEngine.It means they cannot be retrieved usingEngineService.GetEngineorEngineService.ListEnginesAPI after engine creation.
| Returns | |
|---|---|
| Type | Description |
bool | |
setAllowCrossRegion
Optional. If the flag set to true, we allow the agent and engine are indifferent locations, otherwise the agent and engine are required to be inthe same location. The flag is set to false by default.
Note that theallow_cross_region are one-time consumed by andpassed toEngineService.CreateEngine.It means they cannot be retrieved usingEngineService.GetEngineorEngineService.ListEnginesAPI after engine creation.
| Parameter | |
|---|---|
| Name | Description |
var | bool |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.