# REST Resource: projects.locations.adaptiveMtDatasets

- [Resource: AdaptiveMtDataset](https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets#AdaptiveMtDataset)
  - [JSON representation](https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets#AdaptiveMtDataset.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets#METHODS_SUMMARY)

## 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 (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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 (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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 ||
|---|---|
| ### `https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets/create` | Creates an Adaptive MT dataset. |
| ### `https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets/delete` | Deletes an Adaptive MT dataset, including all its entries and associated metadata. |
| ### `https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets/get` | Gets the Adaptive MT dataset. |
| ### `https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets/importAdaptiveMtFile` | Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset. |
| ### `https://docs.cloud.google.com/translate/docs/reference/rest/v3/projects.locations.adaptiveMtDatasets/list` | Lists all Adaptive MT datasets for which the caller has read permission. |