REST Resource: projects.locations.adaptiveMtDatasets

Resource: AdaptiveMtDataset

An Adaptive MT Dataset.

JSON representation
{
  "name": string,
  "displayName": string,
  "sourceLanguageCode": string,
  "targetLanguageCode": string,
  "exampleCount": integer,
  "createTime": string,
  "updateTime": string
}
Fields
name

string

Required. The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{locationId}/adaptiveMtDatasets/{datasetId}

displayName

string

The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

sourceLanguageCode

string

The BCP-47 language code of the source language.

targetLanguageCode

string

The BCP-47 language code of the target language.

exampleCount

integer

The number of examples in the dataset.

createTime

string (Timestamp format)

Output only. Timestamp when this dataset was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Timestamp when this dataset was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

create

Creates an Adaptive MT dataset.

delete

Deletes an Adaptive MT dataset, including all its entries and associated metadata.

get

Gets the Adaptive MT dataset.

importAdaptiveMtFile

Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.

list

Lists all Adaptive MT datasets for which the caller has read permission.