GoogleCloudBillingBudgetsV1ThresholdRule class

ThresholdRule contains the definition of a threshold.

Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the [NotificationsRule](#notificationsrule). Threshold rules also affect the fields included in the JSON data object sent to a Pub/Sub topic. Threshold rules are required if using email notifications. Threshold rules are optional if only setting a [pubsubTopic NotificationsRule](#NotificationsRule), unless you want your JSON data object to include data about the thresholds you set. For more information, see set budget threshold rules and actions.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spendBasis String?
The type of basis used to determine if spend has passed the threshold.
getter/setter pair
thresholdPercent double?
Send an alert when this threshold is exceeded.
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