public sealed class ThresholdRule : IMessage<ThresholdRule>, IEquatable<ThresholdRule>, IDeepCloneable<ThresholdRule>, IBufferMessage, IMessage
ThresholdRule contains a definition of a threshold which triggers
an alert (a notification of a threshold being crossed) to be sent when
spend goes above the specified amount.
Alerts are automatically e-mailed to users with the Billing Account
Administrator role or the Billing Account User role.
The thresholds here have no effect on notifications sent to anything
configured under Budget.all_updates_rule.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides details on the \u003ccode\u003eThresholdRule\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Billing.Budgets.V1\u003c/code\u003e namespace, used for defining spending thresholds that trigger alerts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eThresholdRule\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, indicating its capabilities for message handling, equality comparison, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eThresholdRule\u003c/code\u003e offers two constructors, one default and one for creating a copy from an existing \u003ccode\u003eThresholdRule\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpendBasis\u003c/code\u003e property allows you to specify the basis for determining if a threshold is met and defaults to \u003ccode\u003eCURRENT_SPEND\u003c/code\u003e if not set, while \u003ccode\u003eThresholdPercent\u003c/code\u003e defines the threshold level as a percentage.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.6.0, and it is a detailed class documentation with multiple previous versions listed on this page, including from 1.1.0 to 2.6.0.\u003c/p\u003e\n"]]],[],null,[]]