Interface BucketMetadata (7.16.0) Stay organized with collections Save and categorize content based on your preferences.
Inheritance
BaseMetadata >BucketMetadataPackage
@google-cloud/storageProperties
acl
acl?:AclMetadata[]|null;autoclass
autoclass?:{enabled?:boolean;toggleTime?:string;terminalStorageClass?:string;terminalStorageClassUpdateTime?:string;};billing
billing?:{requesterPays?:boolean;};cors
cors?:Cors[];customPlacementConfig
customPlacementConfig?:{dataLocations?:string[];};defaultEventBasedHold
defaultEventBasedHold?:boolean;defaultObjectAcl
defaultObjectAcl?:AclMetadata[];encryption
encryption?:{defaultKmsKeyName?:string;}|null;generation
generation?:string;hardDeleteTime
hardDeleteTime?:string;hierarchicalNamespace
hierarchicalNamespace?:{enabled?:boolean;};iamConfiguration
iamConfiguration?:{publicAccessPrevention?:string;uniformBucketLevelAccess?:{enabled?:boolean;lockedTime?:string;};};labels
labels?:{[key:string]:string|null;};lifecycle
lifecycle?:{rule?:LifecycleRule[];}|null;location
location?:string;locationType
locationType?:string;logging
logging?:{logBucket?:string;logObjectPrefix?:string;};metageneration
metageneration?:string;name
name?:string;objectRetention
objectRetention?:{mode?:string;};owner
owner?:{entity?:string;entityId?:string;};projectNumber
projectNumber?:string|number;retentionPolicy
retentionPolicy?:{effectiveTime?:string;isLocked?:boolean;retentionPeriod?:string|number;}|null;rpo
rpo?:string;softDeletePolicy
softDeletePolicy?:{retentionDurationSeconds?:string|number;readonlyeffectiveTime?:string;};softDeleteTime
softDeleteTime?:string;storageClass
storageClass?:string;timeCreated
timeCreated?:string;updated
updated?:string;versioning
versioning?:{enabled?:boolean;};website
website?:{mainPageSuffix?:string;notFoundPage?: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.