@nebius/js-sdk - v0.2.3
    Preparing search index...

    Interface TransferSpec

    interface TransferSpec {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1.TransferSpec";
        destination?: TransferDestination;
        interIterationInterval?: Duration;
        limiters?: TransferSpec_Limiters;
        overwriteStrategy: TransferSpec_OverwriteStrategy;
        source?: TransferSource;
        stopCondition?:
            | {
                $case: "afterOneIteration";
                afterOneIteration: TransferSpec_StopConditionAfterOneIteration;
            }
            | {
                $case: "afterNEmptyIterations";
                afterNEmptyIterations: TransferSpec_StopConditionAfterNEmptyIterations;
            }
            | { $case: "infinite"; infinite: TransferSpec_StopConditionInfinite };
        touchUnmanaged: boolean;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined
    Index

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.storage.v1.TransferSpec"
    destination?: TransferDestination

    Destination to which the transfer writes data.

    interIterationInterval?: Duration

    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.

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

    Source from which the transfer reads data.

    stopCondition?:
        | {
            $case: "afterOneIteration";
            afterOneIteration: TransferSpec_StopConditionAfterOneIteration;
        }
        | {
            $case: "afterNEmptyIterations";
            afterNEmptyIterations: TransferSpec_StopConditionAfterNEmptyIterations;
        }
        | { $case: "infinite"; infinite: TransferSpec_StopConditionInfinite }

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

    touchUnmanaged: boolean

    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.