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-03-21 UTC."],[[["This documentation details the `Queue.Types.State` enum within the Google Cloud Tasks v2beta3 API, specifically for the .NET environment."],["The `Queue.Types.State` enum defines four possible states for a queue: `Disabled`, `Paused`, `Running`, and `Unspecified`."],["A queue in the `Disabled` state will not dispatch tasks, even if tasks are added, and becomes disabled when a queue configuration file doesn't include it."],["When a queue is `Paused`, tasks are not delivered by Cloud Tasks, although new tasks can still be added."],["A queue in the `Running` state dispatches tasks, but it may take a few minutes to reactivate if it has been inactive for 30 days."]]],[]]