ReadonlyauthorizationAuthorization token from b2_get_upload_url.
Optional ReadonlycacheOptional Cache-Control header value for downloads.
Optional ReadonlycontentOptional Content-Disposition header value for downloads.
Optional ReadonlycontentOptional Content-Encoding header value for downloads.
Optional ReadonlycontentOptional Content-Language header value for downloads.
ReadonlycontentSize of the file content in bytes.
ReadonlycontentSHA-1 checksum of the content, or 'hex_digits_at_end' / 'do_not_verify' for deferred verification.
ReadonlycontentMIME type of the file. Use 'b2/x-auto' for automatic detection.
Optional ReadonlycustomOptional B2 upload timestamp override in milliseconds since epoch.
Sets the file version uploadTimestamp; distinct from lastModifiedMillis metadata.
Requires B2 account enablement for Custom Upload Timestamp.
Optional ReadonlyexpiresOptional Expires header value for downloads.
Optional ReadonlyfileOptional user-defined key-value metadata for the file.
ReadonlyfileURL-encoded file name including path within the bucket.
Optional ReadonlyfileOptional Object Lock retention for the file.
Optional ReadonlylastOptional last-modified timestamp in milliseconds (stored as src_last_modified_millis in file info).
Optional ReadonlylegalOptional legal hold for the file.
Optional ReadonlyserverOptional server-side encryption setting.
Headers required when uploading a file via
b2_upload_file. Sent as HTTP headers on the upload POST request.Pass
contentDisposition,contentLanguage,expires,cacheControl, andcontentEncodingas raw (unencoded) download-header values. The SDK percent-encodes them as B2 file-info metadata when uploading.