Allows developers to manage billing for their Google Cloud Platform projects programmatically.
- REST Resource: v1.billingAccounts
- REST Resource: v1.billingAccounts.projects
- REST Resource: v1.billingAccounts.subAccounts
- REST Resource: v1.organizations.billingAccounts
- REST Resource: v1.projects
- REST Resource: v1.services
- REST Resource: v1.services.skus
Service: cloudbilling.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://cloudbilling.googleapis.com
REST Resource: v1.billingAccounts
| Methods | |
|---|---|
| create | POST /v1/billingAccountsThis method creates billing subaccounts. | 
| get | GET /v1/{name=billingAccounts/*}Gets information about a billing account. | 
| getIamPolicy | GET /v1/{resource=billingAccounts/*}:getIamPolicyGets the access control policy for a billing account. | 
| list | GET /v1/billingAccountsLists the billing accounts that the current authenticated user has permission to view. | 
| move | POST /v1/{name=billingAccounts/*}:moveChanges which parent organization a billing account belongs to. | 
| patch | PATCH /v1/{name=billingAccounts/*}Updates a billing account's fields. | 
| setIamPolicy | POST /v1/{resource=billingAccounts/*}:setIamPolicySets the access control policy for a billing account. | 
| testIamPermissions | POST /v1/{resource=billingAccounts/*}:testIamPermissionsTests the access control policy for a billing account. | 
REST Resource: v1.billingAccounts.projects
| Methods | |
|---|---|
| list | GET /v1/{name=billingAccounts/*}/projectsLists the projects associated with a billing account. | 
REST Resource: v1.billingAccounts.subAccounts
| Methods | |
|---|---|
| create | POST /v1/{parent=billingAccounts/*}/subAccountsThis method creates billing subaccounts. | 
| list | GET /v1/{parent=billingAccounts/*}/subAccountsLists the billing accounts that the current authenticated user has permission to view. | 
REST Resource: v1.organizations.billingAccounts
| Methods | |
|---|---|
| create | POST /v1/{parent=organizations/*}/billingAccountsThis method creates billing subaccounts. | 
| list | GET /v1/{parent=organizations/*}/billingAccountsLists the billing accounts that the current authenticated user has permission to view. | 
| move | GET /v1/{destinationParent=organizations/*}/{name=billingAccounts/*}:moveChanges which parent organization a billing account belongs to. | 
REST Resource: v1.projects
| Methods | |
|---|---|
| getBillingInfo | GET /v1/{name=projects/*}/billingInfoGets the billing information for a project. | 
| updateBillingInfo | PUT /v1/{name=projects/*}/billingInfoSets or updates the billing account associated with a project. | 
REST Resource: v1.services
| Methods | |
|---|---|
| list | GET /v1/servicesLists all public cloud services. | 
REST Resource: v1.services.skus
| Methods | |
|---|---|
| list | GET /v1/{parent=services/*}/skusLists all publicly available SKUs for a given cloud service. |