public sealed class SessionServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class SessionServiceSettings.
Settings for SessionServiceClient instances.
Namespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
SessionServiceSettings()
public SessionServiceSettings()Constructs a new SessionServiceSettings object with default settings.
Properties
BidiRunSessionSettings
public CallSettings BidiRunSessionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
SessionServiceClient.BidiRunSession and SessionServiceClient.BidiRunSessionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
Timeout: 3600 seconds.
BidiRunSessionStreamingSettings
public BidirectionalStreamingSettings BidiRunSessionStreamingSettings { get; set; }BidirectionalStreamingSettings for calls to SessionServiceClient.BidiRunSession
and SessionServiceClient.BidiRunSessionAsync.
| Property Value | |
|---|---|
| Type | Description |
BidirectionalStreamingSettings |
|
The default local send queue size is 100.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }The settings to use for the LocationsClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
LocationsSettings |
|
RunSessionSettings
public CallSettings RunSessionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
SessionServiceClient.RunSession and SessionServiceClient.RunSessionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
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 object. |
GetDefault()
public static SessionServiceSettings GetDefault()Get a new instance of the default SessionServiceSettings.
| Returns | |
|---|---|
| Type | Description |
SessionServiceSettings |
A new instance of the default SessionServiceSettings. |