google_api_billing_budgets v0.5.0 GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget View Source
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
allUpdatesRule(type:GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1AllUpdatesRule.t, default:nil) - Optional. Rules to apply to all updates to the actual spend, regardless of the thresholds set inthreshold_rules.amount(type:GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1BudgetAmount.t, default:nil) - Required. Budgeted amount.budgetFilter(type:GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Filter.t, default:nil) - Optional. Filters that define which resources are used to compute the actual spend against the budget.displayName(type:String.t, default:nil) - User data for display name in UI. Validation: <= 60 chars.etag(type:String.t, default:nil) - 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.name(type:String.t, default:nil) - Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the formbillingAccounts/{billingAccountId}/budgets/{budgetId}.thresholdRules(type:list(GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1ThresholdRule.t), default:nil) - Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() ::
%GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget{
allUpdatesRule:
GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1AllUpdatesRule.t(),
amount:
GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1BudgetAmount.t(),
budgetFilter:
GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Filter.t(),
displayName: String.t(),
etag: String.t(),
name: String.t(),
thresholdRules: [
GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1ThresholdRule.t()
]
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.