@backblaze-labs/b2-sdk - v0.4.0
    Preparing search index...

    Interface UnfinishedLargeFileMetadata

    Optional metadata fields B2 may return for unfinished large-file records.

    interface UnfinishedLargeFileMetadata {
        action?: FileAction;
        contentLength?: number;
        contentMd5?: string | null;
        contentSha1?: string | null;
        fileRetention?: ReadableFileRetention;
        legalHold?: ReadableLegalHold;
        replicationStatus?: ReplicationStatus;
        serverSideEncryption?: PublicEncryptionSetting;
        uploadTimestamp?: number;
    }

    Hierarchy (View Summary)

    Index
    action?: FileAction

    Action that created this unfinished file version.

    contentLength?: number

    When present, always 0 for unfinished large files.

    contentMd5?: string | null

    When present, always null for unfinished large files.

    contentSha1?: string | null

    When present for documented B2 unfinished large files, this is null: B2's 'none' wire sentinel is normalized to null. If B2 omits the field, it remains undefined; the string arm is retained for forward-compatible or non-standard response values.

    fileRetention?: ReadableFileRetention

    Object Lock retention settings for this unfinished file, when readable.

    legalHold?: ReadableLegalHold

    Legal hold status for this unfinished file, when readable.

    replicationStatus?: ReplicationStatus

    Uppercase B2 replication status when this unfinished file is covered by a replication rule.

    serverSideEncryption?: PublicEncryptionSetting

    Server-side encryption applied to this unfinished file.

    uploadTimestamp?: number

    UTC timestamp (milliseconds) when this unfinished upload was started.