public final class Acl extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Acl.Domain
Class for a BigQuery Domain entity.
|
static class |
Acl.Entity
Base class for BigQuery entities that can be grant access to the dataset.
|
static class |
Acl.Group
Class for a BigQuery Group entity.
|
static class |
Acl.Role
Dataset roles supported by BigQuery.
|
static class |
Acl.User
Class for a BigQuery User entity.
|
static class |
Acl.View
Class for a BigQuery View entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Acl.Entity |
getEntity()
Returns the entity for this ACL.
|
Acl.Role |
getRole()
Returns the role specified by this ACL.
|
int |
hashCode() |
static Acl |
of(Acl.Entity entity,
Acl.Role role)
Returns an Acl object.
|
static Acl |
of(Acl.View view)
Returns an Acl object for a view entity.
|
String |
toString() |
public Acl.Entity getEntity()
public Acl.Role getRole()
public static Acl of(Acl.Entity entity, Acl.Role role)
entity
- the entity for this ACL objectrole
- the role to associate to the entity
objectCopyright © 2019 Google LLC. All rights reserved.