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.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSession.Types.Turn\u003c/code\u003e represents a single turn in a conversation, encompassing a user's query and the service's corresponding answer.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and object management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class includes properties such as \u003ccode\u003eAnswer\u003c/code\u003e, \u003ccode\u003eAnswerAsAnswerName\u003c/code\u003e, and \u003ccode\u003eQuery\u003c/code\u003e, which represent the answer to the user query, a typed representation of the answer resource name, and the user's query, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists previous versions of the \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class which include 1.5.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06, with the latest version being 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]