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

PolicySnapshot

import type { PolicySnapshot } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

The state of the policy at the time the alert was generated.

interface PolicySnapshot {
displayName?: string;
name?: string;
severity?:
| "SEVERITY_UNSPECIFIED"
| "CRITICAL"
| "ERROR"
| "WARNING";
userLabels?: {
[key: string]: string;
}
;
}

§Properties

§
displayName?: string
[src]

The display name of the alert policy.

§
name?: string
[src]

The name of the alert policy resource. In the form of "projects/PROJECT_ID_OR_NUMBER/alertPolicies/ALERT_POLICY_ID".

§
severity?: "SEVERITY_UNSPECIFIED" | "CRITICAL" | "ERROR" | "WARNING"
[src]

The severity of the alert policy.

§
userLabels?: {
[key: string]: string;
}
[src]

The user labels for the alert policy.