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

1.0.0-beta23 (latest) 1.0.0-beta22

    public sealed class Engine.Types.ChatEngineConfig.Types.AgentCreationConfig : IMessage<Engine.Types.ChatEngineConfig.Types.AgentCreationConfig>, IEquatable<Engine.Types.ChatEngineConfig.Types.AgentCreationConfig>, IDeepCloneable<Engine.Types.ChatEngineConfig.Types.AgentCreationConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Engine.Types.ChatEngineConfig.Types.AgentCreationConfig.

Configurations for generating a Dialogflow agent.

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.

## Inheritance

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

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

### AgentCreationConfig()

    public AgentCreationConfig()

### AgentCreationConfig(AgentCreationConfig)

    public AgentCreationConfig(Engine.Types.ChatEngineConfig.Types.AgentCreationConfig 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.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` |

## Properties

### Business

    public string Business { get; set; }

Name of the company, organization or other entity that the agent
represents. Used for knowledge connector LLM prompt and for knowledge
search.

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

### DefaultLanguageCode

    public string DefaultLanguageCode { get; set; }

Required. The default language of the agent as a language tag.
See [Language
Support](https://cloud.google.com/dialogflow/docs/reference/language)
for a list of the currently supported language codes.

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

### Location

    public string Location { get; set; }

Agent location for Agent creation, supported values: global/us/eu.
If not provided, us Engine will create Agent using us-central-1 by
default; eu Engine will create Agent using eu-west-1 by default.

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

### TimeZone

    public string TimeZone { get; set; }

Required. The time zone of the agent from the [time zone
database](https://www.iana.org/time-zones), e.g., America/New_York,
Europe/Paris.

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