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, IMessageReference 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.
Implements
IMessageAlertPolicyTypesConditionTypesTrigger, IEquatableAlertPolicyTypesConditionTypesTrigger, IDeepCloneableAlertPolicyTypesConditionTypesTrigger, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
Trigger()
public Trigger()Trigger(Trigger)
public Trigger(AlertPolicy.Types.Condition.Types.Trigger other)| Parameter | |
|---|---|
| Name | Description | 
| other | AlertPolicyTypesConditionTypesTrigger | 
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 | 
| int | |
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 | 
| AlertPolicyTypesConditionTypesTriggerTypeOneofCase | |