public sealed class GetContextRequest : IMessage<GetContextRequest>, IEquatable<GetContextRequest>, IDeepCloneable<GetContextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class GetContextRequest.
Request message for
[MetadataService.GetContext][google.cloud.aiplatform.v1beta1.MetadataService.GetContext].
Required. The resource name of the Context to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
[[["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-14 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eGetContextRequest\u003c/code\u003e class, which is part of the Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetContextRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eMetadataService.GetContext\u003c/code\u003e method, designed to retrieve a specific context.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor and one that accepts another \u003ccode\u003eGetContextRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two properties, \u003ccode\u003eContextName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, where \u003ccode\u003eName\u003c/code\u003e is a required string specifying the resource name of the Context to be retrieved.\u003c/p\u003e\n"]]],[],null,[]]