v1

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

Creates a Dataset.

post/v3/{+parent}/datasets

Path parameters

parentstring required

Required. The project name.

Request body

sourceLanguageCodestring

The BCP-47 language code of the source language.

namestring

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

validateExampleCountinteger

Output only. Number of validation examples (sentence pairs).

updateTimestring google-datetime

Output only. Timestamp when this dataset was last updated.

testExampleCountinteger

Output only. Number of test examples (sentence pairs).

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

Output only. The number of examples in the dataset.

createTimestring google-datetime

Output only. Timestamp when this dataset was created.

trainExampleCountinteger

Output only. Number of training examples (sentence pairs).

Response

Successful response