Object metadata that can be set at upload.

Index

Properties

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.

Optional md5Hash

md5Hash:string |null

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

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.