Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SessionConfig.
Configuration for the session.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#session_management_policy
def session_management_policy() -> ::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionManagementPolicy
Returns
- (::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionManagementPolicy) — Optional. Session management policy that defines who will manage the session.
#session_management_policy=
def session_management_policy=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionManagementPolicy
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionManagementPolicy) — Optional. Session management policy that defines who will manage the session.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionManagementPolicy) — Optional. Session management policy that defines who will manage the session.
#session_ttl
def session_ttl() -> ::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionTtl
Returns
- (::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionTtl) — Optional. The TTL for the session. If unset, the default value is 60 days.
#session_ttl=
def session_ttl=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionTtl
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionTtl) — Optional. The TTL for the session. If unset, the default value is 60 days.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::SessionConfig::SessionTtl) — Optional. The TTL for the session. If unset, the default value is 60 days.