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
Nested ClassesModifier and TypeClassDescriptionstatic final classClass for a BigQuery DatasetAclEntity ACL entity.static final classClass for a BigQuery Domain entity.static classBase class for BigQuery entities that can be grant access to the dataset.static final classExpr represents the conditional information related to dataset access policies.static final classClass for a BigQuery Group entity.static final classClass for a BigQuery IamMember entity.static final classDataset roles supported by BigQuery.static final classClass for a BigQuery Routine entity.static final classClass for a BigQuery User entity.static final classClass for a BigQuery View entity. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetRole()inthashCode()static Aclof(Acl.DatasetAclEntity datasetAclEntity) static Aclof(Acl.Entity entity, Acl.Role role) static Aclof(Acl.Entity entity, Acl.Role role, Acl.Expr condition) static Aclof(Acl.Routine routine) static AcltoString()
-
Method Details
-
getEntity
- Returns:
- Returns the entity for this ACL.
-
getRole
- Returns:
- Returns the role specified by this ACL.
-
getCondition
- Returns:
- Returns the condition specified by this ACL.
-
of
- Parameters:
entity- the entity for this ACL objectrole- the role to associate to theentityobject- Returns:
- Returns an Acl object.
-
of
-
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
-