Class Acl (2.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
2.65.0 (latest)
2.62.0
2.61.0
2.60.0
2.59.0
2.58.0
2.57.2
2.56.0
2.55.3
2.54.2
2.53.0
2.52.0
2.51.0
2.50.1
2.49.0
2.48.1
2.47.0
2.46.0
2.45.0
2.44.0
2.43.3
2.42.3
2.41.0
2.40.3
2.39.1
2.38.2
2.37.2
2.36.0
2.35.0
2.34.2
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
Static Methods
of(Acl.DatasetAclEntity datasetAclEntity)
public static Acl of ( Acl . DatasetAclEntity 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.Entity entity, Acl.Role role, Acl.Expr condition)
public static Acl of ( Acl . Entity entity , Acl . Role role , Acl . Expr condition )
Returns
Type
Description
Acl
of(Acl.Routine routine)
public static Acl of ( Acl . Routine 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
Overrides
getCondition()
public Acl . Expr getCondition ()
Returns
Type
Description
Acl.Expr
Returns the condition specified by this ACL.
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()
Returns
Type
Description
int
Overrides
toString()
Returns
Type
Description
String
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[null,null,["Last updated 2026-04-25 UTC."],[],[]]