1.1.0 (latest) 1.0.0

    public sealed class SessionServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class SessionServiceSettings.

Settings for [SessionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.SessionServiceClient.md.txt) instances.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ServiceSettingsBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html) \> SessionServiceSettings

## Inherited Members

[ServiceSettingsBase.VersionHeaderBuilder](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) [ServiceSettingsBase.CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) [ServiceSettingsBase.Clock](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) [ServiceSettingsBase.Scheduler](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) [ServiceSettingsBase.Interceptor](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) [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.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### SessionServiceSettings()

    public SessionServiceSettings()

Constructs a new [SessionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.SessionServiceSettings.md.txt) object with default settings.

## Properties

### BidiRunSessionSettings

    public CallSettings BidiRunSessionSettings { get; set; }

[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to
`SessionServiceClient.BidiRunSession` and `SessionServiceClient.BidiRunSessionAsync`.

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

**Remarks** Timeout: 3600 seconds.

### BidiRunSessionStreamingSettings

    public BidirectionalStreamingSettings BidiRunSessionStreamingSettings { get; set; }

[BidirectionalStreamingSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html) for calls to `SessionServiceClient.BidiRunSession`
and `SessionServiceClient.BidiRunSessionAsync`.

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

**Remarks** The default local send queue size is 100.

### LocationsSettings

    public LocationsSettings LocationsSettings { get; set; }

The settings to use for the [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) associated with the client.

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

### RunSessionSettings

    public CallSettings RunSessionSettings { get; set; }

[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to
`SessionServiceClient.RunSession` and `SessionServiceClient.RunSessionAsync`.

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

**Remarks**
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- No status codes are retried.
- Timeout: 220 seconds.

### StreamRunSessionSettings

    public CallSettings StreamRunSessionSettings { get; set; }

[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to
`SessionServiceClient.StreamRunSession` and `SessionServiceClient.StreamRunSessionAsync`.

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

**Remarks** Timeout: 60 seconds.

## Methods

### Clone()

    public SessionServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `SessionServiceSettings` | A deep clone of this [SessionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.SessionServiceSettings.md.txt) object. |

### GetDefault()

    public static SessionServiceSettings GetDefault()

Get a new instance of the default [SessionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.SessionServiceSettings.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `SessionServiceSettings` | A new instance of the default [SessionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.SessionServiceSettings.md.txt). |