GcsMultipartOptions
Defined in: src/providers/cloud/GcsProvider.ts:72
Resumable-upload session tuning for the GCS provider.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
enabled? | boolean | Enable 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? | number | Target 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? | number | Object size threshold above which a resumable session is used. Defaults to 8 MiB. | src/providers/cloud/GcsProvider.ts:82 |