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.
createTimeTimestamp when the model resource was created, which is also when the training started.datasetThe dataset from which the model is trained, in form ofprojects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}displayNameThe 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.nameThe resource name of the model, in form ofprojects/{project-number-or-id}/locations/{location_id}/models/{model_id}sourceLanguageCodeThe BCP-47 language code of the source language.targetLanguageCodeThe BCP-47 language code of the target language.testExampleCountNumber of examples (sentence pairs) used to test the model.trainExampleCountNumber of examples (sentence pairs) used to train the model.updateTimeTimestamp when this model was last updated.validateExampleCountNumber 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