Home > @firebase/storage > SettableMetadata
SettableMetadata interface
Object metadata that can be set at any time.
Signature:
export interface SettableMetadata
Properties
Property | Type | Description |
---|---|---|
cacheControl? | string | undefined | (Optional) Served as the 'Cache-Control' header on object download. |
contentDisposition? | string | undefined | (Optional) Served as the 'Content-Disposition' header on object download. |
contentEncoding? | string | undefined | (Optional) Served as the 'Content-Encoding' header on object download. |
contentLanguage? | string | undefined | (Optional) Served as the 'Content-Language' header on object download. |
contentType? | string | undefined | (Optional) Served as the 'Content-Type' header on object download. |
customMetadata? | { [key: string]: string; } | undefined | (Optional) Additional user-defined custom metadata. |