[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/node/firebase).\n- [storage](/docs/reference/node/firebase.storage).\n- Storage \nThe Firebase Storage service interface.\n\nDo not call this constructor directly. Instead, use\n[`firebase.storage()`](/docs/reference/node/firebase.storage).\n\nSee\n[Get Started on Web](https://firebase.google.com/docs/storage/web/start/)\nfor a full guide on how to use the Firebase Storage service.\n\nIndex\n\nProperties\n\n- [app](/docs/reference/node/firebase.storage.Storage#app)\n- [maxOperationRetryTime](/docs/reference/node/firebase.storage.Storage#maxoperationretrytime)\n- [maxUploadRetryTime](/docs/reference/node/firebase.storage.Storage#maxuploadretrytime)\n\nMethods\n\n- [ref](/docs/reference/node/firebase.storage.Storage#ref)\n- [refFromURL](/docs/reference/node/firebase.storage.Storage#reffromurl)\n- [setMaxOperationRetryTime](/docs/reference/node/firebase.storage.Storage#setmaxoperationretrytime)\n- [setMaxUploadRetryTime](/docs/reference/node/firebase.storage.Storage#setmaxuploadretrytime)\n- [useEmulator](/docs/reference/node/firebase.storage.Storage#useemulator)\n\nProperties\n\napp \napp: [App](/docs/reference/node/firebase.app.App) \nThe [app](/docs/reference/node/firebase.app.App) associated with the `Storage` service\ninstance.\n\nexample\n:\n\n var app = storage.app;\n\n\nmaxOperationRetryTime \nmaxOperationRetryTime: number \nThe maximum time to retry operations other than uploads or downloads in\nmilliseconds.\n\nmaxUploadRetryTime \nmaxUploadRetryTime: number \nThe maximum time to retry uploads in milliseconds.\n\nMethods\n\nref\n\n- ref ( path ? : string ) : [Reference](/docs/reference/node/firebase.storage.Reference)\n- Returns a reference for the given path in the default bucket.\n\n Parameters\n -\n\n Optional path: string \n A relative path to initialize the reference with,\n for example `path/to/image.jpg`. If not passed, the returned reference\n points to the bucket root.\n\n Returns [Reference](/docs/reference/node/firebase.storage.Reference)\n\n A reference for the given path.\n\nrefFromURL\n\n- refFromURL ( url : string ) : [Reference](/docs/reference/node/firebase.storage.Reference)\n- Returns a reference for the given absolute URL.\n\n Parameters\n -\n\n url: string \n A URL in the form: \n\n 1) a gs:// URL, for example `gs://bucket/files/image.png` \n\n 2) a download URL taken from object metadata. \n\n Returns [Reference](/docs/reference/node/firebase.storage.Reference)\n\n A reference for the given URL.\n\nsetMaxOperationRetryTime\n\n- setMaxOperationRetryTime ( time : number ) : any\n-\n\n see\n\n : [firebase.storage.Storage.maxOperationRetryTime](/docs/reference/node/firebase.storage.Storage#maxoperationretrytime)\n\n Parameters\n -\n\n time: number \n The new maximum operation retry time in milliseconds.\n\n Returns any\n\nsetMaxUploadRetryTime\n\n- setMaxUploadRetryTime ( time : number ) : any\n-\n\n see\n\n : [firebase.storage.Storage.maxUploadRetryTime](/docs/reference/node/firebase.storage.Storage#maxuploadretrytime)\n\n Parameters\n -\n\n time: number \n The new maximum upload retry time in milliseconds.\n\n Returns any\n\nuseEmulator\n\n- useEmulator ( host : string , port : number , options ? : { mockUserToken ?: [EmulatorMockTokenOptions](/docs/reference/node/firebase#emulatormocktokenoptions) \\| string } ) : void\n- Modify this `Storage` instance to communicate with the Cloud Storage emulator.\n\n Parameters\n -\n\n host: string \n The emulator host (ex: localhost)\n -\n\n port: number \n The emulator port (ex: 5001)\n -\n\n Optional options: { mockUserToken?: [EmulatorMockTokenOptions](/docs/reference/node/firebase#emulatormocktokenoptions) \\| string }\n -\n\n Optional mockUserToken?: [EmulatorMockTokenOptions](/docs/reference/node/firebase#emulatormocktokenoptions) \\| string \n the mock auth token to use for unit testing Security Rules\n\nReturns void"]]
The Firebase Storage service interface.
Do not call this constructor directly. Instead, use
firebase.storage()
.See Get Started on Web for a full guide on how to use the Firebase Storage service.