Class Acl.Routine (2.43.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
Name Description
id RoutineId

Methods

equals(Object obj)

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

getId()

public RoutineId getId()
Returns
Type Description
RoutineId

Returns routine's identity.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides