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< ? thresholdRules})GoogleCloudBillingBudgetsV1ThresholdRule> > -
Creates a new BudgetArgs.
amountBudgeted amount.billingAccountIdRequired.budgetFilterOptional. 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.displayNameUser data for display name in UI. The name must be less than or equal to 60 characters.etagOptional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag causes an update to overwrite other changes.notificationsRuleOptional. Rules to apply to notifications sent based on budget spend and thresholds.ownershipScopeOptional.thresholdRulesOptional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional forpubsubTopicnotifications. 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
pubsubTopicnotifications. 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