FullMetadata interface

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

Signature:

exportinterfaceFullMetadataextendsUploadMetadata

Extends:UploadMetadata

Properties

PropertyTypeDescription
bucketstringThe bucket this object is contained in.
downloadTokensstring[] | undefinedTokens to allow access to the download URL.
fullPathstringThe full path of this object.
generationstringThe object's generation.https://cloud.google.com/storage/docs/metadata#generation-number
metagenerationstringThe object's metageneration.https://cloud.google.com/storage/docs/metadata#generation-number
namestringThe 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'.
refStorageReference | undefinedStorageReference associated with this upload.
sizenumberThe size of this object, in bytes.
timeCreatedstringA date string representing when this object was created.
updatedstringA 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;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-08-01 UTC.