Class Acl (2.20.1)

public final class Acl implements Serializable

Access Control for a BigQuery Dataset. BigQuery uses ACLs to manage permissions on datasets. ACLs are not directly supported on tables. A table inherits its ACL from the dataset that contains it. Project roles affect your ability to run jobs or manage the project, while dataset roles affect how you can access or modify the data inside of a project. See Also: Access Control

Inheritance

Object > Acl

Implements

Serializable

Static Methods

of(Acl.DatasetAclEntity datasetAclEntity)

public static Acl of(Acl.DatasetAclEntity datasetAclEntity)

Returns an Acl object for a datasetAclEntity.

Parameter
NameDescription
datasetAclEntityAcl.DatasetAclEntity
Returns
TypeDescription
Acl

of(Acl.Entity entity, Acl.Role role)

public static Acl of(Acl.Entity entity, Acl.Role role)

Returns an Acl object.

Parameters
NameDescription
entityAcl.Entity

the entity for this ACL object

roleAcl.Role

the role to associate to the entity object

Returns
TypeDescription
Acl

of(Acl.Routine routine)

public static Acl of(Acl.Routine routine)

Returns an Acl object for a routine entity.

Parameter
NameDescription
routineAcl.Routine
Returns
TypeDescription
Acl

of(Acl.View view)

public static Acl of(Acl.View view)

Returns an Acl object for a view entity.

Parameter
NameDescription
viewAcl.View
Returns
TypeDescription
Acl

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getEntity()

public Acl.Entity getEntity()

Returns the entity for this ACL.

Returns
TypeDescription
Acl.Entity

getRole()

public Acl.Role getRole()

Returns the role specified by this ACL.

Returns
TypeDescription
Acl.Role

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides