public sealed class Session.Types.Turn : IMessage<Session.Types.Turn>, IEquatable<Session.Types.Turn>, IDeepCloneable<Session.Types.Turn>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class Session.Types.Turn.
Represents a turn, including a query from the user and a
answer from service.
[[["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 information for the `Session.Types.Turn` class within the Discovery Engine v1 API, specifically for version 1.5.0."],["The `Session.Types.Turn` class represents a single turn in a conversation, encompassing a user's query and the service's corresponding answer."],["The latest version of the API documented is 1.6.0, while this page focuses on 1.5.0 and also includes references to older versions, dating back to 1.0.0-beta06."],["The `Session.Types.Turn` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, showcasing its compatibility and functionalities."],["The class has two constructors, a default one and one that takes a `Session.Types.Turn` object as parameter."],["The class contains a `Query` property that holds the users query, and two properties related to the answer, `Answer` and `AnswerAsAnswerName`, the first being a string while the latter represents the answer as a `AnswerName`."]]],[]]