Discovery Engine v1 API - Class SessionConfig.Types.SessionTtl (1.17.0)

public sealed class SessionConfig.Types.SessionTtl : IMessage<SessionConfig.Types.SessionTtl>, IEquatable<SessionConfig.Types.SessionTtl>, IDeepCloneable<SessionConfig.Types.SessionTtl>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class SessionConfig.Types.SessionTtl.

Defines the TTL for sessions.

Inheritance

object > SessionConfig.Types.SessionTtl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

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