public sealed class SearchResponse.Types.SessionInfo : IMessage<SearchResponse.Types.SessionInfo>, IEquatable<SearchResponse.Types.SessionInfo>, IDeepCloneable<SearchResponse.Types.SessionInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.SessionInfo.
Name of the session.
If the auto-session mode is used (when
[SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session]
ends with "-"), this field holds the newly generated session name.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation details the `SearchResponse.Types.SessionInfo` class within the Discovery Engine v1beta API, providing information about a user session."],["The `SessionInfo` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, showing its role in handling messages, equality checks, deep cloning, and buffered operations."],["The class provides two constructors: a default one (`SessionInfo()`) and one that copies data from another `SessionInfo` instance (`SessionInfo(SearchResponse.Types.SessionInfo other)`)."],["The `Name` property holds the session's name, especially when using auto-session mode, and is a string value."],["The `QueryId` property, which is a string, uniquely identifies each query within a session, allowing for contextual answer generation in subsequent Answer API calls."]]],[]]