public sealed class SessionConfig.Types.SessionTtl : IMessage<SessionConfig.Types.SessionTtl>, IEquatable<SessionConfig.Types.SessionTtl>, IDeepCloneable<SessionConfig.Types.SessionTtl>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class SessionConfig.Types.SessionTtl.
Defines the TTL for sessions.
Implements
IMessageSessionConfigTypesSessionTtl, IEquatableSessionConfigTypesSessionTtl, IDeepCloneableSessionConfigTypesSessionTtl, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
SessionTtl()
public SessionTtl()SessionTtl(SessionTtl)
public SessionTtl(SessionConfig.Types.SessionTtl other)| Parameter | |
|---|---|
| Name | Description |
other |
SessionConfigTypesSessionTtl |
Properties
Days
public int Days { get; set; }Defines the number of days for session TTL.
| Property Value | |
|---|---|
| Type | Description |
int |
|
HasDays
public bool HasDays { get; }Gets whether the "days" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
TimeInfoCase
public SessionConfig.Types.SessionTtl.TimeInfoOneofCase TimeInfoCase { get; }| Property Value | |
|---|---|
| Type | Description |
SessionConfigTypesSessionTtlTimeInfoOneofCase |
|