- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a queue.
This method creates the queue if it does not exist and updates the queue if it does exist.
Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not.
WARNING: Using this method may have unintended side effects if you are using an App Engine queue.yaml
or queue.xml
file to manage your queues. Read Overview of Queue Management and queue.yaml before using this method.
HTTP request
PATCH https://cloudtasks.googleapis.com/v2beta3/{queue.name=projects/*/locations/*/queues/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
queue.name |
Caller-specified and required in The queue name. The queue name must have the following format:
|
Query parameters
Parameters | |
---|---|
updateMask |
A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Queue
.
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.