Interface MultiPartUploadHelper (7.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Package
@google-cloud/storage
Properties
bucket
fileName
partsMap
partsMap?: Map<number, string>;
uploadId
Methods
abortUpload()
abortUpload(): Promise<void>;
| Returns |
| Type |
Description |
Promise<void> |
|
completeUpload()
completeUpload(): Promise<GaxiosResponse | undefined>;
| Returns |
| Type |
Description |
Promise<GaxiosResponse | undefined> |
|
initiateUpload(headers)
initiateUpload(headers?: {
[key: string]: string;
}): Promise<void>;
| Parameter |
| Name |
Description |
headers |
{
[key: string]: string;
}
|
| Returns |
| Type |
Description |
Promise<void> |
|
uploadPart(partNumber, chunk, validation)
uploadPart(partNumber: number, chunk: Buffer, validation?: 'md5' | false): Promise<void>;
| Parameters |
| Name |
Description |
partNumber |
number
|
chunk |
Buffer
|
validation |
'md5' | false
|
| Returns |
| Type |
Description |
Promise<void> |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]