class documentation

class OverwriteStrategy(pb_enum.Enum): (source)

View In Hierarchy

Undocumented

Constant __PB2_DESCRIPTOR__ Undocumented
Constant ALWAYS Always overwrite destination objects unconditionally. Use with caution - may cause data loss in destination. Suitable for full bucket synchronization.
Constant IF_NEWER Overwrite only if source object is newer than destination. Comparison based on Last-Modified timestamp. Recommended for incremental sync scenarios.
Constant NEVER Never overwrite objects that exist in the destination. If object exists in destination bucket, skip it. Safest option to prevent data loss.
Constant OVERWRITE_STRATEGY_UNSPECIFIED Undocumented

Inherited from Enum:

Class Method get_descriptor Undocumented
__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.EnumDescriptor]('.nebius.storage.v1alpha1
.TransferSpec.OverwriteStrategy',
                                                       transfer_pb2.DESCRIPTOR,
                                                       descriptor_1.EnumDescriptor
)

Always overwrite destination objects unconditionally. Use with caution - may cause data loss in destination. Suitable for full bucket synchronization.

Value
3
IF_NEWER: int = (source)

Overwrite only if source object is newer than destination. Comparison based on Last-Modified timestamp. Recommended for incremental sync scenarios.

Value
2

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

Value
1
OVERWRITE_STRATEGY_UNSPECIFIED: int = (source)

Undocumented

Value
0