@TransportCompatibility(value={HTTP,GRPC}) public static enum Storage.PredefinedAcl extends Enum<Storage.PredefinedAcl>
Enum Constant and Description |
---|
ALL_AUTHENTICATED_USERS |
AUTHENTICATED_READ |
BUCKET_OWNER_FULL_CONTROL |
BUCKET_OWNER_READ |
PRIVATE |
PROJECT_PRIVATE |
PUBLIC_READ |
PUBLIC_READ_WRITE |
Modifier and Type | Method and Description |
---|---|
static Storage.PredefinedAcl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Storage.PredefinedAcl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storage.PredefinedAcl AUTHENTICATED_READ
public static final Storage.PredefinedAcl ALL_AUTHENTICATED_USERS
public static final Storage.PredefinedAcl PRIVATE
public static final Storage.PredefinedAcl PROJECT_PRIVATE
public static final Storage.PredefinedAcl PUBLIC_READ
public static final Storage.PredefinedAcl PUBLIC_READ_WRITE
public static final Storage.PredefinedAcl BUCKET_OWNER_READ
public static final Storage.PredefinedAcl BUCKET_OWNER_FULL_CONTROL
public static Storage.PredefinedAcl[] values()
for (Storage.PredefinedAcl c : Storage.PredefinedAcl.values()) System.out.println(c);
public static Storage.PredefinedAcl 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 nullCopyright © 2023 Google LLC. All rights reserved.