public sealed class BigQueryModelReference documentation and code samples for the Google BigQuery v2 API class BigQueryModel.
A model within a BigQuery dataset.
Namespace
Google.Cloud.BigQuery.V2Assembly
Google.Cloud.BigQuery.V2.dll
Remarks
This class wraps the underlying REST API resource and retains a reference to the original client, allowing for simpler model-oriented operations.
Constructors
BigQueryModel(BigQueryClient, Model)
public BigQueryModel(BigQueryClient client, Model resource)Constructs a new model.
| Parameters | |
|---|---|
| Name | Description |
client |
BigQueryClientThe client to use for operations on the model. Must not be null. |
resource |
ModelThe REST-ful resource representing the model. Must not be null. |
This is public to allow tests to construct instances for production code to consume; production code should not normally construct instances itself.
Properties
Reference
public ModelReference Reference { get; }The fully-qualified identifier for the model, as an object which can be used for other operations within this API.
| Property Value | |
|---|---|
| Type | Description |
ModelReference |
|
The properties within the reference can be used to determine the project ID, dataset ID and model ID components.
Resource
public Model Resource { get; }The underlying REST-ful resource for the model.
| Property Value | |
|---|---|