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 provides documentation for the \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, used to delete a context in Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class is part of version 3.7.0 of the Dialogflow V2 library, and there are multiple previous versions available to view, with the newest being version 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteContextRequest\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteContextRequest\u003c/code\u003e class has two constructors: a default constructor and one that accepts another \u003ccode\u003eDeleteContextRequest\u003c/code\u003e object as a parameter, and includes two properties, ContextName, and Name, for specifying the context to delete.\u003c/p\u003e\n"],["\u003cp\u003eThe request message in this documentation is for the \u003ccode\u003eContexts.DeleteContext\u003c/code\u003e in the google cloud dialogflow.\u003c/p\u003e\n"]]],[],null,[]]