google.cloud.bigquery.routine.RoutineReference#
Methods
|
Factory: construct a routine reference given its API representation. |
|
Factory: construct a routine reference from routine ID string. |
Construct the API resource representation of this routine reference. |
Attributes
ID of dataset containing the routine. |
|
URL path for the routine’s APIs. |
|
ID of the project containing the routine. |
|
The routine ID. |
-
class
google.cloud.bigquery.routine.
RoutineReference
[source]# Bases:
object
A pointer to a routine.
See https://cloud.google.com/bigquery/docs/reference/rest/v2/routines
-
classmethod
from_api_repr
(resource)[source]# Factory: construct a routine reference given its API representation.
-
classmethod
from_string
(routine_id, default_project=None)[source]# Factory: construct a routine reference from routine ID string.
- Parameters
- Returns
Routine reference parsed from
routine_id
.- Return type
- Raises
ValueError – If
routine_id
is not a fully-qualified routine ID in standard SQL format.
-
classmethod