Class Budget (1.0.1)

Budget(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A budget is a plan that describes what you expect to spend on Cloud projects, plus the rules to execute as spend is tracked against that plan, (for example, send an alert when 90% of the target spend is met). Currently all plans are monthly budgets so the usage period(s) tracked are implied (calendar months of usage back-to-back).

Attributes

NameDescription
name str
Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.
display_name str
User data for display name in UI. Validation: <= 60="" chars.="">
budget_filter .budget_model.Filter
Optional. Filters that define which resources are used to compute the actual spend against the budget.
amount .budget_model.BudgetAmount
Required. Budgeted amount.
threshold_rules Sequence[.budget_model.ThresholdRule]
Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget.
all_updates_rule .budget_model.AllUpdatesRule
Optional. Rules to apply to all updates to the actual spend, regardless of the thresholds set in threshold_rules.
etag str
Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes.