class documentation

Undocumented

Class __OneOfClass_stop_condition__ Undocumented
Class __OneOfClass_stop_condition_after_n_empty_iterations__ Undocumented
Class __OneOfClass_stop_condition_after_one_iteration__ Undocumented
Class __OneOfClass_stop_condition_infinite__ Undocumented
Class Limiters No class docstring; 2/2 properties, 0/1 class variable, 0/2 constant, 0/4 method documented
Class OverwriteStrategy No class docstring; 2/4 constants documented
Class StopConditionAfterNEmptyIterations No class docstring; 1/1 property, 0/1 class variable, 0/2 constant, 0/3 method documented
Class StopConditionAfterOneIteration Undocumented
Class StopConditionInfinite Undocumented
Method __dir__ Undocumented
Method __init__ Create a wrapper around a protobuf message instance.
Method after_n_empty_iterations.setter Undocumented
Method after_one_iteration.setter Undocumented
Method destination.setter Undocumented
Method infinite.setter Undocumented
Method inter_iteration_interval.setter Undocumented
Method limiters.setter Undocumented
Method overwrite_strategy.setter Undocumented
Method source.setter Undocumented
Method touch_unmanaged.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property after_n_empty_iterations Undocumented
Property after_one_iteration Undocumented
Property destination Destination to which the transfer writes data.
Property infinite Infinite transfers do not stop automatically and can be stopped manually by the user.
Property inter_iteration_interval The time to wait since the previous iteration before starting the next one. Default is 15 minutes if not specified.
Property limiters Limiters applied to source bucket operations. These limits include all operations required for transfer (HeadObject, GetObject, ListObjects). For details about which operations are used, see public documentation: ...
Property overwrite_strategy Overwrite strategy set logic of overwrite already existed objects in destination bucket.
Property source Source from which the transfer reads data.
Property stop_condition The stop condition is checked after every iteration. If the condition is met, the transfer will stop.
Property touch_unmanaged If touch_unmanaged flag is set, service will be allowed to overwrite and delete from destination objects that were not created by Data Transfer Service. If this flag is false, Data Transfer Service will never overwrite or delete objects that haven't been created by Data Transfer service.

Inherited from Message:

Class Method get_descriptor Return the protobuf descriptor for this message class.
Class Method is_credentials Return True if the field contains credentials.
Class Method is_sensitive Return True if the field is marked as sensitive.
Method __repr__ Return a human-readable representation of the message, sanitizing sensitive fields.
Method check_presence Check explicit presence for a field in the protobuf message.
Method get_full_update_reset_mask Build a reset mask for a full update of this message.
Method get_mask Return the tracked reset mask.
Method is_default Return True if a field equals its default value.
Method set_mask Replace the tracked reset mask.
Method which_field_in_oneof Return the set field name for a given oneof.
Instance Variable __PB2_CLASS__ Protobuf message class associated with this wrapper.
Instance Variable __pb2_message__ Underlying protobuf message instance.
Method _clear_field Clear a field and record it in the reset mask.
Method _get_field Return a field value with optional wrapping and presence handling.
Method _set_field Set a field value and update the reset mask.
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Mask tracking fields cleared or set to default.
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, source: TransferSource | transfer_pb2.TransferSource | None | unset.UnsetType = unset.Unset, destination: TransferDestination | transfer_pb2.TransferDestination | None | unset.UnsetType = unset.Unset, limiters: TransferSpec.Limiters | transfer_pb2.TransferSpec.Limiters | None | unset.UnsetType = unset.Unset, after_one_iteration: TransferSpec.StopConditionAfterOneIteration | transfer_pb2.TransferSpec.StopConditionAfterOneIteration | None | unset.UnsetType = unset.Unset, after_n_empty_iterations: TransferSpec.StopConditionAfterNEmptyIterations | transfer_pb2.TransferSpec.StopConditionAfterNEmptyIterations | None | unset.UnsetType = unset.Unset, infinite: TransferSpec.StopConditionInfinite | transfer_pb2.TransferSpec.StopConditionInfinite | None | unset.UnsetType = unset.Unset, inter_iteration_interval: duration_pb2.Duration | datetime.timedelta | None | unset.UnsetType = unset.Unset, overwrite_strategy: TransferSpec.OverwriteStrategy | transfer_pb2.TransferSpec.OverwriteStrategy | None | unset.UnsetType = unset.Unset, touch_unmanaged: builtins.bool | None | unset.UnsetType = unset.Unset): (source)

Create a wrapper around a protobuf message instance.

Raises
AttributeErrorIf the wrapper is missing required class metadata.
@after_n_empty_iterations.setter
def after_n_empty_iterations(self, value: TransferSpec.StopConditionAfterNEmptyIterations | transfer_pb2.TransferSpec.StopConditionAfterNEmptyIterations | None): (source)

Undocumented

@after_one_iteration.setter
def after_one_iteration(self, value: TransferSpec.StopConditionAfterOneIteration | transfer_pb2.TransferSpec.StopConditionAfterOneIteration | None): (source)

Undocumented

@destination.setter
def destination(self, value: TransferDestination | transfer_pb2.TransferDestination | None): (source)

Undocumented

@infinite.setter
def infinite(self, value: TransferSpec.StopConditionInfinite | transfer_pb2.TransferSpec.StopConditionInfinite | None): (source)

Undocumented

@inter_iteration_interval.setter
def inter_iteration_interval(self, value: duration_pb2.Duration | datetime.timedelta | None): (source)

Undocumented

@limiters.setter
def limiters(self, value: TransferSpec.Limiters | transfer_pb2.TransferSpec.Limiters | None): (source)

Undocumented

@overwrite_strategy.setter
def overwrite_strategy(self, value: TransferSpec.OverwriteStrategy | transfer_pb2.TransferSpec.OverwriteStrategy | None): (source)

Undocumented

@source.setter
def source(self, value: TransferSource | transfer_pb2.TransferSource | None): (source)

Undocumented

@touch_unmanaged.setter
def touch_unmanaged(self, value: builtins.bool | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.storage.v1.TransferS
pec',
                                                   transfer_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'source': 'source',
 'destination': 'destination',
 'limiters': 'limiters',
 'after_one_iteration': 'after_one_iteration',
 'after_n_empty_iterations': 'after_n_empty_iterations',
 'infinite': 'infinite',
 'inter_iteration_interval': 'inter_iteration_interval',
...
@builtins.property
after_n_empty_iterations: TransferSpec.StopConditionAfterNEmptyIterations | None = (source)

Undocumented

@builtins.property
after_one_iteration: TransferSpec.StopConditionAfterOneIteration | None = (source)

Undocumented

@builtins.property
destination: TransferDestination = (source)

Destination to which the transfer writes data.

Infinite transfers do not stop automatically and can be stopped manually by the user.

@builtins.property
inter_iteration_interval: datetime.timedelta = (source)

The time to wait since the previous iteration before starting the next one. Default is 15 minutes if not specified.

@builtins.property
limiters: TransferSpec.Limiters = (source)

Limiters applied to source bucket operations. These limits include all operations required for transfer (HeadObject, GetObject, ListObjects). For details about which operations are used, see public documentation: http://docs.nebius.com/object-storage/transfer/quickstart#background.

Note: Since the service performs comparable request volumes and data transfers to both source and destination, these limits will indirectly constrain destination operations as well.

@builtins.property
overwrite_strategy: TransferSpec.OverwriteStrategy = (source)

Overwrite strategy set logic of overwrite already existed objects in destination bucket.

@builtins.property
source: TransferSource = (source)

Source from which the transfer reads data.

The stop condition is checked after every iteration. If the condition is met, the transfer will stop.

@builtins.property
touch_unmanaged: builtins.bool = (source)

If touch_unmanaged flag is set, service will be allowed to overwrite and delete from destination objects that were not created by Data Transfer Service. If this flag is false, Data Transfer Service will never overwrite or delete objects that haven't been created by Data Transfer service.