Class Acl (2.43.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 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
Name Description
datasetAclEntity Acl.DatasetAclEntity
Returns
Type Description
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
Name Description
entity Acl.Entity

the entity for this ACL object

role Acl.Role

the role to associate to the entity object

Returns
Type Description
Acl

Returns an Acl object.

of(Acl.Routine routine)

public static Acl of(Acl.Routine routine)
Parameter
Name Description
routine Acl.Routine
Returns
Type Description
Acl

Returns an Acl object for a routine entity.

of(Acl.View view)

public static Acl of(Acl.View view)
Parameter
Name Description
view Acl.View
Returns
Type Description
Acl

Returns an Acl object for a view entity.

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getEntity()

public Acl.Entity getEntity()
Returns
Type Description
Acl.Entity

Returns the entity for this ACL.

getRole()

public Acl.Role getRole()
Returns
Type Description
Acl.Role

Returns the role specified by this ACL.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides