class documentation

class OverwriteStrategy(pb_enum.Enum): (source)

View In Hierarchy

Undocumented

Constant __PB2_DESCRIPTOR__ Undocumented
Constant IF_NEWER Overwrite only if source object is newer than destination. Comparison based on Last-Modified timestamp. Recommended for incremental sync scenarios. If touch_unmanaged flag isn't set, we do not overwrite objects that haven't been created by Data Transfer service.
Constant NEVER Never overwrite objects that exist in the destination. If object exists in destination bucket, skip it. Safest option to prevent any data loss.
Constant OVERWRITE_STRATEGY_UNSPECIFIED Undocumented

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.EnumDescriptor]('.nebius.storage.v1.Trans
ferSpec.OverwriteStrategy',
                                                       transfer_pb2.DESCRIPTOR,
                                                       descriptor_1.EnumDescriptor
)
IF_NEWER: int = (source)

Overwrite only if source object is newer than destination. Comparison based on Last-Modified timestamp. Recommended for incremental sync scenarios. If touch_unmanaged flag isn't set, we do not overwrite objects that haven't been created by Data Transfer service.

Value
2

Never overwrite objects that exist in the destination. If object exists in destination bucket, skip it. Safest option to prevent any data loss.

Value
1
OVERWRITE_STRATEGY_UNSPECIFIED: int = (source)

Undocumented

Value
0