삭제 시점 이전에 생성된 태스크는 모두 영구 삭제됩니다. 영구 삭제 태스크는 최대 1분이 걸릴 수 있습니다.
큐를 삭제하여 비워진 할당량을 확보하려면 몇 시간이 걸릴 수 있습니다.
대기열 일시중지
queue.yaml 파일에서 큐 정의를 삭제한 후 수정된 queue.yaml 파일을 업로드하여 큐 사용을 일시중지할 수 있습니다. 큐의 속도를 0으로 설정하면 해당 큐도 일시중지됩니다.
일시중지된 큐에 남아 있는 모든 태스크 또는 큐에 추가된 새로운 태스크는 처리되지 않습니다. 큐가 정의된 새로운 queue.yaml 파일을 업로드하고 비율을 0이 아닌 값으로 설정하면 일시중지된 큐를 다시 재개할 수 있습니다.
일시중지된 큐는 계속 할당량에 포함되어 계산됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eYou can delete individual tasks from a queue via the Google Cloud console by navigating to Cloud Tasks, selecting the desired queue, and choosing the task to delete.\u003c/p\u003e\n"],["\u003cp\u003eTo remove all tasks from a queue, you can utilize the "Delete all tasks" option in the Google Cloud console, however keep in mind that this action can take up to a minute to take effect.\u003c/p\u003e\n"],["\u003cp\u003ePausing a queue can be done by removing its definition from the \u003ccode\u003equeue.yaml\u003c/code\u003e file and uploading the edited file, or by setting its rate to 0, which will halt the processing of tasks.\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 and then deleting it in the Google Cloud console, which will prevent re-creation of the queue for 7 days.\u003c/p\u003e\n"],["\u003cp\u003eIt is recommended to wait at least a second after purging a queue before creating new tasks, as tasks made in close temporal proximity to the purge will also be deleted.\u003c/p\u003e\n"]]],[],null,["# Delete Tasks and Queues\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nGo Java PHP Python\n\nThis page describes how to delete tasks from a push queue and how to delete\nqueues. In some cases you might need to delete a task that cannot be completed\nsuccessfully, no matter how many times it is retried.\n| This API is supported for first-generation runtimes and can be used when [upgrading to corresponding second-generation runtimes](/appengine/docs/standard/\n|\n| /services/access). If you are updating to the App Engine runtime, refer to the [Upgrade to second-generation runtimes]() page to learn about your migration options for legacy bundled services.\n\nDelete tasks from a queue\n-------------------------\n\n\nTo delete a task from the Google Cloud console:\n\n1. Open the Cloud Tasks page in the console.\n\n [Go to Cloud Tasks](https://console.cloud.google.com/cloudtasks)\n2. Click the name of the queue from which you want to remove the task.\n\n3. Select the task that you want to delete and click **Delete selected tasks**.\n\n4. Click **Delete**.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPurging all tasks from a queue\n------------------------------\n\n\nTo delete a task from the Google Cloud console:\n\n1. Open the Cloud Tasks page in the console.\n\n [Go to Cloud Tasks](https://console.cloud.google.com/cloudtasks)\n2. Click the name of the queue from which you want to remove the task.\n\n3. Select the task that you want to delete and click **Delete all tasks**.\n\n4. Click **Delete**.\n\n\u003cbr /\u003e\n\nAll tasks created before the moment of purging are expunged. Purge operations\ncan take up to one minute to take effect.\n\nIt can take several hours to reclaim the quotas freed up by purging a queue.\n| **Warning:** Do not create new tasks immediately after purging a queue. Wait at least a second. Tasks created in close temporal proximity to a purge call will also be purged.\n\nPausing queues\n--------------\n\nYou can pause a queue by removing its definition from your `queue.yaml` file\nand then uploading the edited `queue.yaml` file. Setting any queue's rate to\n0 will also pause the queue.\n\nAny tasks that remain on a paused queue or any new tasks that are added to it\nwill not be processed. You can resume the paused queue by uploading a new\n`queue.yaml` file with the queue defined and rate set to a non-zero value.\nPaused queues continue to count as a part of your quota.\n\nYou can also pause a queue from within the\n[Cloud Tasks page in the Google Cloud console](https://console.cloud.google.com/cloudtasks).\n\nDeleting queues\n---------------\n\nIt is a best practice to pause a queue before you delete it:\n\n1. Remove the queue definition from your `queue.yaml` file.\n\n2. Upload the change to your `queue.yaml` file.\n\n gcloud app deploy queue.yaml\n\nOnce the queue is removed from your `queue.yaml` file, use the Google Cloud console to delete it.\n\n1. In the Google Cloud console, select the queue.\n\n [Go to Cloud Tasks](https://console.cloud.google.com/cloudtasks)\n2. Click **Delete queue**.\n\nIf you delete a queue from the Google Cloud console, you must wait 7 days\nbefore recreating with the same name."]]