Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue

import type { GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue } from "https://googleapis.deno.dev/v1/integrations:v1.ts";

The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.

interface GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue {
absolute?: bigint;
percentage?: number;
}

§Properties

§
absolute?: bigint
[src]

Absolute value threshold.

§
percentage?: number
[src]

Percentage threshold.