Class ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource
The "adaptiveMtDatasets" collection of methods.
Inherited Members
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource
Constructors
AdaptiveMtDatasetsResource(IClientService)
Constructs a new resource.
Declaration
public AdaptiveMtDatasetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AdaptiveMtFiles
Gets the AdaptiveMtFiles resource.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.AdaptiveMtFilesResource AdaptiveMtFiles { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.AdaptiveMtFilesResource |
AdaptiveMtSentences
Gets the AdaptiveMtSentences resource.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.AdaptiveMtSentencesResource AdaptiveMtSentences { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.AdaptiveMtSentencesResource |
Methods
Create(AdaptiveMtDataset, string)
Creates an Adaptive MT dataset.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.CreateRequest Create(AdaptiveMtDataset body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AdaptiveMtDataset | body | The body of the request. |
string | parent | Required. Name of the parent project. In form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.CreateRequest |
Delete(string)
Deletes an Adaptive MT dataset, including all its entries and associated metadata.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the dataset. In the form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.DeleteRequest |
Get(string)
Gets the Adaptive MT dataset.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the dataset. In the form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.GetRequest |
ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest, string)
Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.ImportAdaptiveMtFileRequest ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ImportAdaptiveMtFileRequest | body | The body of the request. |
string | parent | Required. The resource name of the file, in form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.ImportAdaptiveMtFileRequest |
List(string)
Lists all Adaptive MT datasets for which the caller has read permission.
Declaration
public virtual ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the project from which to list the Adaptive MT datasets.
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.ListRequest |