EnterpriseCrmEventbusProtoWorkflowAlertConfig class
Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
Constructors
- EnterpriseCrmEventbusProtoWorkflowAlertConfig({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})
- EnterpriseCrmEventbusProtoWorkflowAlertConfig.fromJson(Map json_)
Properties
- aggregationPeriod ↔ String?
-
For an EXPECTED_MIN threshold, this aggregation_period must be lesser than
24 hours.
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 *AVERAGE_DURATION and *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?
-
For either events or tasks, depending on the type of alert, count only
final 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, whether lower(expected_min) or upper(expected_max),
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