Show / Hide Table of Contents

Class ProjectsResource.ModelsResource

The "models" collection of methods.

Inheritance
object
ProjectsResource.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.FirebaseML.v1beta2
Assembly: Google.Apis.FirebaseML.v1beta2.dll
Syntax
public class ProjectsResource.ModelsResource

Constructors

ModelsResource(IClientService)

Constructs a new resource.

Declaration
public ModelsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Model, string)

Creates a model in Firebase ML. The longrunning operation will eventually return a Model

Declaration
public virtual ProjectsResource.ModelsResource.CreateRequest Create(Model body, string parent)
Parameters
Type Name Description
Model body

The body of the request.

string parent

Required. The parent project resource where the model is to be created. The parent must have the form projects/{project_id}

Returns
Type Description
ProjectsResource.ModelsResource.CreateRequest

Delete(string)

Deletes a model

Declaration
public virtual ProjectsResource.ModelsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the model to delete. The name must have the form projects/{project_id}/models/{model_id}

Returns
Type Description
ProjectsResource.ModelsResource.DeleteRequest

Download(string)

Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.

Declaration
public virtual ProjectsResource.ModelsResource.DownloadRequest Download(string name)
Parameters
Type Name Description
string name

Required. The name of the model to download. The name must have the form projects/{project}/models/{model}

Returns
Type Description
ProjectsResource.ModelsResource.DownloadRequest

Get(string)

Gets a model resource.

Declaration
public virtual ProjectsResource.ModelsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the model to get. The name must have the form projects/{project_id}/models/{model_id}

Returns
Type Description
ProjectsResource.ModelsResource.GetRequest

List(string)

Lists the models

Declaration
public virtual ProjectsResource.ModelsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The name of the parent to list models for. The parent must have the form `projects/{project_id}'

Returns
Type Description
ProjectsResource.ModelsResource.ListRequest

Patch(Model, string)

Updates a model. The longrunning operation will eventually return a Model.

Declaration
public virtual ProjectsResource.ModelsResource.PatchRequest Patch(Model body, string name)
Parameters
Type Name Description
Model body

The body of the request.

string name

The resource name of the Model. Model names have the form projects/{project_id}/models/{model_id} The name is ignored when creating a model.

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