public sealed class GetContextRequest : IMessage<GetContextRequest>, IEquatable<GetContextRequest>, IDeepCloneable<GetContextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class GetContextRequest.
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 page provides documentation for the \u003ccode\u003eGetContextRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API for .NET, detailing its purpose as a request message for retrieving context information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetContextRequest\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists numerous versions of the Google Cloud Dialogflow v2 API, ranging from version 3.2.0 to the latest version 4.26.0, where each version has its own associated \u003ccode\u003eGetContextRequest\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eContextName\u003c/code\u003e (typed as \u003ccode\u003eContextName\u003c/code\u003e) and \u003ccode\u003eName\u003c/code\u003e (typed as \u003ccode\u003estring\u003c/code\u003e), with \u003ccode\u003eName\u003c/code\u003e being a required field specifying the context's resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the constructors for \u003ccode\u003eGetContextRequest\u003c/code\u003e, specifically a parameterless constructor and one that takes another \u003ccode\u003eGetContextRequest\u003c/code\u003e as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,[]]