- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
Lists WorkerPools.
HTTP request
GET https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*}/workerPools
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The parent of the collection of  Authorization requires the following IAM permission on the specified resource  
  | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 The maximum number of   | 
              
pageToken | 
                
                   
 A page token, received from a previous   | 
              
Request body
The request body must be empty.
Response body
Response containing existing WorkerPools.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "workerPools": [
    {
      object ( | 
                  
| Fields | |
|---|---|
workerPools[] | 
                    
                       
 
  | 
                  
nextPageToken | 
                    
                       
 Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results.  | 
                  
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.