Generated from protobuf messagegoogle.cloud.tasks.v2.DeleteQueueRequest
Namespace
Google \ Cloud \ Tasks \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The queue name. For example:projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
getName
Required. The queue name. For example:projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
Returns
Type
Description
string
setName
Required. The queue name. For example:projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The queue name. For example:projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_IDPlease seeCloudTasksClient::queueName()for help formatting this field.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Tasks V2 Client - Class DeleteQueueRequest (2.0.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.2 (latest)](/php/docs/reference/cloud-tasks/latest/V2.DeleteQueueRequest)\n- [2.0.1](/php/docs/reference/cloud-tasks/2.0.1/V2.DeleteQueueRequest)\n- [1.15.2](/php/docs/reference/cloud-tasks/1.15.2/V2.DeleteQueueRequest)\n- [1.14.6](/php/docs/reference/cloud-tasks/1.14.6/V2.DeleteQueueRequest)\n- [1.13.2](/php/docs/reference/cloud-tasks/1.13.2/V2.DeleteQueueRequest)\n- [1.12.2](/php/docs/reference/cloud-tasks/1.12.2/V2.DeleteQueueRequest)\n- [1.11.11](/php/docs/reference/cloud-tasks/1.11.11/V2.DeleteQueueRequest) \nReference documentation and code samples for the Google Cloud Tasks V2 Client class DeleteQueueRequest.\n\nRequest message for\n[DeleteQueue](/php/docs/reference/cloud-tasks/latest/V2.Client.CloudTasksClient#_Google_Cloud_Tasks_V2_Client_CloudTasksClient__deleteQueue__).\n\nGenerated from protobuf message `google.cloud.tasks.v2.DeleteQueueRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Tasks \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The queue name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`\n\n### setName\n\nRequired. The queue name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`\n\n### static::build"]]