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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `DeleteTaskRequest` class within the Google Cloud Tasks v2 API, specifically for version 3.4.0."],["`DeleteTaskRequest` is used to define a request to delete a task via the `DeleteTask` method in the Cloud Tasks API."],["The `DeleteTaskRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, one default and another that takes a `DeleteTaskRequest` instance as a parameter, which would be used to create a new instance based on an existing one."],["The class includes two properties for managing the task's name: `Name` (a string) and `TaskName` (a `TaskName` type), which is a more structured way to represent a task's name."]]],[]]