GetModelResult class

Result data returned by getModel.

Constructors

GetModelResult({required String createTime, required String dataset, required String displayName, required String name, required String sourceLanguageCode, required String targetLanguageCode, required int testExampleCount, required int trainExampleCount, required String updateTime, 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.
const
GetModelResult.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → String
Timestamp when the model resource was created, which is also when the training started.
final
dataset → String
The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
final
displayName → String
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.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceLanguageCode → String
The BCP-47 language code of the source language.
final
targetLanguageCode → String
The BCP-47 language code of the target language.
final
testExampleCount → int
Number of examples (sentence pairs) used to test the model.
final
trainExampleCount → int
Number of examples (sentence pairs) used to train the model.
final
updateTime → String
Timestamp when this model was last updated.
final
validateExampleCount → int
Number of examples (sentence pairs) used to validate the model.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited