Send feedback
Google Cloud Tasks V2 Client - Class DeleteTaskRequest (1.11.11)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.11.11 keyboard_arrow_down
Reference documentation and code samples for the Google Cloud Tasks V2 Client class DeleteTaskRequest.
Request message for deleting a task using
DeleteTask .
Generated from protobuf message google.cloud.tasks.v2.DeleteTaskRequest
Methods
__construct
Parameters
Name
Description
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
Type
Description
string
setName
Required. The task name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID
Parameter
Name
Description
var
string
Returns
Type
Description
$this
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-02 UTC.
Need to tell us more?
[[["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-05-02 UTC."],[],[]]