Class Acl.Routine (2.52.0)

publicstaticfinalclass Acl.RoutineextendsAcl.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)

publicRoutine(RoutineIdid)

Creates a Routine entity given the routine's id.

Parameter
Name Description
id RoutineId

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getId()

publicRoutineIdgetId()
Returns
Type Description
RoutineId

Returns routine's identity.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

toString()

publicStringtoString()
Returns
Type Description
String
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.