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/dataflow:v1b3.ts";

Represents a snapshot of a job.

interface Snapshot {
creationTime?: Date;
description?: string;
diskSizeBytes?: bigint;
id?: string;
projectId?: string;
pubsubMetadata?: PubsubSnapshotMetadata[];
region?: string;
sourceJobId?: string;
state?:
| "UNKNOWN_SNAPSHOT_STATE"
| "PENDING"
| "RUNNING"
| "READY"
| "FAILED"
| "DELETED";
ttl?: number;
}

§Properties

§
creationTime?: Date
[src]

The time this snapshot was created.

§
description?: string
[src]

User specified description of the snapshot. Maybe empty.

§
diskSizeBytes?: bigint
[src]

The disk byte size of the snapshot. Only available for snapshots in READY state.

§
id?: string
[src]

The unique ID of this snapshot.

§
projectId?: string
[src]

The project this snapshot belongs to.

§
pubsubMetadata?: PubsubSnapshotMetadata[]
[src]

Pub/Sub snapshot metadata.

§
region?: string
[src]

Cloud region where this snapshot lives in, e.g., "us-central1".

§
sourceJobId?: string
[src]

The job this snapshot was created from.

§
state?: "UNKNOWN_SNAPSHOT_STATE" | "PENDING" | "RUNNING" | "READY" | "FAILED" | "DELETED"
[src]

State of the snapshot.

§
ttl?: number
[src]

The time after which this snapshot will be automatically deleted.