Class: Google::Cloud::DiscoveryEngine::V1::SearchResponse::SessionInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/search_service.rb

Overview

Information about the session.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns 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.



1327
1328
1329
1330
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1327

class SessionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_id::String

Returns 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.



1327
1328
1329
1330
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1327

class SessionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end