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 documentation covers the `Session.Types.Turn` class within the Google Cloud Discovery Engine v1 API, which represents a single turn of interaction in a session, including the user's query and the service's answer."],["The `Session.Types.Turn` class is available in multiple versions, with the latest being version 1.6.0, which is the latest release, alongside other prior versions like 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06."],["The class inherits from `object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, providing functionality for message handling, equality checks, deep cloning, and buffer management."],["The class contains two key properties: `Query`, which holds the user's query, and `Answer`, which contains the resource name of the service's answer to the query, and also has an `AnswerAsAnswerName` property which is a typed view over the answer."],["The `Session.Types.Turn` class has two constructors: a default one, `Turn()`, and one that takes another `Session.Types.Turn` instance as a parameter, `Turn(Session.Types.Turn other)`."]]],[]]