Resume a queue.
This method resumes a queue after it has been PAUSED
or DISABLED
. The state of a queue is stored in the queue's state
; after calling this method it will be set to RUNNING
.
WARNING: Resuming many high-QPS queues at the same time can lead to target overloading. If you are resuming high-QPS queues, follow the 500/50/5 pattern described in Managing Cloud Tasks Scaling Risks.
HTTP request
POST https://cloudtasks.googleapis.com/v2/{name=projects/*/locations/*/queues/*}:resume
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The queue name. For example: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Queue
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-tasks
For more information, see the Authentication Overview.