public sealed class DeleteAllContextsRequest : IMessage<DeleteAllContextsRequest>, IEquatable<DeleteAllContextsRequest>, IDeepCloneable<DeleteAllContextsRequest>, IBufferMessage, IMessage
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 details the \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, specifically for version 3.3.0, along with links to historical versions up to version 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class is a message type used in the Dialogflow API to request the deletion of all contexts from a given session.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two constructors, a default constructor and one that takes another \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e as a parameter, and properties such as \u003ccode\u003eParent\u003c/code\u003e which is the session name and \u003ccode\u003eParentAsSessionName\u003c/code\u003e which is a \u003ccode\u003eSessionName\u003c/code\u003e typed view over the parent resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe parent property requires the session name to be formatted in a specific way, allowing the specification of an environment and user within the session.\u003c/p\u003e\n"]]],[],null,[]]