GetDatasetResult constructor
- required String createTime,
- required String displayName,
- required int exampleCount,
- required String name,
- required String sourceLanguageCode,
- required String targetLanguageCode,
- required int testExampleCount,
- required int trainExampleCount,
- required String updateTime,
- required int validateExampleCount,
Creates a new GetDatasetResult.
createTime Timestamp when this dataset was created.
displayName 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.
exampleCount The number of examples in the dataset.
name The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
sourceLanguageCode The BCP-47 language code of the source language.
targetLanguageCode The BCP-47 language code of the target language.
testExampleCount Number of test examples (sentence pairs).
trainExampleCount Number of training examples (sentence pairs).
updateTime Timestamp when this dataset was last updated.
validateExampleCount Number of validation examples (sentence pairs).
Implementation
const GetDatasetResult({
required this.createTime,
required this.displayName,
required this.exampleCount,
required this.name,
required this.sourceLanguageCode,
required this.targetLanguageCode,
required this.testExampleCount,
required this.trainExampleCount,
required this.updateTime,
required this.validateExampleCount,
});