public sealed class AlertPolicy.Types.Condition.Types.Trigger : IMessage<AlertPolicy.Types.Condition.Types.Trigger>, IEquatable<AlertPolicy.Types.Condition.Types.Trigger>, IDeepCloneable<AlertPolicy.Types.Condition.Types.Trigger>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class AlertPolicy.Types.Condition.Types.Trigger.
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\u003eThe webpage provides reference documentation for the \u003ccode\u003eAlertPolicy.Types.Condition.Types.Trigger\u003c/code\u003e class within the Google Cloud Monitoring v3 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to define the criteria for how many time series must fail a specified predicate to trigger an alert condition, with a default count of 1 if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrigger\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which supports various functionalities such as message handling, equality comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eCount\u003c/code\u003e, \u003ccode\u003ePercent\u003c/code\u003e, \u003ccode\u003eHasCount\u003c/code\u003e, \u003ccode\u003eHasPercent\u003c/code\u003e, and \u003ccode\u003eTypeCase\u003c/code\u003e that offer flexibility in setting the trigger conditions using either absolute counts or percentages, and checking if they have been set.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of versions of the Google Cloud Monitoring v3 API from 2.3.0 up to the latest version 3.15.0, making it useful for users working with multiple versions.\u003c/p\u003e\n"]]],[],null,[]]