public sealed class SessionServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Discovery Engine v1beta API class SessionServiceSettings.
Settings for SessionServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
SessionServiceSettings()
public SessionServiceSettings()
Constructs a new SessionServiceSettings object with default settings.
Properties
CreateSessionSettings
public CallSettings CreateSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionServiceClient.CreateSession
and SessionServiceClient.CreateSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
DeleteSessionSettings
public CallSettings DeleteSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionServiceClient.DeleteSession
and SessionServiceClient.DeleteSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
GetSessionSettings
public CallSettings GetSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionServiceClient.GetSession
and SessionServiceClient.GetSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListSessionsSettings
public CallSettings ListSessionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionServiceClient.ListSessions
and SessionServiceClient.ListSessionsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }
The settings to use for the LocationsClient associated with the client.
Property Value | |
---|---|
Type | Description |
LocationsSettings |
UpdateSessionSettings
public CallSettings UpdateSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SessionServiceClient.UpdateSession
and SessionServiceClient.UpdateSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 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. |