Class ReplicationSpec
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.
Implements
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1.Data
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class ReplicationSpec : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GcsDataSink
The Cloud Storage bucket to which to replicate objects.
Declaration
[JsonProperty("gcsDataSink")]
public virtual GcsData GcsDataSink { get; set; }
Property Value
Type | Description |
---|---|
GcsData |
GcsDataSource
The Cloud Storage bucket from which to replicate objects.
Declaration
[JsonProperty("gcsDataSource")]
public virtual GcsData GcsDataSource { get; set; }
Property Value
Type | Description |
---|---|
GcsData |
ObjectConditions
Object conditions that determine which objects are transferred. For replication jobs, only
include_prefixes
and exclude_prefixes
are supported.
Declaration
[JsonProperty("objectConditions")]
public virtual ObjectConditions ObjectConditions { get; set; }
Property Value
Type | Description |
---|---|
ObjectConditions |
TransferOptions
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.
Declaration
[JsonProperty("transferOptions")]
public virtual TransferOptions TransferOptions { get; set; }
Property Value
Type | Description |
---|---|
TransferOptions |