Jump to top

FullMetadata

interface

The full readable metadata returned by TaskSnapshot.metadata or StorageReference.getMetadata().

Properties

bucket

</>

The bucket this storage object is contained in.

bucket: string;

cacheControl

</>

The 'Cache-Control' HTTP header that will be set on the storage object when it's requested.

cacheControl: string | null;

contentDisposition

</>

The 'Content-Disposition' HTTP header that will be set on the storage object when it's requested.

contentDisposition: string | null;

contentEncoding

</>

The 'Content-Encoding' HTTP header that will be used on the storage object when it's requested.

contentEncoding: string | null;

contentLanguage

</>

The 'Content-Language' HTTP header that will be set on the storage object when it's requested.

contentLanguage: string | null;

contentType

</>

The 'Content-Type' HTTP header that will be set on the object when it's requested.

contentType: string | null;

customMetadata

</>

Additional user-defined custom metadata for this storage object.

customMetadata: { [key: string]: string } | null;

fullPath

</>

The full path to this storage object in its bucket.

fullPath: string;

generation

</>

Storage object generation values enable users to uniquely identify data resources, e.g. object versioning.

generation: string;

md5Hash

</>

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

md5Hash: string | null;

md5hash

</>

You may specify the md5hash of the file in metadata on upload only. It may not be updated via updateMetadata

md5hash: string | null;

metageneration

</>

Storage object metageneration values enable users to uniquely identify data resources, e.g. object versioning.

metageneration: string;

name

</>

The short name of storage object in its bucket, e.g. it's file name.

name: string;

size

</>

The size of this storage object in bytes.

size: number;

timeCreated

</>

A date string representing when this storage object was created.

timeCreated: string;

updated

</>

A date string representing when this storage object was last updated.

updated: string;