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

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.StepSpec.max_step_count][] 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

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