TransferOptions class

TransferOptions define the actions to be performed on objects in a transfer.

Constructors

TransferOptions({Input<bool>? deleteObjectsFromSourceAfterTransfer, Input<bool>? deleteObjectsUniqueInSink, Input<MetadataOptions>? metadataOptions, Input<bool>? overwriteObjectsAlreadyExistingInSink, Input<TransferOptionsOverwriteWhen>? overwriteWhen})
Creates a new TransferOptions. deleteObjectsFromSourceAfterTransfer Whether objects should be deleted from the source after they are transferred to the sink. Note: This option and delete_objects_unique_in_sink are mutually exclusive. deleteObjectsUniqueInSink Whether objects that exist only in the sink should be deleted. Note: This option and delete_objects_from_source_after_transfer are mutually exclusive. metadataOptions Represents the selected metadata options for a transfer job. overwriteObjectsAlreadyExistingInSink When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object. overwriteWhen When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.
const
TransferOptions.fromMap(Map<String, dynamic> map)
factory

Properties

deleteObjectsFromSourceAfterTransfer → Input<bool>?
Whether objects should be deleted from the source after they are transferred to the sink. Note: This option and delete_objects_unique_in_sink are mutually exclusive.
final
deleteObjectsUniqueInSink → Input<bool>?
Whether objects that exist only in the sink should be deleted. Note: This option and delete_objects_from_source_after_transfer are mutually exclusive.
final
hashCode → int
The hash code for this object.
no setterinherited
metadataOptions → Input<MetadataOptions>?
Represents the selected metadata options for a transfer job.
final
overwriteObjectsAlreadyExistingInSink → Input<bool>?
When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
final
overwriteWhen → Input<TransferOptionsOverwriteWhen>?
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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