Skip to content

GoogleDriveMultipartOptions

Defined in: src/providers/cloud/GoogleDriveProvider.ts:87

Resumable-session upload tuning for the Google Drive provider.

PropertyTypeDescriptionDefined in
enabled?booleanEnable resumable upload sessions (uploadType=resumable). Defaults to true so payloads above GoogleDriveMultipartOptions.thresholdBytes stream in fixed-size chunks instead of being buffered into a single multipart/related request. Set to false to force single-shot uploads.src/providers/cloud/GoogleDriveProvider.ts:95
partSizeBytes?numberBytes per session chunk. Defaults to 8 MiB; must be a multiple of 256 KiB.src/providers/cloud/GoogleDriveProvider.ts:99
thresholdBytes?numberPayload size threshold above which a resumable session is used. Defaults to 8 MiB.src/providers/cloud/GoogleDriveProvider.ts:97