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\u003eThe latest version available for the \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class is 1.6.0, with multiple previous versions also accessible, including 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class, part of the Discovery Engine v1 API, represents a single turn in a conversation, encompassing both the user's query and the service's response.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message handling, equality comparisons, deep cloning, and buffer message capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSession.Types.Turn\u003c/code\u003e class contains properties like \u003ccode\u003eAnswer\u003c/code\u003e, which stores the resource name of the service's response, and \u003ccode\u003eQuery\u003c/code\u003e, which stores the user's input.\u003c/p\u003e\n"],["\u003cp\u003eThe class is within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace and is a part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]