Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.
This page describes how to create a pull queue. You must create the queue before
you can add tasks to it. The page also describes how to pause or delete a queue.
Defining queues with queue.yaml
You can define pull queues using the queue.yaml file for your application.
The process is the same as creating named push queues, with a specialized directive, mode: pull, added to the file.
- name: my-queue-name
You use the gcloud CLI gcloud command to upload the file.
gcloud app deploy queue.yaml
You can disable, or pause, a queue by removing its definition from your queue
configuration file and then uploading the updated file.
Once the updated file is uploaded, the queue is set to "disabled" and
its rate is set to 0. Any tasks that are in the queue or new tasks that are
added to the queue will not be processed. You can re-enable the disabled queue
by uploading a new queue file with the queue defined.