Class Acl.DatasetAclEntity (2.33.2)

public static final class Acl.DatasetAclEntity extends Acl.Entity

Class for a BigQuery DatasetAclEntity ACL entity. Objects of this class represent a DatasetAclEntity from a different DatasetAclEntity to grant access to. Only views are supported for now. The role field is not required when this field is set. If that DatasetAclEntity is deleted and re-created, its access needs to be granted again via an update operation.

Inheritance

Object > Acl.Entity > Acl.DatasetAclEntity

Constructors

DatasetAclEntity(DatasetId id, List<String> targetTypes)

public DatasetAclEntity(DatasetId id, List<String> targetTypes)

Creates a DatasetAclEntity given the DatasetAclEntity's id.

Parameters
NameDescription
idDatasetId
targetTypesList<String>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getId()

public DatasetId getId()
Returns
TypeDescription
DatasetId

Returns DatasetAclEntity's identity.

getTargetTypes()

public List<String> getTargetTypes()
Returns
TypeDescription
List<String>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides