1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Instance.Types.ConnectionPoolConfig : IMessage<Instance.Types.ConnectionPoolConfig>, IEquatable<Instance.Types.ConnectionPoolConfig>, IDeepCloneable<Instance.Types.ConnectionPoolConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1 API class Instance.Types.ConnectionPoolConfig.

Configuration for Managed Connection Pool (MCP).

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[ConnectionPoolConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ConnectionPoolConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[ConnectionPoolConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ConnectionPoolConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[ConnectionPoolConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.ConnectionPoolConfig.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.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.md.txt)

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### ConnectionPoolConfig()

    public ConnectionPoolConfig()

### ConnectionPoolConfig(ConnectionPoolConfig)

    public ConnectionPoolConfig(Instance.Types.ConnectionPoolConfig other)

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

## Properties

### Enabled

    public bool Enabled { get; set; }

Optional. Whether to enable Managed Connection Pool (MCP).

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

### Flags

    public MapField<string, string> Flags { get; }

Optional. Connection Pool flags, as a list of "key": "value" pairs.

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

### PoolerCount

    public int PoolerCount { get; set; }

Output only. The number of running poolers per instance.

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