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

    Represents the nebius.storage.v1alpha1.TransferSpec protobuf message.

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

    Indexable

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

      Represents the nebius.storage.v1alpha1.TransferSpec protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.storage.v1alpha1.TransferSpec protobuf message.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.storage.v1alpha1.TransferSpec"

    Contains the fully qualified protobuf type name.

    Contains the destination protobuf field.

    interIterationInterval?: Duration

    Time to wait between transfer iterations. Default is 15 minutes if not specified.

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

    Contains the source protobuf field.

    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.

    Type Declaration