Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SessionInfo (v1.4.0)

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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.