google.cloud.bigquery.model.ModelReference#
Methods
|
Factory: construct a model reference given its API representation |
|
Construct a model reference from model ID string. |
Construct the API resource representation of this model reference. |
Attributes
ID of dataset containing the model. |
|
The model ID. |
|
URL path for the model’s APIs. |
|
Project bound to the model |
-
class
google.cloud.bigquery.model.
ModelReference
[source]# Bases:
object
ModelReferences are pointers to models.
See https://cloud.google.com/bigquery/docs/reference/rest/v2/models
-
classmethod
from_api_repr
(resource)[source]# Factory: construct a model reference given its API representation
-
classmethod
from_string
(model_id, default_project=None)[source]# Construct a model reference from model ID string.
- Parameters
- Returns
Model reference parsed from
model_id
.- Return type
- Raises
ValueError – If
model_id
is not a fully-qualified table ID in standard SQL format.
-
classmethod