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

Runtime

import type { Runtime } from "https://googleapis.deno.dev/v1/cloudfunctions:v2.ts";

Describes a runtime and any special information (e.g., deprecation status) related to it.

interface Runtime {
decommissionDate?: Date;
deprecationDate?: Date;
displayName?: string;
environment?: "ENVIRONMENT_UNSPECIFIED" | "GEN_1" | "GEN_2";
name?: string;
stage?:
| "RUNTIME_STAGE_UNSPECIFIED"
| "DEVELOPMENT"
| "ALPHA"
| "BETA"
| "GA"
| "DEPRECATED"
| "DECOMMISSIONED";
warnings?: string[];
}

§Properties

§
decommissionDate?: Date
[src]

Decommission date for the runtime.

§
deprecationDate?: Date
[src]

Deprecation date for the runtime.

§
displayName?: string
[src]

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

§
environment?: "ENVIRONMENT_UNSPECIFIED" | "GEN_1" | "GEN_2"
[src]

The environment for the runtime.

§
name?: string
[src]

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

§
stage?: "RUNTIME_STAGE_UNSPECIFIED" | "DEVELOPMENT" | "ALPHA" | "BETA" | "GA" | "DEPRECATED" | "DECOMMISSIONED"
[src]

The stage of life this runtime is in, e.g., BETA, GA, etc.

§
warnings?: string[]
[src]

Warning messages, e.g., a deprecation warning.