Object metadata that can be set at upload.

Index

Properties

Optional cacheControl

cacheControl: string | null

Served as the 'Cache-Control' header on object download.

Optional contentDisposition

contentDisposition: string | null

Optional contentEncoding

contentEncoding: string | null

Served as the 'Content-Encoding' header on object download.

Optional contentLanguage

contentLanguage: string | null

Served as the 'Content-Language' header on object download.

Optional contentType

contentType: string | null

Served as the 'Content-Type' header on object download.

Optional customMetadata

customMetadata: {} | null

Additional user-defined custom metadata.

Optional md5Hash

md5Hash: string | null

A Base64-encoded MD5 hash of the object being uploaded.