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

GoogleCloudEssentialcontactsV1Contact

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

A contact that will receive notifications from Google Cloud.

interface GoogleCloudEssentialcontactsV1Contact {
email?: string;
languageTag?: string;
readonly name?: string;
notificationCategorySubscriptions?:
| "NOTIFICATION_CATEGORY_UNSPECIFIED"
| "ALL"
| "SUSPENSION"
| "SECURITY"
| "TECHNICAL"
| "BILLING"
| "LEGAL"
| "PRODUCT_UPDATES"
| "TECHNICAL_INCIDENTS"[];
validateTime?: Date;
readonly validationState?: "VALIDATION_STATE_UNSPECIFIED" | "VALID" | "INVALID";
}

§Properties

§
email?: string
[src]

Required. The email address to send notifications to. The email address does not need to be a Google Account.

§
languageTag?: string
[src]

Required. The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.

§
readonly name?: string
[src]

Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}

§
notificationCategorySubscriptions?: "NOTIFICATION_CATEGORY_UNSPECIFIED" | "ALL" | "SUSPENSION" | "SECURITY" | "TECHNICAL" | "BILLING" | "LEGAL" | "PRODUCT_UPDATES" | "TECHNICAL_INCIDENTS"[]
[src]

Required. The categories of notifications that the contact will receive communications for.

§
validateTime?: Date
[src]

The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.

§
readonly validationState?: "VALIDATION_STATE_UNSPECIFIED" | "VALID" | "INVALID"
[src]

Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.