v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133276102.9 KB
projects

Creates an Adaptive MT dataset.

post/v3/{+parent}/adaptiveMtDatasets

Path parameters

parentstring required

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

Request body

displayNamestring

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.

targetLanguageCodestring

The BCP-47 language code of the target language.

exampleCountinteger

The number of examples in the dataset.

updateTimestring google-datetime

Output only. Timestamp when this dataset was last updated.

createTimestring google-datetime

Output only. Timestamp when this dataset was created.

sourceLanguageCodestring

The BCP-47 language code of the source language.

namestring

Identifier. The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}

Response

Successful response