Google Cloud Tasks V2beta3 Client - Class DeleteTaskRequest (1.14.4)

Reference documentation and code samples for the Google Cloud Tasks V2beta3 Client class DeleteTaskRequest.

Request message for deleting a task using DeleteTask.

Generated from protobuf message google.cloud.tasks.v2beta3.DeleteTaskRequest

Namespace

Google \ Cloud \ Tasks \ V2beta3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this