GetDatasetResult class
Result data returned by getDataset.
Constructors
- GetDatasetResult({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.
createTimeTimestamp when this dataset was created.displayNameThe 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.exampleCountThe number of examples in the dataset.nameThe resource name of the dataset, in form ofprojects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}sourceLanguageCodeThe BCP-47 language code of the source language.targetLanguageCodeThe BCP-47 language code of the target language.testExampleCountNumber of test examples (sentence pairs).trainExampleCountNumber of training examples (sentence pairs).updateTimeTimestamp when this dataset was last updated.validateExampleCountNumber of validation examples (sentence pairs).const -
GetDatasetResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
Timestamp when this dataset was created.
final
- displayName → String
-
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.
final
- exampleCount → int
-
The number of examples in the dataset.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The resource name of the dataset, in form of
projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
final
- trainExampleCount → int
-
Number of training examples (sentence pairs).
final
- updateTime → String
-
Timestamp when this dataset was last updated.
final
- validateExampleCount → int
-
Number of validation examples (sentence pairs).
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