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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `GetContextRequest` class within the Google.Cloud.Dialogflow.V2 namespace, specifically for version 3.9.0 and its corresponding API versions."],["`GetContextRequest` is a request message used for retrieving context information through the `Contexts.GetContext` method."],["The `GetContextRequest` class inherits from the base `Object` class and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, a default one and one that takes another `GetContextRequest` object as a parameter, for duplication purposes."],["`GetContextRequest` requires a `Name` property, which is a string representing the context's resource name and can be viewed as a `ContextName` object."]]],[]]