public sealed class DeleteTaskRequest : IMessage<DeleteTaskRequest>, IEquatable<DeleteTaskRequest>, IDeepCloneable<DeleteTaskRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2 API class DeleteTaskRequest.
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 provides reference information for the \u003ccode\u003eDeleteTaskRequest\u003c/code\u003e class within the Google Cloud Tasks v2 API, specifically version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteTaskRequest\u003c/code\u003e is used to delete a task and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor, \u003ccode\u003eDeleteTaskRequest()\u003c/code\u003e, and an overloaded constructor that accepts another \u003ccode\u003eDeleteTaskRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteTaskRequest\u003c/code\u003e has two key properties: \u003ccode\u003eName\u003c/code\u003e, which is a string representing the task's full resource name, and \u003ccode\u003eTaskName\u003c/code\u003e, which provides a typed view of the \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a link to 10 different versions of the DeleteTaskRequest documentation, with 3.5.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]