- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists queues.
Queues are returned in lexicographical order.
HTTP request
GET https://cloudtasks.googleapis.com/v2beta3/{parent=projects/*/locations/*}/queues
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The location name. For example: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
filter |
Sample filter "state: PAUSED". Note that using filters might cause fewer queues than the requested pageSize to be returned. |
pageSize |
Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use the |
pageToken |
A token identifying the page of results to return. To request the first page results, pageToken must be empty. To request the next page of results, pageToken must be the value of |
readMask |
Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats]. [Queue.stats] will be returned only if it was explicitly specified in the mask. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body must be empty.
Response body
Response message for queues.list
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"queues": [
{
object ( |
Fields | |
---|---|
queues[] |
The list of queues. |
nextPageToken |
A token to retrieve next page of results. To return the next page of results, call If the nextPageToken is empty, there are no more results. The page token is valid for only 2 hours. |
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.