Python 2.7 has reached end of support
and will be deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Python 2.7
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Python
2.7 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you migrate to the latest supported version of Python.
Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to delete tasks from a push queue and how to delete
queues. In some cases you might need to delete a task that cannot be completed
successfully, no matter how many times it is retried.
Click the name of the queue from which you want to remove the task.
Select the task that you want to delete and click Delete all tasks.
Click Delete.
All tasks created before the moment of purging are expunged. Purge operations
can take up to one minute to take effect.
It can take several hours to reclaim the quotas freed up by purging a queue.
Pausing queues
You can pause a queue by removing its definition from your queue.yaml file
and then uploading the edited queue.yaml file. Setting any queue's rate to
0 will also pause the queue.
Any tasks that remain on a paused queue or any new tasks that are added to it
will not be processed. You can resume the paused queue by uploading a new
queue.yaml file with the queue defined and rate set to a non-zero value.
Paused queues continue to count as a part of your quota.
[[["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-21 UTC."],[[["\u003cp\u003eThis guide details the process of deleting individual tasks or all tasks from a push queue using both the API and Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003edelete_tasks()\u003c/code\u003e API method to remove specific tasks or the \u003ccode\u003epurge()\u003c/code\u003e method to clear all tasks from a specified queue.\u003c/p\u003e\n"],["\u003cp\u003eQueues can be paused by either removing their definition from the \u003ccode\u003equeue.yaml\u003c/code\u003e file or by setting their rate to 0, preventing task processing while still counting towards your quota.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a queue involves first pausing it by removing its definition from the \u003ccode\u003equeue.yaml\u003c/code\u003e file, then using the Google Cloud console to complete the deletion.\u003c/p\u003e\n"],["\u003cp\u003eAfter deleting a queue, there is a 7-day waiting period before you can recreate a queue with the same name, and you should also wait at least a second after purging a queue before creating new tasks.\u003c/p\u003e\n"]]],[],null,[]]