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/spanner:v1.ts";

A session in the Cloud Spanner API.

interface Session {
readonly approximateLastUseTime?: Date;
readonly createTime?: Date;
creatorRole?: string;
labels?: {
[key: string]: string;
}
;
multiplexed?: boolean;
readonly name?: string;
}

§Properties

§
readonly approximateLastUseTime?: Date
[src]

Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.

§
readonly createTime?: Date
[src]

Output only. The timestamp when the session is created.

§
creatorRole?: string
[src]

The database role which created this session.

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

The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels.

§
multiplexed?: boolean
[src]

Optional. If true, specifies a multiplexed session. A multiplexed session may be used for multiple, concurrent read-only operations but can not be used for read-write transactions, partitioned reads, or partitioned queries. Multiplexed sessions can be created via CreateSession but not via BatchCreateSessions. Multiplexed sessions may not be deleted nor listed.

§
readonly name?: string
[src]

Output only. The name of the session. This is always system-assigned.