List Budgets
billing_budgets.list_budgets
ActionGoogle Cloudconnection required
Calls Cloud Billing Budget GET /v1/billingAccounts/{billingAccountsId}/budgets.
Returns 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.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Billing Budget
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
billing_account Billing account id. | string | Yes | — | — | — |
page_size Optional. The maximum number of budgets to return per page. The default and maximum value are 100. | number | No | 50 | ≥ 1 | — |
page_token Optional. The value returned by the last `ListBudgetsResponse` which indicates that this is a continuation… | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page_size": 50
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
budgets | array | — |
nextPageToken | string | — |
{
"budgets": [],
"nextPageToken": "",
"ok": false
}Related Google Cloud Billing Budget nodes
See List Budgets run in a workflow.
In a technical demo we add the Google Cloud Billing Budget connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.