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 page provides documentation for the \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class within the Discovery Engine v1 API, specifically version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class represents a single turn in a conversation, encompassing both a user's query and the service's response.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing it is part of a message-based communication system.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eAnswer\u003c/code\u003e and \u003ccode\u003eQuery\u003c/code\u003e, which store the response from the service and the query from the user, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe current latest version of this API documentation available is 1.6.0, with multiple other versions (from 1.0.0-beta06 to 1.5.0) also being accessible.\u003c/p\u003e\n"]]],[],null,[]]