View Source GoogleApi.Translate.V3.Model.Model (google_api_translate v0.21.0)
A trained translation model.
Attributes
-
createTime
(type:DateTime.t
, default:nil
) - Output only. Timestamp when the model resource was created, which is also when the training started. -
dataset
(type:String.t
, default:nil
) - The dataset from which the model is trained, in form ofprojects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
-
displayName
(type:String.t
, default:nil
) - 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
(type:String.t
, default:nil
) - The resource name of the model, in form ofprojects/{project-number-or-id}/locations/{location_id}/models/{model_id}
-
sourceLanguageCode
(type:String.t
, default:nil
) - Output only. The BCP-47 language code of the source language. -
targetLanguageCode
(type:String.t
, default:nil
) - Output only. The BCP-47 language code of the target language. -
testExampleCount
(type:integer()
, default:nil
) - Output only. Number of examples (sentence pairs) used to test the model. -
trainExampleCount
(type:integer()
, default:nil
) - Output only. Number of examples (sentence pairs) used to train the model. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. Timestamp when this model was last updated. -
validateExampleCount
(type:integer()
, default:nil
) - Output only. Number of examples (sentence pairs) used to validate the model.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Translate.V3.Model.Model{ createTime: DateTime.t() | nil, dataset: String.t() | nil, displayName: String.t() | nil, name: String.t() | nil, sourceLanguageCode: String.t() | nil, targetLanguageCode: String.t() | nil, testExampleCount: integer() | nil, trainExampleCount: integer() | nil, updateTime: DateTime.t() | nil, validateExampleCount: integer() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.