public sealed class DeleteContextRequest : IMessage<DeleteContextRequest>, IEquatable<DeleteContextRequest>, IDeepCloneable<DeleteContextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class DeleteContextRequest.
Request message for
[MetadataService.DeleteContext][google.cloud.aiplatform.v1beta1.MetadataService.DeleteContext].
Optional. The etag of the Context to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
Required. The resource name of the Context to delete.
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\u003eThe \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class is used to send a request to delete a Context in the Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing functionalities for message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteContextRequest\u003c/code\u003e includes properties such as \u003ccode\u003eContextName\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eForce\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e, which are used to specify the context to be deleted, its etag for version control, force deletion options, and the resource name, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is required and it specifies the resource name of the context to be deleted with a specific format: \u003ccode\u003eprojects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eForce\u003c/code\u003e property is currently undefined, so users are recommended to not use this field.\u003c/p\u003e\n"]]],[],null,[]]