Class Budget

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). The budget time period is configurable, with options such as month (default), quarter, year, or custom time period.

Attributes
NameDescription
strname
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}``.
strdisplay_name
User data for display name in UI. Validation: <= 60="">
google.cloud.billing.budgets_v1beta1.types.Filterbudget_filter
Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters.
google.cloud.billing.budgets_v1beta1.types.BudgetAmountamount
Required. Budgeted amount.
Sequence[google.cloud.billing.budgets_v1beta1.types.ThresholdRule]threshold_rules
Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget.
google.cloud.billing.budgets_v1beta1.types.AllUpdatesRuleall_updates_rule
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
stretag
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.

Inheritance

builtins.object > proto.message.Message > Budget