Class ModelsResource
The "models" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class ModelsResource
Constructors
ModelsResource(IClientService)
Constructs a new resource.
Declaration
public ModelsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Delete(String, String, String)
Deletes the model specified by modelId from the dataset.
Declaration
public virtual ModelsResource.DeleteRequest Delete(string projectId, string datasetId, string modelId)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Required. Project ID of the model to delete. |
System.String | datasetId | Required. Dataset ID of the model to delete. |
System.String | modelId | Required. Model ID of the model to delete. |
Returns
Type | Description |
---|---|
ModelsResource.DeleteRequest |
Get(String, String, String)
Gets the specified model resource by model ID.
Declaration
public virtual ModelsResource.GetRequest Get(string projectId, string datasetId, string modelId)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Required. Project ID of the requested model. |
System.String | datasetId | Required. Dataset ID of the requested model. |
System.String | modelId | Required. Model ID of the requested model. |
Returns
Type | Description |
---|---|
ModelsResource.GetRequest |
List(String, String)
Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method.
Declaration
public virtual ModelsResource.ListRequest List(string projectId, string datasetId)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectId | Required. Project ID of the models to list. |
System.String | datasetId | Required. Dataset ID of the models to list. |
Returns
Type | Description |
---|---|
ModelsResource.ListRequest |
Patch(Model, String, String, String)
Patch specific fields in the specified model.
Declaration
public virtual ModelsResource.PatchRequest Patch(Model body, string projectId, string datasetId, string modelId)
Parameters
Type | Name | Description |
---|---|---|
Model | body | The body of the request. |
System.String | projectId | Required. Project ID of the model to patch. |
System.String | datasetId | Required. Dataset ID of the model to patch. |
System.String | modelId | Required. Model ID of the model to patch. |
Returns
Type | Description |
---|---|
ModelsResource.PatchRequest |