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
fullPath
fullPath: string
generation
generation: string
Optional md5Hash
md5Hash: string | null
timeCreated
timeCreated: string
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- FullMetadata \nThe full set of object metadata, including read-only properties.\n\nIndex\n\nProperties\n\n- [bucket](/docs/reference/js/v8/firebase.storage.FullMetadata#bucket)\n- [cacheControl](/docs/reference/js/v8/firebase.storage.FullMetadata#cachecontrol)\n- [contentDisposition](/docs/reference/js/v8/firebase.storage.FullMetadata#contentdisposition)\n- [contentEncoding](/docs/reference/js/v8/firebase.storage.FullMetadata#contentencoding)\n- [contentLanguage](/docs/reference/js/v8/firebase.storage.FullMetadata#contentlanguage)\n- [contentType](/docs/reference/js/v8/firebase.storage.FullMetadata#contenttype)\n- [customMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata#custommetadata)\n- [fullPath](/docs/reference/js/v8/firebase.storage.FullMetadata#fullpath)\n- [generation](/docs/reference/js/v8/firebase.storage.FullMetadata#generation)\n- [md5Hash](/docs/reference/js/v8/firebase.storage.FullMetadata#md5hash)\n- [metageneration](/docs/reference/js/v8/firebase.storage.FullMetadata#metageneration)\n- [name](/docs/reference/js/v8/firebase.storage.FullMetadata#name)\n- [size](/docs/reference/js/v8/firebase.storage.FullMetadata#size)\n- [timeCreated](/docs/reference/js/v8/firebase.storage.FullMetadata#timecreated)\n- [updated](/docs/reference/js/v8/firebase.storage.FullMetadata#updated)\n\nProperties\n\nbucket \nbucket: string \nThe bucket this object is contained in.\n\nOptional cacheControl \ncacheControl: string \\| null\nInherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[cacheControl](/docs/reference/js/v8/firebase.storage.FullMetadata#cachecontrol) \nServed as the 'Cache-Control' header on object download.\n\nOptional contentDisposition \ncontentDisposition: string \\| null\n| Inherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[contentDisposition](/docs/reference/js/v8/firebase.storage.FullMetadata#contentdisposition)\n\nOptional contentEncoding \ncontentEncoding: string \\| null\nInherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[contentEncoding](/docs/reference/js/v8/firebase.storage.FullMetadata#contentencoding) \nServed as the 'Content-Encoding' header on object download.\n\nOptional contentLanguage \ncontentLanguage: string \\| null\nInherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[contentLanguage](/docs/reference/js/v8/firebase.storage.FullMetadata#contentlanguage) \nServed as the 'Content-Language' header on object download.\n\nOptional contentType \ncontentType: string \\| null\nInherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[contentType](/docs/reference/js/v8/firebase.storage.FullMetadata#contenttype) \nServed as the 'Content-Type' header on object download.\n\nOptional customMetadata \ncustomMetadata: {} \\| null\nInherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[customMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata#custommetadata) \nAdditional user-defined custom metadata.\n\nfullPath \nfullPath: string \nThe full path of this object.\n\ngeneration \ngeneration: string \nThe object's generation.\n\nsee\n\n: \u003chttps://cloud.google.com/storage/docs/generations-preconditions\u003e\n\nOptional md5Hash \nmd5Hash: string \\| null\nInherited from [FullMetadata](/docs/reference/js/v8/firebase.storage.FullMetadata).[md5Hash](/docs/reference/js/v8/firebase.storage.FullMetadata#md5hash) \nA Base64-encoded MD5 hash of the object being uploaded.\n\nmetageneration \nmetageneration: string \nThe object's metageneration.\n\nsee\n\n: \u003chttps://cloud.google.com/storage/docs/generations-preconditions\u003e\n\nname \nname: string \nThe short name of this object, which is the last component of the full path.\nFor example, if fullPath is 'full/path/image.png', name is 'image.png'.\n\nsize \nsize: number \nThe size of this object, in bytes.\n\ntimeCreated \ntimeCreated: string \nA date string representing when this object was created.\n\nupdated \nupdated: string \nA date string representing when this object was last updated."]]
The full set of object metadata, including read-only properties.