public sealed class DeleteAllContextsRequest : IMessage<DeleteAllContextsRequest>, IEquatable<DeleteAllContextsRequest>, IDeepCloneable<DeleteAllContextsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class DeleteAllContextsRequest.
The request message for
[Contexts.DeleteAllContexts][google.cloud.dialogflow.v2.Contexts.DeleteAllContexts].
Required. The name of the session to delete all contexts from. Format:
projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project
ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
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 webpage provides reference documentation for the \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class is used to send a request to delete all contexts from a specified session in Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes a list of available versions for this class ranging from 3.2.0 to the latest 4.26.0, which the user can access if needed.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt has two properties, \u003ccode\u003eParent\u003c/code\u003e and \u003ccode\u003eParentAsSessionName\u003c/code\u003e, which are used to define the session from which to delete all contexts, and to provide a session-typed view of the parent, respectively.\u003c/p\u003e\n"]]],[],null,[]]