Class Acl.Role (2.27.1)

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
Type Description
Acl.Role

READER

public static final Acl.Role READER
Field Value
Type Description
Acl.Role

WRITER

public static final Acl.Role WRITER
Field Value
Type Description
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
Name Description
constant String
Returns
Type Description
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
Name Description
constant String
Returns
Type Description
Acl.Role

values()

public static Acl.Role[] values()

Return the known values for Role.

Returns
Type Description
Role[]