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.
Implements
IMessage<AlertPolicy.Types.Condition.Types.Trigger>, IEquatable<AlertPolicy.Types.Condition.Types.Trigger>, IDeepCloneable<AlertPolicy.Types.Condition.Types.Trigger>, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
Trigger()
public Trigger()
Trigger(AlertPolicy.Types.Condition.Types.Trigger)
public Trigger(AlertPolicy.Types.Condition.Types.Trigger other)
Parameter | |
---|---|
Name | Description |
other | AlertPolicy.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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Double |
TypeCase
public AlertPolicy.Types.Condition.Types.Trigger.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
AlertPolicy.Types.Condition.Types.Trigger.TypeOneofCase |