# Google Bigtable v2 API - Class SessionClientConfiguration.Types.SessionPoolConfiguration (3.29.0)

3.29.0 (latest) 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

    public sealed class SessionClientConfiguration.Types.SessionPoolConfiguration : IMessage<SessionClientConfiguration.Types.SessionPoolConfiguration>, IEquatable<SessionClientConfiguration.Types.SessionPoolConfiguration>, IDeepCloneable<SessionClientConfiguration.Types.SessionPoolConfiguration>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Bigtable v2 API class SessionClientConfiguration.Types.SessionPoolConfiguration.

Configuration for the session pools. Session pools are tied to a scope
like a table, an app profile, and a permission.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SessionClientConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types)[SessionPoolConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types.SessionPoolConfiguration), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SessionClientConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types)[SessionPoolConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types.SessionPoolConfiguration), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SessionClientConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types)[SessionPoolConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types.SessionPoolConfiguration), [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.Bigtable.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)

## Assembly

Google.Cloud.Bigtable.V2.dll

## Constructors

### SessionPoolConfiguration()

    public SessionPoolConfiguration()

### SessionPoolConfiguration(SessionPoolConfiguration)

    public SessionPoolConfiguration(SessionClientConfiguration.Types.SessionPoolConfiguration other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfigurationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.SessionClientConfiguration.Types.SessionPoolConfiguration` |

## Properties

### ConsecutiveSessionFailureThreshold

    public int ConsecutiveSessionFailureThreshold { get; set; }

A threshold for cancelling all pending vRPCs based on how many
consecutive session establishment errors have been observed. The client
will eagerly cancel queued vRPCs after this threshold is met to avoid
them waiting their entire deadlines before terminating (while waiting for
any session to establish to actually send the vRPC).

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

### Headroom

    public float Headroom { get; set; }

Fraction of idle sessions to keep in order to manage an increase in
requests-in-flight. For example, a headroom of 0.5 will keep enough
sessions to deal with a 50% increase in QPS.

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

### LoadBalancingOptions

    public LoadBalancingOptions LoadBalancingOptions { get; set; }

How to balance vRPC load over connections to AFEs.
Set only if session_load \> 0.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.LoadBalancingOptions` |   |

### MaxSessionCount

    public int MaxSessionCount { get; set; }

The maximum number of sessions for a given scope.

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

### MinSessionCount

    public int MinSessionCount { get; set; }

The minimum number of sessions for a given scope.

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

### NewSessionCreationBudget

    public int NewSessionCreationBudget { get; set; }

How many concurrent session establishments are allowed. The client will
hold onto a count against this budget whenever it is establishing a new
session, and release that count once the session is successfully
established or failed to establish.

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

### NewSessionCreationPenalty

    public Duration NewSessionCreationPenalty { get; set; }

How long to penalize the creation budget for a failed session creation
attempt.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Duration.html` |   |

### NewSessionQueueLength

    public int NewSessionQueueLength { get; set; }

Number of vRPCs that can be queued per starting session.

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