Cloud Billing Budget API
The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.
Finance & banking#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.
Endpoints 5
billingAccounts.budgets
- GETReturns a list of budgets for a billing account
/v1/:parent/budgets?pageSize=0&pageToken=string&scope=stringReturns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When… - POSTCreates a new budget
/v1/:parent/budgetsCreates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create. - GETReturns a budget
/v1/:nameReturns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will… - DELETEDeletes a budget
/v1/:nameDeletes a budget. Returns successfully if already deleted. - PATCHUpdates a budget and returns the updated budget
/v1/:name?updateMask=stringUpdates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget…
API details
- Base URL
https://billingbudgets.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 5 operations on 2 pathsGET 2POST 1PATCH 1DELETE 1
- Main resources
- billingAccounts.budgets 5
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Cloud Billing Budget API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Cloud Billing Budget API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Returns a list of budgets for a billing account” (GET /v1/:parent/budgets?pageSize=0&pageToken=string&scope=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Cloud Billing Budget API?
The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. It is listed under Finance & banking and has 5 endpoints.
Who publishes the Cloud Billing Budget API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Cloud Billing Budget API?
Requests go to https://billingbudgets.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Cloud Billing Budget API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the Cloud Billing Budget API have?
5 operations on 2 paths (2 GET, 1 POST, 1 PATCH, 1 DELETE). The largest groups are billingAccounts.budgets.
Is forking the Cloud Billing Budget API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.