Object metadata that can be set at any time.

Index

Properties

Optional cacheControl

cacheControl:string |null

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

Optional contentDisposition

contentDisposition:string |null

Optional contentEncoding

contentEncoding:string |null

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

Optional contentLanguage

contentLanguage:string |null

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

Optional contentType

contentType:string |null

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

Optional customMetadata

customMetadata:{} |null

Additional user-defined custom metadata.

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.