2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class DatabaseConfig : IMessage<DatabaseConfig>, IEquatable<DatabaseConfig>, IDeepCloneable<DatabaseConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Composer v1 API class DatabaseConfig.

The configuration of Cloud SQL instance that is used by the Apache Airflow
software.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DatabaseConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.DatabaseConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DatabaseConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.DatabaseConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DatabaseConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.DatabaseConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Orchestration.Airflow.Service.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Orchestration.Airflow.Service.V1/latest/Google.Cloud.Orchestration.Airflow.Service.V1.md.txt)

## Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

## Constructors

### DatabaseConfig()

    public DatabaseConfig()

### DatabaseConfig(DatabaseConfig)

    public DatabaseConfig(DatabaseConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DatabaseConfig` |

## Properties

### MachineType

    public string MachineType { get; set; }

Optional. Cloud SQL machine type used by Airflow database.
It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8
or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
Supported for Cloud Composer environments in versions
composer-1.*.* -airflow-*.*.\*.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Zone

    public string Zone { get; set; }

Optional. The Compute Engine zone where the Airflow database is created. If
zone is provided, it must be in the region selected for the environment. If
zone is not provided, a zone is automatically selected. The zone can only
be set during environment creation. Supported for Cloud Composer
environments in versions composer-2.*.* -airflow-*.*.\*.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |