Interface FileMetadata (7.16.0)

Inheritance

BaseMetadata >FileMetadata

Package

@google-cloud/storage

Properties

acl

acl?:AclMetadata[]|null;

bucket

bucket?:string;

cacheControl

cacheControl?:string;

componentCount

componentCount?:number;

contentDisposition

contentDisposition?:string;

contentEncoding

contentEncoding?:string;

contentLanguage

contentLanguage?:string;

contentType

contentType?:string;

crc32c

crc32c?:string;

customerEncryption

customerEncryption?:{encryptionAlgorithm?:string;keySha256?:string;};

customTime

customTime?:string;

eventBasedHold

eventBasedHold?:boolean|null;

eventBasedHoldReleaseTime

readonlyeventBasedHoldReleaseTime?:string;

generation

generation?:string|number;

hardDeleteTime

hardDeleteTime?:string;

kmsKeyName

kmsKeyName?:string;

md5Hash

md5Hash?:string;

mediaLink

mediaLink?:string;

metadata

metadata?:{[key:string]:string|boolean|number|null;};

metageneration

metageneration?:string|number;

name

name?:string;

owner

owner?:{entity?:string;entityId?:string;};

restoreToken

restoreToken?:string;

retention

retention?:{retainUntilTime?:string;mode?:string;}|null;

retentionExpirationTime

retentionExpirationTime?:string;

size

size?:string|number;

softDeleteTime

softDeleteTime?:string;

storageClass

storageClass?:string;

temporaryHold

temporaryHold?:boolean|null;

timeCreated

timeCreated?:string;

timeDeleted

timeDeleted?:string;

timeStorageClassUpdated

timeStorageClassUpdated?:string;

updated

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 2025-10-30 UTC.