Stay organized with collections
Save and categorize content based on your preferences.
Properties
Optional cacheControl
cacheControl: string | null
Optional contentDisposition
contentDisposition: string | null
Optional contentEncoding
contentEncoding: string | null
Optional contentLanguage
contentLanguage: string | null
Optional contentType
contentType: string | null
customMetadata: {} | null
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 2022-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["- [firebase](/docs/reference/js/v8/firebase).\n- [storage](/docs/reference/js/v8/firebase.storage).\n- SettableMetadata \nObject metadata that can be set at any time.\n\nIndex\n\nProperties\n\n- [cacheControl](/docs/reference/js/v8/firebase.storage.SettableMetadata#cachecontrol)\n- [contentDisposition](/docs/reference/js/v8/firebase.storage.SettableMetadata#contentdisposition)\n- [contentEncoding](/docs/reference/js/v8/firebase.storage.SettableMetadata#contentencoding)\n- [contentLanguage](/docs/reference/js/v8/firebase.storage.SettableMetadata#contentlanguage)\n- [contentType](/docs/reference/js/v8/firebase.storage.SettableMetadata#contenttype)\n- [customMetadata](/docs/reference/js/v8/firebase.storage.SettableMetadata#custommetadata)\n\nProperties\n\nOptional cacheControl \ncacheControl: string \\| null \nServed as the 'Cache-Control' header on object download.\n\nOptional contentDisposition \ncontentDisposition: string \\| null\n\nOptional contentEncoding \ncontentEncoding: string \\| null \nServed as the 'Content-Encoding' header on object download.\n\nOptional contentLanguage \ncontentLanguage: string \\| null \nServed as the 'Content-Language' header on object download.\n\nOptional contentType \ncontentType: string \\| null \nServed as the 'Content-Type' header on object download.\n\nOptional customMetadata \ncustomMetadata: {} \\| null \nAdditional user-defined custom metadata."]]
Object metadata that can be set at any time.