class TransferSpec(pb_classes.Message): (source)
Constructor: TransferSpec(initial_message, source, destination, limiters, ...)
Undocumented
| Class | __ |
Undocumented |
| Class | __ |
Undocumented |
| Class | __ |
Undocumented |
| Class | __ |
Undocumented |
| Class | |
No class docstring; 2/2 properties, 0/1 class variable, 0/2 constant, 0/4 method documented |
| Class | |
No class docstring; 2/4 constants documented |
| Class | |
No class docstring; 1/1 property, 0/1 class variable, 0/2 constant, 0/3 method documented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Method | __dir__ |
Undocumented |
| Method | __init__ |
Create a wrapper around a protobuf message instance. |
| Method | after |
Undocumented |
| Method | after |
Undocumented |
| Method | destination |
Undocumented |
| Method | infinite |
Undocumented |
| Method | inter |
Undocumented |
| Method | limiters |
Undocumented |
| Method | overwrite |
Undocumented |
| Method | source |
Undocumented |
| Method | touch |
Undocumented |
| Constant | __PB2 |
Undocumented |
| Constant | __PY |
Undocumented |
| Class Variable | __mask |
Undocumented |
| Property | after |
Undocumented |
| Property | after |
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 |
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 |
Overwrite strategy set logic of overwrite already existed objects in destination bucket. |
| Property | source |
Source from which the transfer reads data. |
| Property | stop |
The stop condition is checked after every iteration. If the condition is met, the transfer will stop. |
| Property | touch |
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 |
Return the protobuf descriptor for this message class. |
| Class Method | is |
Return True if the field contains credentials. |
| Class Method | is |
Return True if the field is marked as sensitive. |
| Method | __repr__ |
Return a human-readable representation of the message, sanitizing sensitive fields. |
| Method | check |
Check explicit presence for a field in the protobuf message. |
| Method | get |
Build a reset mask for a full update of this message. |
| Method | get |
Return the tracked reset mask. |
| Method | is |
Return True if a field equals its default value. |
| Method | set |
Replace the tracked reset mask. |
| Method | which |
Return the set field name for a given oneof. |
| Instance Variable | __PB2 |
Protobuf message class associated with this wrapper. |
| Instance Variable | __pb2 |
Underlying protobuf message instance. |
| Method | _clear |
Clear a field and record it in the reset mask. |
| Method | _get |
Return a field value with optional wrapping and presence handling. |
| Method | _set |
Set a field value and update the reset mask. |
| Class Variable | __credentials |
Undocumented |
| Class Variable | __default |
Undocumented |
| Class Variable | __sensitive |
Undocumented |
| Instance Variable | __recorded |
Mask tracking fields cleared or set to default. |
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 | |
AttributeError | If the wrapper is missing required class metadata. |
def after_n_empty_iterations(self, value:
TransferSpec.StopConditionAfterNEmptyIterations | transfer_pb2.TransferSpec.StopConditionAfterNEmptyIterations | None):
(source)
¶
Undocumented
def after_one_iteration(self, value:
TransferSpec.StopConditionAfterOneIteration | transfer_pb2.TransferSpec.StopConditionAfterOneIteration | None):
(source)
¶
Undocumented
def destination(self, value:
TransferDestination | transfer_pb2.TransferDestination | None):
(source)
¶
Undocumented
def infinite(self, value:
TransferSpec.StopConditionInfinite | transfer_pb2.TransferSpec.StopConditionInfinite | None):
(source)
¶
Undocumented
def inter_iteration_interval(self, value:
duration_pb2.Duration | datetime.timedelta | None):
(source)
¶
Undocumented
def limiters(self, value:
TransferSpec.Limiters | transfer_pb2.TransferSpec.Limiters | None):
(source)
¶
Undocumented
def overwrite_strategy(self, value:
TransferSpec.OverwriteStrategy | transfer_pb2.TransferSpec.OverwriteStrategy | None):
(source)
¶
Undocumented
def source(self, value:
TransferSource | transfer_pb2.TransferSource | None):
(source)
¶
Undocumented
Undocumented
| Value |
|
Undocumented
| Value |
|
after_n_empty_iterations:
TransferSpec.StopConditionAfterNEmptyIterations | None =
(source)
¶
Undocumented
after_one_iteration:
TransferSpec.StopConditionAfterOneIteration | None =
(source)
¶
Undocumented
The time to wait since the previous iteration before starting the next one. Default is 15 minutes if not specified.
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.
stop_condition:
__OneOfClass_stop_condition_after_one_iteration__ | __OneOfClass_stop_condition_after_n_empty_iterations__ | __OneOfClass_stop_condition_infinite__ | None =
(source)
¶
The stop condition is checked after every iteration. If the condition is met, the transfer will stop.