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

Session

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

A representation of a session.

interface Session {
readonly createTime?: Date;
readonly creator?: string;
environmentConfig?: EnvironmentConfig;
jupyterSession?: JupyterConfig;
labels?: {
[key: string]: string;
}
;
name?: string;
runtimeConfig?: RuntimeConfig;
readonly runtimeInfo?: RuntimeInfo;
sessionTemplate?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "TERMINATING"
| "TERMINATED"
| "FAILED";
readonly stateHistory?: SessionStateHistory[];
readonly stateMessage?: string;
readonly stateTime?: Date;
user?: string;
readonly uuid?: string;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time when the session was created.

§
readonly creator?: string
[src]

Output only. The email address of the user who created the session.

§
environmentConfig?: EnvironmentConfig
[src]

Optional. Environment configuration for the session execution.

§
jupyterSession?: JupyterConfig
[src]

Optional. Jupyter session config.

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

Optional. The labels to associate with the session. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.

§
name?: string
[src]

Required. The resource name of the session.

§
runtimeConfig?: RuntimeConfig
[src]

Optional. Runtime configuration for the session execution.

§
readonly runtimeInfo?: RuntimeInfo
[src]

Output only. Runtime information about session execution.

§
sessionTemplate?: string
[src]

Optional. The session template used by the session.Only resource names, including project ID and location, are valid.Example: * https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id] * projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]The template must be in the same project and Dataproc region as the session.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "TERMINATING" | "TERMINATED" | "FAILED"
[src]

Output only. A state of the session.

§
readonly stateHistory?: SessionStateHistory[]
[src]

Output only. Historical state information for the session.

§
readonly stateMessage?: string
[src]

Output only. Session state details, such as the failure description if the state is FAILED.

§
readonly stateTime?: Date
[src]

Output only. The time when the session entered the current state.

§
user?: string
[src]

Optional. The email address of the user who owns the session.

§
readonly uuid?: string
[src]

Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.