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.
Information about the session.
Implements
IMessageSearchResponseTypesSessionInfo, IEquatableSearchResponseTypesSessionInfo, IDeepCloneableSearchResponseTypesSessionInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
SessionInfo()
public SessionInfo()
SessionInfo(SessionInfo)
public SessionInfo(SearchResponse.Types.SessionInfo other)
Parameter | |
---|---|
Name | Description |
other |
SearchResponseTypesSessionInfo |
Properties
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
QueryId
public string QueryId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |