package google.cloud.billing.budgets.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service BudgetService

budget_service.proto:34

BudgetService stores Cloud Billing budgets, which define a budget plan and rules to execute as we track spend against that plan.

message AllUpdatesRule

budget_model.proto:125

AllUpdatesRule defines notifications that are sent on every update to the billing account's spend, regardless of the thresholds defined using threshold rules.

Used in: Budget

message Budget

budget_model.proto:33

A budget is a plan that describes what the user expects to spend on Cloud projects, plus rules to execute as spend is tracked against that plan, e.g. alert at 90% of $100 target. Currently all plans are monthly budgets so the usage period(s) tracked are implied (calendar months of usage back-to-back).

Used as response type in: BudgetService.CreateBudget, BudgetService.GetBudget, BudgetService.UpdateBudget

Used as field type in: CreateBudgetRequest, ListBudgetsResponse, UpdateBudgetRequest

message BudgetAmount

budget_model.proto:70

The budgeted amount for each usage period.

Used in: Budget

message Filter

budget_model.proto:145

A filter for a budget, limiting the scope of the cost to calculate.

Used in: Budget

enum Filter.CreditTypesTreatment

budget_model.proto:148

Specifies how credits should be treated when determining spend for threshold calculations.

Used in: Filter

message LastPeriodAmount

budget_model.proto:88

Describes a plan to target last period's spend. There are no options yet. The amount is automatically 100% of last period's spend. Future configuration will go here (e.g. configuring the percentage).

Used in: BudgetAmount

(message has no fields)

message ThresholdRule

budget_model.proto:98

ThresholdRule contains a definition of a threshold which triggers an alert (a notification of a threshold being crossed) to be sent when spend goes above the specified amount. Alerts are automatically e-mailed to the billing users who have access to the billing account. The thresholds here have no effect on notifications sent to anything configured under `Budget.all_updates_rule`.

Used in: Budget

enum ThresholdRule.Basis

budget_model.proto:100

The type of basis used to determine if spend has passed the threshold.

Used in: ThresholdRule