Google Cloud Tasks v2 API - Class DeleteTaskRequest (3.3.0)

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].

Inheritance

object > DeleteTaskRequest

Namespace

Google.Cloud.Tasks.V2

Assembly

Google.Cloud.Tasks.V2.dll

Constructors

DeleteTaskRequest()

public DeleteTaskRequest()

DeleteTaskRequest(DeleteTaskRequest)

public DeleteTaskRequest(DeleteTaskRequest other)
Parameter
NameDescription
otherDeleteTaskRequest

Properties

Name

public string Name { get; set; }

Required. The task name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID

Property Value
TypeDescription
string

TaskName

public TaskName TaskName { get; set; }

TaskName-typed view over the Name resource name property.

Property Value
TypeDescription
TaskName