Class: Google::Cloud::DiscoveryEngine::V1::AnswerQueryResponse

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

Overview

Response message for ConversationalSearchService.AnswerQuery method.

Instance Attribute Summary collapse

Instance Attribute Details

#answer::Google::Cloud::DiscoveryEngine::V1::Answer

Returns Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.



685
686
687
688
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 685

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

#answer_query_token::String

Returns A global unique ID used for logging.

Returns:

  • (::String)

    A global unique ID used for logging.



685
686
687
688
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 685

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

#session::Google::Cloud::DiscoveryEngine::V1::Session

Returns Session resource object. It will be only available when session field is set and valid in the AnswerQueryRequest request.

Returns:



685
686
687
688
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 685

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