Class ProjectsResource.LocationsResource.ModelsResource
The "models" collection of methods.
Inherited Members
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 |
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
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ModelsResource.ListRequest |