Class Acl.DatasetAclEntity (2.44.0)

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
Name Description
id DatasetId
targetTypes List<String>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getId()

public DatasetId getId()
Returns
Type Description
DatasetId

Returns DatasetAclEntity's identity.

getTargetTypes()

public List<String> getTargetTypes()
Returns
Type Description
List<String>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides