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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eAlertPolicy.Types.Condition.Types.Trigger\u003c/code\u003e is 3.15.0, with a history of versions back to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class defines how many time series must fail a predicate to trigger a condition, defaulting to a count of 1 if unspecified.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAlertPolicy.Types.Condition.Types.Trigger\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties to set the \u003ccode\u003eCount\u003c/code\u003e or \u003ccode\u003ePercent\u003c/code\u003e of time series failures needed to trigger a condition, and these properties also have a boolean \u003ccode\u003eHasCount\u003c/code\u003e or \u003ccode\u003eHasPercent\u003c/code\u003e associated with them to check if they are set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrigger\u003c/code\u003e class within the Google Cloud Monitoring v3 API includes constructors to create a new instance or copy an existing \u003ccode\u003eTrigger\u003c/code\u003e, as well as properties and methods to manage the triggering behavior of conditions.\u003c/p\u003e\n"]]],[],null,[]]