Required. The queue to create or update. The queue's name must be specified. Output only fields cannot be modified using UpdateQueue. Any value specified for an output only field will be ignored. The queue's name cannot be changed.
A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated.
getQueue
Required. The queue to create or update.
The queue's name must be specified.
Output only fields cannot be modified using UpdateQueue.
Any value specified for an output only field will be ignored.
The queue's name cannot be changed.
The queue's name must be specified.
Output only fields cannot be modified using UpdateQueue.
Any value specified for an output only field will be ignored.
The queue's name cannot be changed.
Output only fields cannot be modified using UpdateQueue.
Any value specified for an output only field will be ignored.
The queue's name cannot be changed.
[[["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-08-07 UTC."],[],[],null,["# Google Cloud Tasks V2 Client - Class UpdateQueueRequest (2.0.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.2 (latest)](/php/docs/reference/cloud-tasks/latest/V2.UpdateQueueRequest)\n- [2.0.1](/php/docs/reference/cloud-tasks/2.0.1/V2.UpdateQueueRequest)\n- [1.15.2](/php/docs/reference/cloud-tasks/1.15.2/V2.UpdateQueueRequest)\n- [1.14.6](/php/docs/reference/cloud-tasks/1.14.6/V2.UpdateQueueRequest)\n- [1.13.2](/php/docs/reference/cloud-tasks/1.13.2/V2.UpdateQueueRequest)\n- [1.12.2](/php/docs/reference/cloud-tasks/1.12.2/V2.UpdateQueueRequest)\n- [1.11.11](/php/docs/reference/cloud-tasks/1.11.11/V2.UpdateQueueRequest) \nReference documentation and code samples for the Google Cloud Tasks V2 Client class UpdateQueueRequest.\n\nRequest message for\n[UpdateQueue](/php/docs/reference/cloud-tasks/latest/V2.Client.CloudTasksClient#_Google_Cloud_Tasks_V2_Client_CloudTasksClient__updateQueue__).\n\nGenerated from protobuf message `google.cloud.tasks.v2.UpdateQueueRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Tasks \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getQueue\n\nRequired. The queue to create or update.\n\nThe queue's [name](/php/docs/reference/cloud-tasks/latest/V2.Queue#_Google_Cloud_Tasks_V2_Queue__getName__) must be specified.\nOutput only fields cannot be modified using UpdateQueue.\nAny value specified for an output only field will be ignored.\nThe queue's [name](/php/docs/reference/cloud-tasks/latest/V2.Queue#_Google_Cloud_Tasks_V2_Queue__getName__) cannot be changed.\n\n### hasQueue\n\n### clearQueue\n\n### setQueue\n\nRequired. The queue to create or update.\n\nThe queue's [name](/php/docs/reference/cloud-tasks/latest/V2.Queue#_Google_Cloud_Tasks_V2_Queue__getName__) must be specified.\nOutput only fields cannot be modified using UpdateQueue.\nAny value specified for an output only field will be ignored.\nThe queue's [name](/php/docs/reference/cloud-tasks/latest/V2.Queue#_Google_Cloud_Tasks_V2_Queue__getName__) cannot be changed.\n\n### getUpdateMask\n\nA mask used to specify which fields of the queue are being updated.\n\nIf empty, then all fields will be updated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nA mask used to specify which fields of the queue are being updated.\n\nIf empty, then all fields will be updated.\n\n### static::build"]]