Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SessionInfo.
Information about the session.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
- (::String) — Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name.
#name=
def name=(value) -> ::String
- value (::String) — Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name.
- (::String) — Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name.
#query_id
def query_id() -> ::String
-
(::String) — Query ID that corresponds to this search API call.
One session can have multiple turns, each with a unique query ID.
By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.
#query_id=
def query_id=(value) -> ::String
-
value (::String) — Query ID that corresponds to this search API call.
One session can have multiple turns, each with a unique query ID.
By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.
-
(::String) — Query ID that corresponds to this search API call.
One session can have multiple turns, each with a unique query ID.
By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.