public sealed class AnswerQueryResponse : IMessage<AnswerQueryResponse>, IEquatable<AnswerQueryResponse>, IDeepCloneable<AnswerQueryResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class AnswerQueryResponse.
Response message for
[ConversationalSearchService.AnswerQuery][google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery]
method.
Answer resource object.
If [AnswerQueryRequest.StepSpec.max_step_count][] is greater than 1,
use [Answer.name][google.cloud.discoveryengine.v1.Answer.name] to fetch
answer information using
[ConversationalSearchService.GetAnswer][google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer]
API.
Session resource object.
It will be only available when session field is set and valid in the
[AnswerQueryRequest][google.cloud.discoveryengine.v1.AnswerQueryRequest]
request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `AnswerQueryResponse` class within the Google Cloud Discovery Engine v1 API, specifically version 1.2.0, which is part of the .NET library."],["The `AnswerQueryResponse` class is a response message for the `ConversationalSearchService.AnswerQuery` method, used to retrieve information related to conversational search."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, comparison, deep cloning, and buffering."],["Key properties of the `AnswerQueryResponse` class include `Answer`, which contains the answer resource object, `AnswerQueryToken` for logging, and `Session`, which provides the session resource object when applicable."],["There are two constructors available for the `AnswerQueryResponse` class, a parameterless constructor and one that accepts another instance of the `AnswerQueryResponse` class."]]],[]]