public final class Acl extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Acl.DatasetAclEntity
Class for a BigQuery DatasetAclEntity ACL entity.
|
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.IamMember
Class for a BigQuery IamMember entity.
|
static class |
Acl.Role
Dataset roles supported by BigQuery.
|
static class |
Acl.Routine
Class for a BigQuery Routine entity.
|
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.DatasetAclEntity datasetAclEntity)
Returns an Acl object for a datasetAclEntity.
|
static Acl |
of(Acl.Entity entity,
Acl.Role role)
Returns an Acl object.
|
static Acl |
of(Acl.Routine routine)
Returns an Acl object for a routine entity.
|
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
objectpublic static Acl of(Acl.DatasetAclEntity datasetAclEntity)
public static Acl of(Acl.Routine routine)
Copyright © 2023 Google LLC. All rights reserved.