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
§
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.