Discovery Engine v1beta API - Class AnswerQueryResponse (1.0.0-beta18)

public sealed class AnswerQueryResponse : IMessage<AnswerQueryResponse>, IEquatable<AnswerQueryResponse>, IDeepCloneable<AnswerQueryResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class AnswerQueryResponse.

Response message for [ConversationalSearchService.AnswerQuery][google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery] method.

Inheritance

object > AnswerQueryResponse

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

AnswerQueryResponse()

public AnswerQueryResponse()

AnswerQueryResponse(AnswerQueryResponse)

public AnswerQueryResponse(AnswerQueryResponse other)
Parameter
Name Description
other AnswerQueryResponse

Properties

Answer

public Answer Answer { get; set; }

Answer resource object. If [AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps][google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps] is greater than 1, use [Answer.name][google.cloud.discoveryengine.v1beta.Answer.name] to fetch answer information using [ConversationalSearchService.GetAnswer][google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer] API.

Property Value
Type Description
Answer

AnswerQueryToken

public string AnswerQueryToken { get; set; }

A global unique ID used for logging.

Property Value
Type Description
string

Session

public Session Session { get; set; }

Session resource object. It will be only available when session field is set and valid in the [AnswerQueryRequest][google.cloud.discoveryengine.v1beta.AnswerQueryRequest] request.

Property Value
Type Description
Session