public enum PredefinedObjectAcl extends Enum<PredefinedObjectAcl> implements com.google.protobuf.ProtocolMessageEnum
Predefined or "canned" aliases for sets of specific object ACL entries.Protobuf enum
google.storage.v2.PredefinedObjectAcl| Enum Constant and Description |
|---|
OBJECT_ACL_AUTHENTICATED_READ
Object owner gets `OWNER` access, and
`allAuthenticatedUsers` get `READER` access.
|
OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL
Object owner gets `OWNER` access, and project team owners get
`OWNER` access.
|
OBJECT_ACL_BUCKET_OWNER_READ
Object owner gets `OWNER` access, and project team owners get
`READER` access.
|
OBJECT_ACL_PRIVATE
Object owner gets `OWNER` access.
|
OBJECT_ACL_PROJECT_PRIVATE
Object owner gets `OWNER` access, and project team members get
access according to their roles.
|
OBJECT_ACL_PUBLIC_READ
Object owner gets `OWNER` access, and `allUsers`
get `READER` access.
|
PREDEFINED_OBJECT_ACL_UNSPECIFIED
No predefined ACL.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
OBJECT_ACL_AUTHENTICATED_READ_VALUE
Object owner gets `OWNER` access, and
`allAuthenticatedUsers` get `READER` access.
|
static int |
OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL_VALUE
Object owner gets `OWNER` access, and project team owners get
`OWNER` access.
|
static int |
OBJECT_ACL_BUCKET_OWNER_READ_VALUE
Object owner gets `OWNER` access, and project team owners get
`READER` access.
|
static int |
OBJECT_ACL_PRIVATE_VALUE
Object owner gets `OWNER` access.
|
static int |
OBJECT_ACL_PROJECT_PRIVATE_VALUE
Object owner gets `OWNER` access, and project team members get
access according to their roles.
|
static int |
OBJECT_ACL_PUBLIC_READ_VALUE
Object owner gets `OWNER` access, and `allUsers`
get `READER` access.
|
static int |
PREDEFINED_OBJECT_ACL_UNSPECIFIED_VALUE
No predefined ACL.
|
| Modifier and Type | Method and Description |
|---|---|
static PredefinedObjectAcl |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PredefinedObjectAcl> |
internalGetValueMap() |
static PredefinedObjectAcl |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PredefinedObjectAcl |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PredefinedObjectAcl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredefinedObjectAcl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredefinedObjectAcl PREDEFINED_OBJECT_ACL_UNSPECIFIED
No predefined ACL.
PREDEFINED_OBJECT_ACL_UNSPECIFIED = 0;public static final PredefinedObjectAcl OBJECT_ACL_AUTHENTICATED_READ
Object owner gets `OWNER` access, and `allAuthenticatedUsers` get `READER` access.
OBJECT_ACL_AUTHENTICATED_READ = 1;public static final PredefinedObjectAcl OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL
Object owner gets `OWNER` access, and project team owners get `OWNER` access.
OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL = 2;public static final PredefinedObjectAcl OBJECT_ACL_BUCKET_OWNER_READ
Object owner gets `OWNER` access, and project team owners get `READER` access.
OBJECT_ACL_BUCKET_OWNER_READ = 3;public static final PredefinedObjectAcl OBJECT_ACL_PRIVATE
Object owner gets `OWNER` access.
OBJECT_ACL_PRIVATE = 4;public static final PredefinedObjectAcl OBJECT_ACL_PROJECT_PRIVATE
Object owner gets `OWNER` access, and project team members get access according to their roles.
OBJECT_ACL_PROJECT_PRIVATE = 5;public static final PredefinedObjectAcl OBJECT_ACL_PUBLIC_READ
Object owner gets `OWNER` access, and `allUsers` get `READER` access.
OBJECT_ACL_PUBLIC_READ = 6;public static final PredefinedObjectAcl UNRECOGNIZED
public static final int PREDEFINED_OBJECT_ACL_UNSPECIFIED_VALUE
No predefined ACL.
PREDEFINED_OBJECT_ACL_UNSPECIFIED = 0;public static final int OBJECT_ACL_AUTHENTICATED_READ_VALUE
Object owner gets `OWNER` access, and `allAuthenticatedUsers` get `READER` access.
OBJECT_ACL_AUTHENTICATED_READ = 1;public static final int OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL_VALUE
Object owner gets `OWNER` access, and project team owners get `OWNER` access.
OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL = 2;public static final int OBJECT_ACL_BUCKET_OWNER_READ_VALUE
Object owner gets `OWNER` access, and project team owners get `READER` access.
OBJECT_ACL_BUCKET_OWNER_READ = 3;public static final int OBJECT_ACL_PRIVATE_VALUE
Object owner gets `OWNER` access.
OBJECT_ACL_PRIVATE = 4;public static final int OBJECT_ACL_PROJECT_PRIVATE_VALUE
Object owner gets `OWNER` access, and project team members get access according to their roles.
OBJECT_ACL_PROJECT_PRIVATE = 5;public static final int OBJECT_ACL_PUBLIC_READ_VALUE
Object owner gets `OWNER` access, and `allUsers` get `READER` access.
OBJECT_ACL_PUBLIC_READ = 6;public static PredefinedObjectAcl[] values()
for (PredefinedObjectAcl c : PredefinedObjectAcl.values()) System.out.println(c);
public static PredefinedObjectAcl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static PredefinedObjectAcl valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PredefinedObjectAcl forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PredefinedObjectAcl> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PredefinedObjectAcl valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.