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

Stream

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

A resource representing streaming data from a source to a destination.

interface Stream {
backfillAll?: BackfillAllStrategy;
backfillNone?: BackfillNoneStrategy;
readonly createTime?: Date;
customerManagedEncryptionKey?: string;
destinationConfig?: DestinationConfig;
displayName?: string;
readonly errors?: Error[];
labels?: {
[key: string]: string;
}
;
readonly lastRecoveryTime?: Date;
readonly name?: string;
sourceConfig?: SourceConfig;
state?:
| "STATE_UNSPECIFIED"
| "NOT_STARTED"
| "RUNNING"
| "PAUSED"
| "MAINTENANCE"
| "FAILED"
| "FAILED_PERMANENTLY"
| "STARTING"
| "DRAINING";
readonly updateTime?: Date;
}

§Properties

§

Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.

§

Do not automatically backfill any objects.

§
readonly createTime?: Date
[src]

Output only. The creation time of the stream.

§
customerManagedEncryptionKey?: string
[src]

Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.

§
destinationConfig?: DestinationConfig
[src]

Required. Destination connection profile configuration.

§
displayName?: string
[src]

Required. Display name.

§
readonly errors?: Error[]
[src]

Output only. Errors on the Stream.

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

Labels.

§
readonly lastRecoveryTime?: Date
[src]

Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.

§
readonly name?: string
[src]

Output only. The stream's name.

§
sourceConfig?: SourceConfig
[src]

Required. Source connection profile configuration.

§
state?: "STATE_UNSPECIFIED" | "NOT_STARTED" | "RUNNING" | "PAUSED" | "MAINTENANCE" | "FAILED" | "FAILED_PERMANENTLY" | "STARTING" | "DRAINING"
[src]

The state of the stream.

§
readonly updateTime?: Date
[src]

Output only. The last update time of the stream.