BudgetArgs class

The set of arguments for Budget. The set of arguments for Budget.

Constructors

BudgetArgs({required Input<GoogleCloudBillingBudgetsV1BudgetAmount> amount, required Input<String> billingAccountId, Input<GoogleCloudBillingBudgetsV1Filter>? budgetFilter, Input<String>? displayName, Input<String>? etag, Input<GoogleCloudBillingBudgetsV1NotificationsRule>? notificationsRule, Input<BudgetOwnershipScope>? ownershipScope, Input<List<GoogleCloudBillingBudgetsV1ThresholdRule>>? thresholdRules})
Creates a new BudgetArgs. amount Budgeted amount. billingAccountId Required. budgetFilter 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. displayName User data for display name in UI. The name must be less than or equal to 60 characters. etag Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes. notificationsRule Optional. Rules to apply to notifications sent based on budget spend and thresholds. ownershipScope Optional. thresholdRules Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for pubsubTopic notifications. Required if using email notifications.
const
BudgetArgs.fromMap(Map<String, dynamic> map)
factory

Properties

amount → Input<GoogleCloudBillingBudgetsV1BudgetAmount>
Budgeted amount.
final
billingAccountId → Input<String>
final
budgetFilter → Input<GoogleCloudBillingBudgetsV1Filter>?
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.
final
displayName → Input<String>?
User data for display name in UI. The name must be less than or equal to 60 characters.
final
etag → Input<String>?
Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.
final
hashCode → int
The hash code for this object.
no setterinherited
notificationsRule → Input<GoogleCloudBillingBudgetsV1NotificationsRule>?
Optional. Rules to apply to notifications sent based on budget spend and thresholds.
final
ownershipScope → Input<BudgetOwnershipScope>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thresholdRules → Input<List<GoogleCloudBillingBudgetsV1ThresholdRule>>?
Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for pubsubTopic notifications. Required if using email notifications.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited