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

Inherited fromFullMetadata.cacheControl

Served as the 'Cache-Control' header on object download.

Optional contentDisposition

contentDisposition:string |null

Inherited fromFullMetadata.contentDisposition

Optional contentEncoding

contentEncoding:string |null

Inherited fromFullMetadata.contentEncoding

Served as the 'Content-Encoding' header on object download.

Optional contentLanguage

contentLanguage:string |null

Inherited fromFullMetadata.contentLanguage

Served as the 'Content-Language' header on object download.

Optional contentType

contentType:string |null

Inherited fromFullMetadata.contentType

Served as the 'Content-Type' header on object download.

Optional customMetadata

customMetadata:{} |null

Inherited fromFullMetadata.customMetadata

Additional user-defined custom metadata.

fullPath

fullPath:string

The full path of this object.

generation

generation:string

Optional md5Hash

md5Hash:string |null

Inherited fromFullMetadata.md5Hash

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.

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 2022-07-27 UTC.