RoutineReference()A pointer to a routine.
See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#routinereference
Inheritance
builtins.object > RoutineReferenceProperties
dataset_id
str: ID of dataset containing the routine.
path
str: URL path for the routine's APIs.
project
str: ID of the project containing the routine.
routine_id
str: The routine ID.
Methods
__eq__
__eq__(other)Two RoutineReferences are equal if they point to the same routine.
__str__
__str__()String representation of the reference.
This is a fully-qualified ID, including the project ID and dataset ID.
from_api_repr
from_api_repr(resource: dict)Factory: construct a routine reference given its API representation.
| Name | Description |
| resource |
Dict[str, object]
Routine reference representation returned from the API. |
| Type | Description |
| google.cloud.bigquery.routine.RoutineReference | Routine reference parsed from ``resource``. |
from_string
from_string(routine_id: str, default_project: Optional[str] = None)Factory: construct a routine reference from routine ID string.
| Name | Description |
| routine_id |
str
A routine ID in standard SQL format. If |
| default_project |
Optional[str]
The project ID to use when |
| Type | Description |
| ValueError | If ``routine_id`` is not a fully-qualified routine ID in standard SQL format. |
| Type | Description |
| google.cloud.bigquery.routine.RoutineReference | Routine reference parsed from ``routine_id``. |
to_api_repr
to_api_repr()Construct the API resource representation of this routine reference.
| Type | Description |
| Dict[str, object] | Routine reference represented as an API resource. |
__init__
__init__()Initialize self. See help(type(self)) for accurate signature.
RoutineReference
RoutineReference()A pointer to a routine.
See: https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#routinereference