Interface UploadOptions (5.15.6)

Package

@google-cloud/storage

Properties

destination

destination?:string|File;
Property Value
TypeDescription
string |File

encryptionKey

encryptionKey?:string|Buffer;
Property Value
TypeDescription
string |__global.Buffer

kmsKeyName

kmsKeyName?:string;
Property Value
TypeDescription
string

onUploadProgress

onUploadProgress?:(progressEvent:any)=>void;
Property Value
TypeDescription
(progressEvent: any) => void

resumable

resumable?:boolean;
Property Value
TypeDescription
boolean

timeout

timeout?:number;
Property Value
TypeDescription
number

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.