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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSession.Types.Turn\u003c/code\u003e represents a single turn in a conversation, encapsulating both the user's query and the service's response, as well as implementing various interfaces for message handling, including IMessage and IEquatable.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating new \u003ccode\u003eTurn\u003c/code\u003e instances and properties like \u003ccode\u003eAnswer\u003c/code\u003e, \u003ccode\u003eAnswerAsAnswerName\u003c/code\u003e, and \u003ccode\u003eQuery\u003c/code\u003e, detailing the server's answer and the user's question.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the API is 1.6.0, with the document covering the 1.3.0 version that is listed alongside previous versions going back as far as version 1.0.0-beta06.\u003c/p\u003e\n"]]],[],null,[]]