EnterpriseCrmEventbusProtoTaskAlertConfig class

Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.

Constructors

EnterpriseCrmEventbusProtoTaskAlertConfig({String? aggregationPeriod, bool? alertDisabled, String? alertName, String? clientId, String? durationThresholdMs, EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList? errorEnumList, String? metricType, int? numAggregationPeriods, bool? onlyFinalAttempt, String? playbookUrl, String? thresholdType, EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue? thresholdValue, EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList? warningEnumList})
EnterpriseCrmEventbusProtoTaskAlertConfig.fromJson(Map json_)

Properties

aggregationPeriod String?
The period over which the metric value should be aggregated and evaluated.
getter/setter pair
alertDisabled bool?
Set to false by default.
getter/setter pair
alertName String?
A name to identify this alert.
getter/setter pair
clientId String?
Client associated with this alert configuration.
getter/setter pair
durationThresholdMs String?
Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics.
getter/setter pair
errorEnumList EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metricType String?
Possible string values are:
getter/setter pair
numAggregationPeriods int?
For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
getter/setter pair
onlyFinalAttempt bool?
Only count final task attempts, not retries.
getter/setter pair
playbookUrl String?
Link to a playbook for resolving the issue that triggered this alert.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thresholdType String?
The threshold type for which this alert is being configured.
getter/setter pair
thresholdValue EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue?
The metric value, above or below which the alert should be triggered.
getter/setter pair
warningEnumList EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited