- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
Lists the projects associated with a billing account. The current authenticated user must have the billing.resourceAssociations.list IAM permission, which is often given to billing account viewers.
HTTP request
GET https://cloudbilling.googleapis.com/v1/{name=billingAccounts/*}/projects
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name | 
                
                   
 Required. The resource name of the billing account associated with the projects that you want to list. For example,   | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 Requested page size. The maximum page size is 100; this is also the default.  | 
              
pageToken | 
                
                   
 A token identifying a page of results to be returned. This should be a   | 
              
Request body
The request body must be empty.
Response body
Request message for ListProjectBillingInfoResponse.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "projectBillingInfo": [
    {
      object ( | 
                  
| Fields | |
|---|---|
projectBillingInfo[] | 
                    
                       
 A list of   | 
                  
nextPageToken | 
                    
                       
 A token to retrieve the next page of results. To retrieve the next page, call   | 
                  
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-billinghttps://www.googleapis.com/auth/cloud-billing.readonly
For more information, see the Authentication Overview.