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

Snapshot

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

A Filestore snapshot.

interface Snapshot {
readonly createTime?: Date;
description?: string;
readonly filesystemUsedBytes?: bigint;
labels?: {
[key: string]: string;
}
;
readonly name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "READY"
| "DELETING";
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time when the snapshot was created.

§
description?: string
[src]

A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.

§
readonly filesystemUsedBytes?: bigint
[src]

Output only. The amount of bytes needed to allocate a full copy of the snapshot content

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

Resource labels to represent user provided metadata.

§
readonly name?: string
[src]

Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING"
[src]

Output only. The snapshot state.