public sealed class ThresholdRule : IMessage<ThresholdRule>, IEquatable<ThresholdRule>, IDeepCloneable<ThresholdRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Billing Budget v1 API class ThresholdRule.
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 page provides reference documentation for the \u003ccode\u003eThresholdRule\u003c/code\u003e class within the Google Cloud Billing Budget v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eThresholdRule\u003c/code\u003e defines a spending threshold that triggers alerts when crossed, notifying users with Billing Account Administrator or User roles.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eThresholdRule\u003c/code\u003e class offers options to customize the spend basis and threshold percentage, allowing for precise alert configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe page also includes version information, with version 2.6.0 being the most current, and other previous versions are available to view.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eThresholdRule\u003c/code\u003e class inherits from Object and implements multiple interfaces, including IMessage, IEquatable, and IDeepCloneable.\u003c/p\u003e\n"]]],[],null,[]]