Discovery Engine v1 API - Class SessionConfig (1.17.0)

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

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

Configuration for the session.

Inheritance

object > SessionConfig

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

SessionConfig()

public SessionConfig()

SessionConfig(SessionConfig)

public SessionConfig(SessionConfig other)
Parameter
Name Description
other SessionConfig

Properties

SessionManagementPolicy

public SessionConfig.Types.SessionManagementPolicy SessionManagementPolicy { get; set; }

Optional. Session management policy that defines who will manage the session.

Property Value
Type Description
SessionConfigTypesSessionManagementPolicy

SessionTtl

public SessionConfig.Types.SessionTtl SessionTtl { get; set; }

Optional. The TTL for the session. If unset, the default value is 60 days.

Property Value
Type Description
SessionConfigTypesSessionTtl