Get Budget

billing_budgets.get_budget
ActionGoogle Cloudconnection required

Calls Cloud Billing Budget GET /v1/billingAccounts/{billingAccountsId}/budgets/{budgetsId}.

Returns a budget. 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

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
billing_account
Billing account id.
stringYes———
budget
Id of the budget to act on, from billing_budgets.list_budgets — not its name.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
thresholdRules
array—
notificationsRule
object—
amount
object—
etag
string—
displayName
string—
name
string—
{
  "amount": {},
  "displayName": "",
  "etag": "",
  "name": "",
  "notificationsRule": {},
  "ok": false,
  "thresholdRules": []
}

Related Google Cloud Billing Budget nodes

See Get Budget 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.