Class Acl.Role (2.22.0)

public static final class Acl.Role extends StringEnumValue

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > Acl.Role

Static Fields

OWNER

public static final Acl.Role OWNER
Field Value
TypeDescription
Acl.Role

READER

public static final Acl.Role READER
Field Value
TypeDescription
Acl.Role

WRITER

public static final Acl.Role WRITER
Field Value
TypeDescription
Acl.Role

Static Methods

valueOf(String constant)

public static Acl.Role valueOf(String constant)

Get the Role for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
Acl.Role

valueOfStrict(String constant)

public static Acl.Role valueOfStrict(String constant)

Get the Role for the given String constant, and throw an exception if the constant is not recognized.

Parameter
NameDescription
constantString
Returns
TypeDescription
Acl.Role

values()

public static Acl.Role[] values()

Return the known values for Role.

Returns
TypeDescription
Role[]