GetModelResult constructor

const GetModelResult({
  1. required String createTime,
  2. required String dataset,
  3. required String displayName,
  4. required String name,
  5. required String sourceLanguageCode,
  6. required String targetLanguageCode,
  7. required int testExampleCount,
  8. required int trainExampleCount,
  9. required String updateTime,
  10. required int validateExampleCount,
})

Creates a new GetModelResult. createTime Timestamp when the model resource was created, which is also when the training started. dataset The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id} displayName The name of the model 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. name The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id} sourceLanguageCode The BCP-47 language code of the source language. targetLanguageCode The BCP-47 language code of the target language. testExampleCount Number of examples (sentence pairs) used to test the model. trainExampleCount Number of examples (sentence pairs) used to train the model. updateTime Timestamp when this model was last updated. validateExampleCount Number of examples (sentence pairs) used to validate the model.

Implementation

const GetModelResult({
  required this.createTime,
  required this.dataset,
  required this.displayName,
  required this.name,
  required this.sourceLanguageCode,
  required this.targetLanguageCode,
  required this.testExampleCount,
  required this.trainExampleCount,
  required this.updateTime,
  required this.validateExampleCount,
});