GoogleCloudBillingBudgetsV1Budget class
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.
Constructors
-
GoogleCloudBillingBudgetsV1Budget({GoogleCloudBillingBudgetsV1BudgetAmount? amount, GoogleCloudBillingBudgetsV1Filter? budgetFilter, String? displayName, String? etag, String? name, GoogleCloudBillingBudgetsV1NotificationsRule? notificationsRule, String? ownershipScope, List<
GoogleCloudBillingBudgetsV1ThresholdRule> ? thresholdRules}) - GoogleCloudBillingBudgetsV1Budget.fromJson(Map json_)
Properties
- amount ↔ GoogleCloudBillingBudgetsV1BudgetAmount?
-
Budgeted amount.
getter/setter pair
- budgetFilter ↔ GoogleCloudBillingBudgetsV1Filter?
-
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.
getter/setter pair
- displayName ↔ String?
-
User data for display name in UI.
getter/setter pair
- etag ↔ String?
-
Etag to validate that the object is unchanged for a read-modify-write
operation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Resource name of the budget.
getter/setter pair
- notificationsRule ↔ GoogleCloudBillingBudgetsV1NotificationsRule?
-
Rules to apply to notifications sent based on budget spend and thresholds.
getter/setter pair
- ownershipScope ↔ String?
-
Possible string values are:
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
thresholdRules
↔ List<
GoogleCloudBillingBudgetsV1ThresholdRule> ? -
Rules that trigger alerts (notifications of thresholds being crossed) when
spend exceeds the specified percentages of the budget.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited