public sealed class ReplicationSpec : IMessage<ReplicationSpec>, IEquatable<ReplicationSpec>, IDeepCloneable<ReplicationSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Storage Transfer v1 API 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
IMessageReplicationSpec, IEquatableReplicationSpec, IDeepCloneableReplicationSpec, IBufferMessage, IMessageNamespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Constructors
ReplicationSpec()
public ReplicationSpec()
ReplicationSpec(ReplicationSpec)
public ReplicationSpec(ReplicationSpec other)
Parameter | |
---|---|
Name | Description |
other |
ReplicationSpec |
Properties
DataSinkCase
public ReplicationSpec.DataSinkOneofCase DataSinkCase { get; }
Property Value | |
---|---|
Type | Description |
ReplicationSpecDataSinkOneofCase |
DataSourceCase
public ReplicationSpec.DataSourceOneofCase DataSourceCase { get; }
Property Value | |
---|---|
Type | Description |
ReplicationSpecDataSourceOneofCase |
GcsDataSink
public GcsData GcsDataSink { get; set; }
The Cloud Storage bucket to which to replicate objects.
Property Value | |
---|---|
Type | Description |
GcsData |
GcsDataSource
public GcsData GcsDataSource { get; set; }
The Cloud Storage bucket from which to replicate objects.
Property Value | |
---|---|
Type | Description |
GcsData |
ObjectConditions
public ObjectConditions ObjectConditions { get; set; }
Object conditions that determine which objects are transferred. For
replication jobs, only include_prefixes
and exclude_prefixes
are
supported.
Property Value | |
---|---|
Type | Description |
ObjectConditions |
TransferOptions
public TransferOptions TransferOptions { get; set; }
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][google.rpc.Code.INVALID_ARGUMENT] error.
Property Value | |
---|---|
Type | Description |
TransferOptions |