Show / Hide Table of Contents

Class ModelsResource

The "models" collection of methods.

Inheritance
object
ModelsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
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
string projectId

Required. Project ID of the model to delete.

string datasetId

Required. Dataset ID of the model to delete.

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
string projectId

Required. Project ID of the requested model.

string datasetId

Required. Dataset ID of the requested model.

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
string projectId

Required. Project ID of the models to list.

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.

string projectId

Required. Project ID of the model to patch.

string datasetId

Required. Dataset ID of the model to patch.

string modelId

Required. Model ID of the model to patch.

Returns
Type Description
ModelsResource.PatchRequest
In this article
Back to top Generated by DocFX