Class Acl.Routine (2.35.0)

public static final class Acl.Routine extends Acl.Entity

Class for a BigQuery Routine entity. Objects of this class represent a routine from a different datasetAclEntity to grant access to. Queries executed against that routine will have read access to views/tables/routines in this datasetAclEntity. Only UDF is supported for now. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation.

Inheritance

Object > Acl.Entity > Acl.Routine

Constructors

Routine(RoutineId id)

public Routine(RoutineId id)

Creates a Routine entity given the routine's id.

Parameter
NameDescription
idRoutineId

Methods

equals(Object obj)

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

getId()

public RoutineId getId()
Returns
TypeDescription
RoutineId

Returns routine's identity.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides