public sealed class Engine.Types.ChatEngineConfig : IMessage<Engine.Types.ChatEngineConfig>, IEquatable<Engine.Types.ChatEngineConfig>, IDeepCloneable<Engine.Types.ChatEngineConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class Engine.Types.ChatEngineConfig.
public Engine.Types.ChatEngineConfig.Types.AgentCreationConfig AgentCreationConfig { get; set; }
The 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 using
[EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines]
API after engine creation.
The resource name of an exist Dialogflow agent to link to this Chat
Engine. Customers can either provide agent_creation_config to create
agent or provide an agent name that links the agent with the Chat engine.
Note that the dialogflow_agent_to_link are one-time consumed by and
passed to Dialogflow service. It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines]
API after engine creation. Use
[ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent]
for actual agent association after Engine is created.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eEngine.Types.ChatEngineConfig\u003c/code\u003e class, a part of the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChatEngineConfig\u003c/code\u003e class is used for configuring a Chat Engine, and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: a default constructor and another that accepts an existing \u003ccode\u003eChatEngineConfig\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eAgentCreationConfig\u003c/code\u003e, which configures the associated Dialogflow agent, and \u003ccode\u003eDialogflowAgentToLink\u003c/code\u003e, which allows linking an existing Dialogflow agent to the Chat Engine.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChatEngineConfig\u003c/code\u003e is available in the latest version 1.0.0-beta18, and is also available in the prior version 1.0.0-beta17.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Engine.Types.ChatEngineConfig (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig) \n\n public sealed class Engine.Types.ChatEngineConfig : IMessage\u003cEngine.Types.ChatEngineConfig\u003e, IEquatable\u003cEngine.Types.ChatEngineConfig\u003e, IDeepCloneable\u003cEngine.Types.ChatEngineConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class Engine.Types.ChatEngineConfig.\n\nConfigurations for a Chat Engine. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Engine.Types.ChatEngineConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Engine](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types)[ChatEngineConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Engine](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types)[ChatEngineConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Engine](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types)[ChatEngineConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### ChatEngineConfig()\n\n public ChatEngineConfig()\n\n### ChatEngineConfig(ChatEngineConfig)\n\n public ChatEngineConfig(Engine.Types.ChatEngineConfig other)\n\nProperties\n----------\n\n### AgentCreationConfig\n\n public Engine.Types.ChatEngineConfig.Types.AgentCreationConfig AgentCreationConfig { get; set; }\n\nThe configurationt generate the Dialogflow agent that is associated to\nthis Engine.\n\nNote that these configurations are one-time consumed by\nand passed to Dialogflow service. It means they cannot be retrieved using\n\\[EngineService.GetEngine\\]\\[google.cloud.discoveryengine.v1beta.EngineService.GetEngine\\]\nor\n\\[EngineService.ListEngines\\]\\[google.cloud.discoveryengine.v1beta.EngineService.ListEngines\\]\nAPI after engine creation.\n\n### DialogflowAgentToLink\n\n public string DialogflowAgentToLink { get; set; }\n\nThe resource name of an exist Dialogflow agent to link to this Chat\nEngine. Customers can either provide `agent_creation_config` to create\nagent or provide an agent name that links the agent with the Chat engine.\n\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/agents/\u003cAgent\nID\u003e`.\n\nNote that the `dialogflow_agent_to_link` are one-time consumed by and\npassed to Dialogflow service. It means they cannot be retrieved using\n\\[EngineService.GetEngine\\]\\[google.cloud.discoveryengine.v1beta.EngineService.GetEngine\\]\nor\n\\[EngineService.ListEngines\\]\\[google.cloud.discoveryengine.v1beta.EngineService.ListEngines\\]\nAPI after engine creation. Use\n\\[ChatEngineMetadata.dialogflow_agent\\]\\[google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent\\]\nfor actual agent association after Engine is created."]]