Package com.google.cloud.bigquery
Class Acl
java.lang.Object
com.google.cloud.bigquery.Acl
- All Implemented Interfaces:
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Class for a BigQuery DatasetAclEntity ACL entity.static final class
Class for a BigQuery Domain entity.static class
Base class for BigQuery entities that can be grant access to the dataset.static final class
Class for a BigQuery Group entity.static final class
Class for a BigQuery IamMember entity.static final class
Dataset roles supported by BigQuery.static final class
Class for a BigQuery Routine entity.static final class
Class for a BigQuery User entity.static final class
Class for a BigQuery View entity. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getRole()
int
hashCode()
static Acl
of
(Acl.DatasetAclEntity datasetAclEntity) static Acl
of
(Acl.Entity entity, Acl.Role role) static Acl
of
(Acl.Routine routine) static Acl
toString()
-
Method Details
-
getEntity
- Returns:
- Returns the entity for this ACL.
-
getRole
- Returns:
- Returns the role specified by this ACL.
-
of
- Parameters:
entity
- the entity for this ACL objectrole
- the role to associate to theentity
object- Returns:
- Returns an Acl object.
-
of
- Parameters:
datasetAclEntity
-- Returns:
- Returns an Acl object for a datasetAclEntity.
-
of
- Parameters:
view
-- Returns:
- Returns an Acl object for a view entity.
-
of
- Parameters:
routine
-- Returns:
- Returns an Acl object for a routine entity.
-
hashCode
public int hashCode() -
toString
-
equals
-