GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs

data class GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs(val aggregationPeriod: Output<String>? = null, val alertThreshold: Output<Int>? = null, val disableAlert: Output<Boolean>? = null, val displayName: Output<String>? = null, val durationThreshold: Output<String>? = null, val metricType: Output<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType>? = null, val onlyFinalAttempt: Output<Boolean>? = null, val thresholdType: Output<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType>? = null, val thresholdValue: Output<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueArgs>? = null) : ConvertibleToJava<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs>

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

Constructors

fun GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs(aggregationPeriod: Output<String>? = null, alertThreshold: Output<Int>? = null, disableAlert: Output<Boolean>? = null, displayName: Output<String>? = null, durationThreshold: Output<String>? = null, metricType: Output<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType>? = null, onlyFinalAttempt: Output<Boolean>? = null, thresholdType: Output<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType>? = null, thresholdValue: Output<GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs

Properties

Link copied to clipboard
val aggregationPeriod: Output<String>? = null

The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.

Link copied to clipboard
val alertThreshold: Output<Int>? = null

For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.

Link copied to clipboard
val disableAlert: Output<Boolean>? = null

Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.

Link copied to clipboard
val displayName: Output<String>? = null

Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.

Link copied to clipboard
val durationThreshold: Output<String>? = null

Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.

Link copied to clipboard
Link copied to clipboard
val onlyFinalAttempt: Output<Boolean>? = null

For either events or tasks, depending on the type of alert, count only final attempts, not retries.

Link copied to clipboard

The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.

Link copied to clipboard

The metric value, above or below which the alert should be triggered.