Object metadata that can be set at any time.
Signature:
export interface SettableMetadata
Properties
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. |
SettableMetadata.cacheControl
Served as the 'Cache-Control' header on object download.
Signature:
cacheControl?: string | undefined;
SettableMetadata.contentDisposition
Served as the 'Content-Disposition' header on object download.
Signature:
contentDisposition?: string | undefined;
SettableMetadata.contentEncoding
Served as the 'Content-Encoding' header on object download.
Signature:
contentEncoding?: string | undefined;
SettableMetadata.contentLanguage
Served as the 'Content-Language' header on object download.
Signature:
contentLanguage?: string | undefined;
SettableMetadata.contentType
Served as the 'Content-Type' header on object download.
Signature:
contentType?: string | undefined;
SettableMetadata.customMetadata
Additional user-defined custom metadata.
Signature:
customMetadata?: {
[key: string]: string;
} | undefined;