Interface CreateBucketRequest (7.16.0)

Package

@google-cloud/storage

Properties

archive

archive?:boolean;

coldline

coldline?:boolean;

dataLocations

dataLocations?:string[];

dra

dra?:boolean;

enableObjectRetention

enableObjectRetention?:boolean;

multiRegional

multiRegional?:boolean;

nearline

nearline?:boolean;

predefinedAcl

predefinedAcl?:'authenticatedRead'|'private'|'projectPrivate'|'publicRead'|'publicReadWrite';

predefinedDefaultObjectAcl

predefinedDefaultObjectAcl?:'authenticatedRead'|'bucketOwnerFullControl'|'bucketOwnerRead'|'private'|'projectPrivate'|'publicRead';

projection

projection?:'full'|'noAcl';

regional

regional?:boolean;

requesterPays

requesterPays?:boolean;

rpo

rpo?:string;

standard

standard?:boolean;

storageClass

storageClass?:string;

userProject

userProject?:string;

versioning

versioning?:Versioning;

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.