Interface MultiPartUploadHelper (7.16.0)

Package

@google-cloud/storage

Properties

bucket

bucket:Bucket;

fileName

fileName:string;

partsMap

partsMap?:Map<number,string>;

uploadId

uploadId?:string;

Methods

abortUpload()

abortUpload():Promise<void>;
Returns
TypeDescription
Promise<void>

completeUpload()

completeUpload():Promise<GaxiosResponse|undefined>;
Returns
TypeDescription
Promise<GaxiosResponse | undefined>

initiateUpload(headers)

initiateUpload(headers?:{[key:string]:string;}):Promise<void>;
Parameter
NameDescription
headers{ [key: string]: string; }
Returns
TypeDescription
Promise<void>

uploadPart(partNumber, chunk, validation)

uploadPart(partNumber:number,chunk:Buffer,validation?:'md5'|false):Promise<void>;
Parameters
NameDescription
partNumbernumber
chunkBuffer
validation'md5' | false
Returns
TypeDescription
Promise<void>

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.