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. 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).
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