Class AlertPolicy.Types.Condition.Types.Trigger (2.3.0)

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.

Inheritance

Object > AlertPolicy.Types.Condition.Types.Trigger

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

Trigger()

public Trigger()

Trigger(AlertPolicy.Types.Condition.Types.Trigger)

public Trigger(AlertPolicy.Types.Condition.Types.Trigger other)
Parameter
NameDescription
otherAlertPolicy.Types.Condition.Types.Trigger

Properties

Count

public int Count { get; set; }

The absolute number of time series that must fail the predicate for the condition to be triggered.

Property Value
TypeDescription
Int32

Percent

public double Percent { get; set; }

The percentage of time series that must fail the predicate for the condition to be triggered.

Property Value
TypeDescription
Double

TypeCase

public AlertPolicy.Types.Condition.Types.Trigger.TypeOneofCase TypeCase { get; }
Property Value
TypeDescription
AlertPolicy.Types.Condition.Types.Trigger.TypeOneofCase