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

ReplicationSpec

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

Specifies the configuration for a cross-bucket replication job. Cross-bucket replication copies new or updated objects from a source Cloud Storage bucket to a destination Cloud Storage bucket. Existing objects in the source bucket are not copied by a new cross-bucket replication job.

interface ReplicationSpec {
gcsDataSink?: GcsData;
gcsDataSource?: GcsData;
objectConditions?: ObjectConditions;
transferOptions?: TransferOptions;
}

§Properties

§
gcsDataSink?: GcsData
[src]

The Cloud Storage bucket to which to replicate objects.

§
gcsDataSource?: GcsData
[src]

The Cloud Storage bucket from which to replicate objects.

§
objectConditions?: ObjectConditions
[src]

Object conditions that determine which objects are transferred. For replication jobs, only include_prefixes and exclude_prefixes are supported.

§
transferOptions?: TransferOptions
[src]

Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.