Skip to content

GcsMultipartOptions

Defined in: src/providers/cloud/GcsProvider.ts:72

Resumable-upload session tuning for the GCS provider.

PropertyTypeDescriptionDefined in
enabled?booleanEnable resumable upload sessions. Defaults to true so payloads above GcsMultipartOptions.thresholdBytes stream in fixed-size chunks via the resumable session endpoint instead of being buffered into a single uploadType=media POST. Set to false to force the legacy single-shot behaviour.src/providers/cloud/GcsProvider.ts:80
partSizeBytes?numberTarget chunk size in bytes. Must be a multiple of 256 KiB per the GCS protocol (the final chunk is exempt). Defaults to 8 MiB.src/providers/cloud/GcsProvider.ts:87
thresholdBytes?numberObject size threshold above which a resumable session is used. Defaults to 8 MiB.src/providers/cloud/GcsProvider.ts:82