public sealed class ConversationContext : IMessage<ConversationContext>, IEquatable<ConversationContext>, IDeepCloneable<ConversationContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class ConversationContext.
[[["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 \u003ccode\u003eConversationContext\u003c/code\u003e class, part of the Google Cloud Discovery Engine v1 API, defines the context of a conversation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eConversationContext\u003c/code\u003e class is 1.6.0, with previous versions ranging from 1.0.0-beta06 to 1.5.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConversationContext\u003c/code\u003e class includes properties for managing the current user's view, such as \u003ccode\u003eActiveDocument\u003c/code\u003e, which stores the currently active document, and \u003ccode\u003eContextDocuments\u003c/code\u003e, which holds a list of visible document resource references.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConversationContext\u003c/code\u003e class has two constructors: a default one and one that takes another \u003ccode\u003eConversationContext\u003c/code\u003e instance as a parameter, enabling object copying.\u003c/p\u003e\n"]]],[],null,[]]