Class Acl (2.33.2)

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 a project. See Also: Access Control

Inheritance

Object > Acl

Implements

Serializable

Static Methods

of(Acl.DatasetAclEntity datasetAclEntity)

public static Acl of(Acl.DatasetAclEntity datasetAclEntity)
Parameter
NameDescription
datasetAclEntityAcl.DatasetAclEntity
Returns
TypeDescription
Acl

Returns an Acl object for a datasetAclEntity.

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

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

the entity for this ACL object

roleAcl.Role

the role to associate to the entity object

Returns
TypeDescription
Acl

Returns an Acl object.

of(Acl.Routine routine)

public static Acl of(Acl.Routine routine)
Parameter
NameDescription
routineAcl.Routine
Returns
TypeDescription
Acl

Returns an Acl object for a routine entity.

of(Acl.View view)

public static Acl of(Acl.View view)
Parameter
NameDescription
viewAcl.View
Returns
TypeDescription
Acl

Returns an Acl object for a view entity.

Methods

equals(Object obj)

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

getEntity()

public Acl.Entity getEntity()
Returns
TypeDescription
Acl.Entity

Returns the entity for this ACL.

getRole()

public Acl.Role getRole()
Returns
TypeDescription
Acl.Role

Returns the role specified by this ACL.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides