docs-devsite/storage.settablemetadata.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Object metadata that can be set at any time.
<b>Signature:</b>
export interface SettableMetadata
| Property | Type | Description |
|---|---|---|
| cacheControl | string | undefined | Served as the 'Cache-Control' header on object download. |
| contentDisposition | string | undefined | Served as the 'Content-Disposition' header on object download. |
| contentEncoding | string | undefined | Served as the 'Content-Encoding' header on object download. |
| contentLanguage | string | undefined | Served as the 'Content-Language' header on object download. |
| contentType | string | undefined | Served as the 'Content-Type' header on object download. |
| customMetadata | { [key: string]: string; } | undefined | Additional user-defined custom metadata. |
Served as the 'Cache-Control' header on object download.
<b>Signature:</b>
cacheControl?: string | undefined;
Served as the 'Content-Disposition' header on object download.
<b>Signature:</b>
contentDisposition?: string | undefined;
Served as the 'Content-Encoding' header on object download.
<b>Signature:</b>
contentEncoding?: string | undefined;
Served as the 'Content-Language' header on object download.
<b>Signature:</b>
contentLanguage?: string | undefined;
Served as the 'Content-Type' header on object download.
<b>Signature:</b>
contentType?: string | undefined;
Additional user-defined custom metadata.
<b>Signature:</b>
customMetadata?: {
[key: string]: string;
} | undefined;