pub struct Model {
pub create_time: Option<DateTime<Utc>>,
pub dataset: Option<String>,
pub display_name: Option<String>,
pub name: Option<String>,
pub source_language_code: Option<String>,
pub target_language_code: Option<String>,
pub test_example_count: Option<i32>,
pub train_example_count: Option<i32>,
pub update_time: Option<DateTime<Utc>>,
pub validate_example_count: Option<i32>,
}Expand description
A trained translation model.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations models create projects (request)
- locations models get projects (response)
Fields§
§create_time: Option<DateTime<Utc>>Output only. Timestamp when the model resource was created, which is also when the training started.
dataset: Option<String>The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
display_name: Option<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.
name: Option<String>The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
source_language_code: Option<String>Output only. The BCP-47 language code of the source language.
target_language_code: Option<String>Output only. The BCP-47 language code of the target language.
test_example_count: Option<i32>Output only. Number of examples (sentence pairs) used to test the model.
train_example_count: Option<i32>Output only. Number of examples (sentence pairs) used to train the model.
update_time: Option<DateTime<Utc>>Output only. Timestamp when this model was last updated.
validate_example_count: Option<i32>Output only. Number of examples (sentence pairs) used to validate the model.