public sealed class Trigger : IMessage<AlertPolicy.Types.Condition.Types.Trigger>, IEquatable<AlertPolicy.Types.Condition.Types.Trigger>, IDeepCloneable<AlertPolicy.Types.Condition.Types.Trigger>, IBufferMessage, IMessage
Specifies how many time series must fail a predicate to trigger a
condition. If not specified, then a {count: 1} trigger is used.
[[["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 webpage details the \u003ccode\u003eTrigger\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e namespace, specifically for use in .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrigger\u003c/code\u003e class defines how many time series must meet failure criteria to activate an alert condition, defaulting to a count of one if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrigger\u003c/code\u003e class has a constructor that can be called, and also one that is passed another \u003ccode\u003eTrigger\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eTrigger\u003c/code\u003e class include \u003ccode\u003eCount\u003c/code\u003e, which represents the absolute number of failed time series, and \u003ccode\u003ePercent\u003c/code\u003e, which allows you to specify a failure percentage instead.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this reference is \u003ccode\u003e3.15.0\u003c/code\u003e, with older versions available, and the class inherits from \u003ccode\u003eObject\u003c/code\u003e while implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]