ReplicationSpec class

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.

Constructors

ReplicationSpec.new({GcsData? gcsDataSink, GcsData? gcsDataSource, ObjectConditions? objectConditions, TransferOptions? transferOptions})
ReplicationSpec.fromJson(Map json_)

Properties

gcsDataSink GcsData?
The Cloud Storage bucket to which to replicate objects.
getter/setter pair
gcsDataSource GcsData?
The Cloud Storage bucket from which to replicate objects.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
objectConditions ObjectConditions?
Object conditions that determine which objects are transferred.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferOptions TransferOptions?
Specifies the metadata options to be applied during replication.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited