Lists agent pools.
HTTP request
GET https://storagetransfer.googleapis.com/v1/projects/{projectId}/agentPools
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
projectId | 
                
                   
 Required. The ID of the Google Cloud project that owns the job. Authorization requires the following IAM permission on the specified resource  
  | 
              
Query parameters
| Parameters | |
|---|---|
filter | 
                
                   
 An optional list of query parameters specified as JSON text in the form of: 
 Since   | 
              
pageSize | 
                
                   
 The list page size. The max allowed value is   | 
              
pageToken | 
                
                   
 The list page token.  | 
              
Request body
The request body must be empty.
Response body
Response from agentPools.list.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "agentPools": [
    {
      object ( | 
                  
| Fields | |
|---|---|
agentPools[] | 
                    
                       
 A list of agent pools.  | 
                  
nextPageToken | 
                    
                       
 The list next page token.  | 
                  
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.