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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSearchResponse.Types.SessionInfo\u003c/code\u003e class provides information about a search session within the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionInfo\u003c/code\u003e class includes properties like \u003ccode\u003eName\u003c/code\u003e, which holds the session's name (auto-generated if in auto-session mode), and \u003ccode\u003eQueryId\u003c/code\u003e, which uniquely identifies a search API call within the session.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for \u003ccode\u003eSessionInfo\u003c/code\u003e: a default constructor and one that creates a new \u003ccode\u003eSessionInfo\u003c/code\u003e based on an existing one.\u003c/p\u003e\n"]]],[],null,[]]