Google Cloud Monitoring v3 API - Class AlertPolicy.Types.Condition.Types.Trigger (3.6.0)

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.

Inheritance

object > AlertPolicy.Types.Condition.Types.Trigger

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

Trigger()

public Trigger()

Trigger(Trigger)

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

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
int

HasCount

public bool HasCount { get; }

Gets whether the "count" field is set

Property Value
TypeDescription
bool

HasPercent

public bool HasPercent { get; }

Gets whether the "percent" field is set

Property Value
TypeDescription
bool

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
AlertPolicyTypesConditionTypesTriggerTypeOneofCase