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,["# SettableMetadata | JavaScript SDK\n\n- [firebase](/docs/reference/node/firebase).\n- [storage](/docs/reference/node/firebase.storage).\n- SettableMetadata\n===================================================================================================================\n\nObject metadata that can be set at any time.\n\nIndex\n-----\n\n### Properties\n\n- [cacheControl](/docs/reference/node/firebase.storage.SettableMetadata#cachecontrol)\n- [contentDisposition](/docs/reference/node/firebase.storage.SettableMetadata#contentdisposition)\n- [contentEncoding](/docs/reference/node/firebase.storage.SettableMetadata#contentencoding)\n- [contentLanguage](/docs/reference/node/firebase.storage.SettableMetadata#contentlanguage)\n- [contentType](/docs/reference/node/firebase.storage.SettableMetadata#contenttype)\n- [customMetadata](/docs/reference/node/firebase.storage.SettableMetadata#custommetadata)\n\nProperties\n----------\n\n### Optional cacheControl\n\ncacheControl: string \\| null \nServed as the 'Cache-Control' header on object download.\n\n### Optional contentDisposition\n\ncontentDisposition: string \\| null\n\n### Optional contentEncoding\n\ncontentEncoding: string \\| null \nServed as the 'Content-Encoding' header on object download.\n\n### Optional contentLanguage\n\ncontentLanguage: string \\| null \nServed as the 'Content-Language' header on object download.\n\n### Optional contentType\n\ncontentType: string \\| null \nServed as the 'Content-Type' header on object download.\n\n### Optional customMetadata\n\ncustomMetadata: {} \\| null \nAdditional user-defined custom metadata."]]
Object metadata that can be set at any time.