The full set of object metadata, including read-only properties.

Index

Properties

bucket

bucket: string

The bucket this object is contained in.

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.

fullPath

fullPath: string

The full path of this object.

generation

generation: string

Optional md5Hash

md5Hash: string | null

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

metageneration

metageneration: string

name

name: string

The short name of this object, which is the last component of the full path. For example, if fullPath is 'full/path/image.png', name is 'image.png'.

size

size: number

The size of this object, in bytes.

timeCreated

timeCreated: string

A date string representing when this object was created.

updated

updated: string

A date string representing when this object was last updated.