Discovery Engine v1 API - Class SearchResponse.Types.SessionInfo (1.5.0)

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 v1 API class SearchResponse.Types.SessionInfo.

Information about the session.

Inheritance

object > SearchResponse.Types.SessionInfo

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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.v1.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