class documentation

class TransferSpec__OverwriteStrategy(Enum): (source)

View In Hierarchy

Undocumented

Constant __PROTO_DESCRIPTOR__ Protobuf enum descriptor from the registry.
Constant __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
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.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
__PROTO_DESCRIPTOR__ = (source)

Protobuf enum descriptor from the registry.

Value
REGISTRY.enum_descriptor('nebius.storage.v1.TransferSpec.OverwriteStrategy')
__PROTO_FULL_NAME__: str = (source)

Fully qualified protobuf enum name.

Value
'nebius.storage.v1.TransferSpec.OverwriteStrategy'
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