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.v2.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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eQueue.Types.State\u003c/code\u003e enum within the Google Cloud Tasks v2 API, detailing the possible states a queue can be in.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eQueue.Types.State\u003c/code\u003e defines four states: \u003ccode\u003eDisabled\u003c/code\u003e, \u003ccode\u003ePaused\u003c/code\u003e, \u003ccode\u003eRunning\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each representing a different operational condition of a queue.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDisabled\u003c/code\u003e indicates that the queue is inactive, usually due to configuration changes, preventing task dispatch, but allowing tasks to still be added, and \u003ccode\u003ePaused\u003c/code\u003e means that task delivery has been halted by the user.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRunning\u003c/code\u003e signifies that the queue is actively dispatching tasks, although there might be a delay in re-activation after prolonged inactivity, and \u003ccode\u003eUnspecified\u003c/code\u003e represents an unknown state.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation and code samples for the Google Cloud Tasks v2 API with version listings ranging from version 2.2.0 to 3.5.0.\u003c/p\u003e\n"]]],[],null,[]]