Back to Firebase Js Sdk

FullMetadata interface

docs-devsite/storage.fullmetadata.md

12.12.13.9 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

FullMetadata interface

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

<b>Signature:</b>

typescript
export interface FullMetadata extends UploadMetadata 

<b>Extends:</b> 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 | undefined<code>StorageReference</code> 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.

<b>Signature:</b>

typescript
bucket: string;

FullMetadata.downloadTokens

Tokens to allow access to the download URL.

<b>Signature:</b>

typescript
downloadTokens: string[] | undefined;

FullMetadata.fullPath

The full path of this object.

<b>Signature:</b>

typescript
fullPath: string;

FullMetadata.generation

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

<b>Signature:</b>

typescript
generation: string;

FullMetadata.metageneration

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

<b>Signature:</b>

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

<b>Signature:</b>

typescript
name: string;

FullMetadata.ref

StorageReference associated with this upload.

<b>Signature:</b>

typescript
ref?: StorageReference | undefined;

FullMetadata.size

The size of this object, in bytes.

<b>Signature:</b>

typescript
size: number;

FullMetadata.timeCreated

A date string representing when this object was created.

<b>Signature:</b>

typescript
timeCreated: string;

FullMetadata.updated

A date string representing when this object was last updated.

<b>Signature:</b>

typescript
updated: string;