public sealed class GetContextRequest : IMessage<GetContextRequest>, IEquatable<GetContextRequest>, IDeepCloneable<GetContextRequest>, IBufferMessage, IMessage
The request message for [Contexts.GetContext][google.cloud.dialogflow.v2.Contexts.GetContext].
Required. The name of the context. Format:
projects/{Project ID}/agent/sessions/{Session ID}/contexts/{Context ID}
or projects/{Project ID}/agent/environments/{Environment ID}/users/{User
ID>/sessions/<Session ID>/contexts/<Context ID>.
If Environment ID is not specified, we assume default 'draft'
environment. If User ID is not specified, we assume default '-' user.
[[["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 webpage provides documentation for the \u003ccode\u003eGetContextRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, used in the Dialogflow API for managing contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetContextRequest\u003c/code\u003e class is used to request a specific context from a Dialogflow session and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGetContextRequest\u003c/code\u003e documentation is version 4.26.0, and the page lists numerous versions dating back to version 3.2.0, each with a link to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eGetContextRequest()\u003c/code\u003e and \u003ccode\u003eGetContextRequest(GetContextRequest other)\u003c/code\u003e, and includes properties like \u003ccode\u003eContextName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e for specifying the context being requested.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the inherited members of \u003ccode\u003eGetContextRequest\u003c/code\u003e, such as \u003ccode\u003eObject.GetHashCode()\u003c/code\u003e, \u003ccode\u003eObject.GetType()\u003c/code\u003e, \u003ccode\u003eObject.MemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eObject.ToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]