Package gcs-resumable-upload (6.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
Classes
Interfaces
Variables
PROTOCOL_REGEX
Functions
createURI(cfg)
export declare function createURI(cfg: UploadConfig): Promise
Returns |
Type |
Description |
Promise<string> |
|
createURI(cfg, callback)
export declare function createURI(cfg: UploadConfig, callback: CreateUriCallback): void;
Returns |
Type |
Description |
void |
|
upload(cfg)
export declare function upload(cfg: UploadConfig): Upload;
Returns |
Type |
Description |
Upload |
|
Type Aliases
CreateUriCallback
export type CreateUriCallback = (err: Error | null, uri?: string) => void;
PredefinedAcl
export type PredefinedAcl = 'authenticatedRead' | 'bucketOwnerFullControl' | 'bucketOwnerRead' | 'private' | 'projectPrivate' | 'publicRead';
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 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package gcs-resumable-upload (6.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [6.0.0 (latest)](/nodejs/docs/reference/gcs-resumable-upload/latest/overview)\n- [5.0.1](/nodejs/docs/reference/gcs-resumable-upload/5.0.1/overview)\n- [4.0.2](/nodejs/docs/reference/gcs-resumable-upload/4.0.2/overview)\n- [3.6.0](/nodejs/docs/reference/gcs-resumable-upload/3.6.0/overview)\n- [3.5.1](/nodejs/docs/reference/gcs-resumable-upload/3.5.1/overview)\n- [3.4.0](/nodejs/docs/reference/gcs-resumable-upload/3.4.0/overview)\n- [3.3.1](/nodejs/docs/reference/gcs-resumable-upload/3.3.1/overview)\n- [3.2.1](/nodejs/docs/reference/gcs-resumable-upload/3.2.1/overview) \n\nClasses\n-------\n\n### [Upload](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/upload)\n\nInterfaces\n----------\n\n### [ApiError](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/apierror)\n\n### [ConfigMetadata](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/configmetadata)\n\n### [Encryption](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/encryption)\n\n### [ErrorWithCode](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/errorwithcode)\n\n### [GoogleInnerError](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/googleinnererror)\n\n### [QueryParameters](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/queryparameters)\n\n### [RetryOptions](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/retryoptions)\n\n### [UploadConfig](/nodejs/docs/reference/gcs-resumable-upload/latest/gcs-resumable-upload/uploadconfig)\n\nVariables\n---------\n\n### PROTOCOL_REGEX\n\n PROTOCOL_REGEX: RegExp\n\nFunctions\n---------\n\n### createURI(cfg)\n\n export declare function createURI(cfg: UploadConfig): Promise\n\n### createURI(cfg, callback)\n\n export declare function createURI(cfg: UploadConfig, callback: CreateUriCallback): void;\n\n### upload(cfg)\n\n export declare function upload(cfg: UploadConfig): Upload;\n\nType Aliases\n------------\n\n### CreateUriCallback\n\n export type CreateUriCallback = (err: Error | null, uri?: string) =\u003e void;\n\n### PredefinedAcl\n\n export type PredefinedAcl = 'authenticatedRead' | 'bucketOwnerFullControl' | 'bucketOwnerRead' | 'private' | 'projectPrivate' | 'publicRead';"]]