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.
Property Value
Type
Description
string
ParentAsSessionName
public SessionName ParentAsSessionName { get; set; }
[[["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 document provides reference documentation for the \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for the .NET environment, with the latest version being 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class is used to construct a request message for deleting all contexts associated with a specified session in Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like deep cloning and equality comparisons.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eDeleteAllContextsRequest\u003c/code\u003e class include \u003ccode\u003eParent\u003c/code\u003e, which specifies the session from which to delete all contexts, and \u003ccode\u003eParentAsSessionName\u003c/code\u003e, which provides a \u003ccode\u003eSessionName\u003c/code\u003e-typed view of the \u003ccode\u003eParent\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all available versions of the package, starting from version 3.2.0 all the way up to the latest, version 4.26.0, each with a link to its respective documentation.\u003c/p\u003e\n"]]],[],null,[]]