# Discovery Engine v1beta API - Class Engine.Types.ChatEngineConfig (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    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.

Configurations for a Chat Engine.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Engine.Types.ChatEngineConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Engine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types)[ChatEngineConfig](https://docs.cloud.google.com/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types)[ChatEngineConfig](https://docs.cloud.google.com/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types)[ChatEngineConfig](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### ChatEngineConfig()

    public ChatEngineConfig()

### ChatEngineConfig(ChatEngineConfig)

    public ChatEngineConfig(Engine.Types.ChatEngineConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Enginehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig` |

## Properties

### AgentCreationConfig

    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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Enginehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig` |   |

### DialogflowAgentToLink

    public string DialogflowAgentToLink { get; set; }

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.

Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>`.

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |