public sealed class DeleteContextRequest : IMessage<DeleteContextRequest>, IEquatable<DeleteContextRequest>, IDeepCloneable<DeleteContextRequest>, IBufferMessage, IMessage
The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2.Contexts.DeleteContext].
Required. The name of the context to delete. 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 details the \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class, which is used to request the deletion of a context within Google Cloud Dialogflow V2.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Dialogflow V2 API for .NET documented here is 4.26.0, with previous versions down to 3.2.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class 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\u003eThe class has two constructors: a default one and another that takes a \u003ccode\u003eDeleteContextRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class includes two properties, \u003ccode\u003eContextName\u003c/code\u003e (a typed view) and \u003ccode\u003eName\u003c/code\u003e (a string), which specify the context to be deleted, detailing the required format for the name to be submitted.\u003c/p\u003e\n"]]],[],null,[]]