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
§
backfillAll?: BackfillAllStrategy
[src]Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
§
backfillNone?: BackfillNoneStrategy
[src]Do not automatically backfill any objects.
§
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.
§
readonly lastRecoveryTime?: Date
[src]Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.
§
sourceConfig?: SourceConfig
[src]Required. Source connection profile configuration.