Class Acl.Role (2.16.1)

public static final class Acl.Role extends StringEnumValue

Dataset roles supported by BigQuery. See Also: Dataset Roles

Inheritance

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

Static Fields

OWNER

public static final Acl.Role OWNER

Same as #WRITER plus can update and delete the dataset.

Field Value
TypeDescription
Acl.Role

READER

public static final Acl.Role READER

Can read, query, copy or export tables in the dataset.

Field Value
TypeDescription
Acl.Role

WRITER

public static final Acl.Role WRITER

Same as #READER plus can edit or append data in the dataset.

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[]