A queue becomes DISABLED when
queue.yaml
or
queue.xml
is uploaded which does not contain the queue. You cannot directly disable
a queue.
When a queue is disabled, tasks can still be added to a queue
but the tasks are not dispatched.
To permanently delete this queue and all of its tasks, call
[DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
Paused
Tasks are paused by the user. If the queue is paused then Cloud
Tasks will stop delivering tasks from it, but more tasks can
still be added to it by the user.
Running
The queue is running. Tasks can be dispatched.
If the queue was created using Cloud Tasks and the queue has
had no activity (method calls or task dispatches) for 30 days,
the queue may take a few minutes to re-activate. Some method
calls may return [NOT_FOUND][google.rpc.Code.NOT_FOUND] and
tasks may not be dispatched for a few minutes until the queue
has been re-activated.
[[["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-06-12 UTC."],[[["This documentation outlines the `Queue.Types.State` enum within the Google Cloud Tasks v2beta3 API, detailing the possible states a queue can be in."],["The enum includes four states: `Unspecified`, `Running`, `Paused`, and `Disabled`, each with specific behaviors and implications for task processing."],["A `Disabled` queue occurs when its definition is removed from the configuration file, preventing task dispatch but still allowing task addition, with the only way to delete the queue being to call the delete queue function."],["A `Paused` queue will stop delivering tasks, but they can still be added, and a `Running` queue is actively dispatching tasks, though it may take time to re-activate after prolonged inactivity."],["The v2beta3 API has three available versions of this documentation, with the latest being version 3.0.0-beta07, followed by versions 3.0.0-beta06, and 2.0.0-beta08."]]],[]]