Class Queue (1.4.0)

A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, target types, and others.

Caller-specified and required in [CreateQueue][google.cloud.ta sks.v2beta2.CloudTasks.CreateQueue][], after which the queue config type becomes output only, though fields within the config are mutable. The queue's target. The target applies to all tasks in the queue.

Pull target. A pull queue is a queue that has a PullTarget.

Settings that determine the retry behavior. - For tasks created using Cloud Tasks: the queue-level retry settings apply to all tasks in the queue that were created using Cloud Tasks. Retry settings cannot be set on individual tasks. - For tasks created using the App Engine SDK: the queue-level retry settings apply to all tasks in the queue which do not have retry settings explicitly set on the task and were created by the App Engine SDK. See App Engine documentation <https://cloud.google.com/appengine/docs/standar d/python/taskqueue/push/retrying-tasks>_.

Output only. The last time this queue was purged. All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time were purged. A queue can be purged using [PurgeQueu e][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the App Engine Task Queue SDK, or the Cloud Console <https://cloud.goo gle.com/appengine/docs/standard/python/taskqueue/push/deleting -tasks-and-queues#purging_all_tasks_from_a_queue>_. Purge time will be truncated to the nearest microsecond. Purge time will be unset if the queue has never been purged.