GoogleCloudIntegrationsV1alphaIntegrationAlertConfig class
Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
Constructors
- GoogleCloudIntegrationsV1alphaIntegrationAlertConfig({String? aggregationPeriod, int? alertThreshold, bool? disableAlert, String? displayName, String? durationThreshold, String? metricType, bool? onlyFinalAttempt, String? thresholdType, GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue? thresholdValue})
- GoogleCloudIntegrationsV1alphaIntegrationAlertConfig.fromJson(Map json_)
Properties
- aggregationPeriod ↔ String?
-
The period over which the metric value should be aggregated and evaluated.
getter/setter pair
- alertThreshold ↔ int?
-
For how many contiguous aggregation periods should the expected min or max
be violated for the alert to be fired.
getter/setter pair
- disableAlert ↔ bool?
-
Set to false by default.
getter/setter pair
- displayName ↔ String?
-
Name of the alert.
getter/setter pair
- durationThreshold ↔ String?
-
Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION
metrics.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- metricType ↔ String?
-
The type of metric.
Possible string values are:
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
- 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 ↔ GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue?
-
The metric value, above or below which the alert should be triggered.
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