FullMetadata interface

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

Signature:

export interface FullMetadata extends UploadMetadata 

Extends: UploadMetadata

Properties

Property Type Description
bucket string The bucket this object is contained in.
downloadTokens string[] | undefined Tokens to allow access to the download URL.
fullPath string The full path of this object.
generation string The object's generation. https://cloud.google.com/storage/docs/metadata#generation-number
metageneration string The object's metageneration. https://cloud.google.com/storage/docs/metadata#generation-number
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'.
ref StorageReference | undefined StorageReference associated with this upload.
size number The size of this object, in bytes.
timeCreated string A date string representing when this object was created.
updated string A date string representing when this object was last updated.

FullMetadata.bucket

The bucket this object is contained in.

Signature:

bucket: string;

FullMetadata.downloadTokens

Tokens to allow access to the download URL.

Signature:

downloadTokens: string[] | undefined;

FullMetadata.fullPath

The full path of this object.

Signature:

fullPath: string;

FullMetadata.generation

The object's generation. https://cloud.google.com/storage/docs/metadata#generation-number

Signature:

generation: string;

FullMetadata.metageneration

The object's metageneration. https://cloud.google.com/storage/docs/metadata#generation-number

Signature:

metageneration: string;

FullMetadata.name

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'.

Signature:

name: string;

FullMetadata.ref

StorageReference associated with this upload.

Signature:

ref?: StorageReference | undefined;

FullMetadata.size

The size of this object, in bytes.

Signature:

size: number;

FullMetadata.timeCreated

A date string representing when this object was created.

Signature:

timeCreated: string;

FullMetadata.updated

A date string representing when this object was last updated.

Signature:

updated: string;