Send feedback
Enum PredefinedBucketAcl
Stay organized with collections
Save and categorize content based on your preferences.
public enum PredefinedBucketAcl extends Enum<PredefinedBucketAcl> implements ProtocolMessageEnum
A set of predefined, or "canned," ACLs that can be set on a
bucket instead of manually specifying a complete ACL.
Protobuf enum google.storage.v2.PredefinedBucketAcl
Static Fields
Name Description BUCKET_ACL_AUTHENTICATED_READ Project team owners get OWNER
access, and
allAuthenticatedUsers
get READER
access.
BUCKET_ACL_AUTHENTICATED_READ = 1;
BUCKET_ACL_AUTHENTICATED_READ_VALUE Project team owners get OWNER
access, and
allAuthenticatedUsers
get READER
access.
BUCKET_ACL_AUTHENTICATED_READ = 1;
BUCKET_ACL_PRIVATE Project team owners get OWNER
access.
BUCKET_ACL_PRIVATE = 2;
BUCKET_ACL_PRIVATE_VALUE Project team owners get OWNER
access.
BUCKET_ACL_PRIVATE = 2;
BUCKET_ACL_PROJECT_PRIVATE Project team members get access according to their roles.
BUCKET_ACL_PROJECT_PRIVATE = 3;
BUCKET_ACL_PROJECT_PRIVATE_VALUE Project team members get access according to their roles.
BUCKET_ACL_PROJECT_PRIVATE = 3;
BUCKET_ACL_PUBLIC_READ Project team owners get OWNER
access, and
allUsers
get READER
access.
BUCKET_ACL_PUBLIC_READ = 4;
BUCKET_ACL_PUBLIC_READ_VALUE Project team owners get OWNER
access, and
allUsers
get READER
access.
BUCKET_ACL_PUBLIC_READ = 4;
BUCKET_ACL_PUBLIC_READ_WRITE Project team owners get OWNER
access, and
allUsers
get WRITER
access.
BUCKET_ACL_PUBLIC_READ_WRITE = 5;
BUCKET_ACL_PUBLIC_READ_WRITE_VALUE Project team owners get OWNER
access, and
allUsers
get WRITER
access.
BUCKET_ACL_PUBLIC_READ_WRITE = 5;
PREDEFINED_BUCKET_ACL_UNSPECIFIED No predefined ACL.
PREDEFINED_BUCKET_ACL_UNSPECIFIED = 0;
PREDEFINED_BUCKET_ACL_UNSPECIFIED_VALUE No predefined ACL.
PREDEFINED_BUCKET_ACL_UNSPECIFIED = 0;
UNRECOGNIZED
Static Methods
Name Description forNumber(int value) getDescriptor() internalGetValueMap() valueOf(Descriptors.EnumValueDescriptor desc) valueOf(int value) Deprecated. Use #forNumber(int) instead.
valueOf(String name) values()
Methods
Name Description getDescriptorForType() getNumber() getValueDescriptor()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-02-08 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-02-08 UTC."],[],[]]