ModelReference()
ModelReferences are pointers to models.
See https://cloud.google.com/bigquery/docs/reference/rest/v2/models#modelreference
Inheritance
builtins.object > ModelReferenceProperties
dataset_id
str: ID of dataset containing the model.
model_id
str: The model ID.
path
URL path for the model's APIs.
project
str: Project bound to the model
Methods
from_api_repr
from_api_repr(resource: Dict[str, Any])
Factory: construct a model reference given its API representation.
from_string
from_string(model_id: str, default_project: Optional[str] = None)
Construct a model reference from model ID string.
Type | Description |
ValueError | If model_id is not a fully-qualified table ID in standard SQL format. |
to_api_repr
to_api_repr()
Construct the API resource representation of this model reference.
__init__
__init__()
Initialize self. See help(type(self)) for accurate signature.
ModelReference
ModelReference()
ModelReferences are pointers to models.
See https://cloud.google.com/bigquery/docs/reference/rest/v2/models#modelreference