public sealed class DeleteTaskRequest : IMessage<DeleteTaskRequest>, IEquatable<DeleteTaskRequest>, IDeepCloneable<DeleteTaskRequest>, IBufferMessage, IMessage
Request message for deleting a task using
[DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
[[["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 outlines the \u003ccode\u003eDeleteTaskRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Tasks.V2\u003c/code\u003e namespace, used for requesting the deletion of a task.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this tool is version 3.5.0, with the current page providing information for version 3.0.0, while previous versions going back to 2.2.0 are accessible via the linked version numbers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteTaskRequest\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class features two constructors, one default and one that takes another \u003ccode\u003eDeleteTaskRequest\u003c/code\u003e instance as a parameter, and properties such as \u003ccode\u003eName\u003c/code\u003e which is the required task identifier string and \u003ccode\u003eTaskName\u003c/code\u003e which is a \u003ccode\u003eTaskName\u003c/code\u003e typed view over the \u003ccode\u003eName\u003c/code\u003e resource property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteTaskRequest\u003c/code\u003e class is used in the deletion of a task, calling the [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask] method.\u003c/p\u003e\n"]]],[],null,[]]