Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ModelsResource

The "models" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.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.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.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.

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

The body of the request.

string parent

Required. The project name, in form of projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.ModelsResource.CreateRequest

Delete(string)

Deletes a model.

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

Required. The name of the model to delete.

Returns
Type Description
ProjectsResource.LocationsResource.ModelsResource.DeleteRequest

Get(string)

Gets a model.

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

Required. The resource name of the model to retrieve.

Returns
Type Description
ProjectsResource.LocationsResource.ModelsResource.GetRequest

List(string)

Lists models.

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

Required. Name of the parent project. In form of projects/{project-number-or-id}/locations/{location-id}

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