public sealed class Model : IMessage<Model>, IEquatable<Model>, IDeepCloneable<Model>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class Model.
A trained translation model.
Namespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
Model()
public Model()
Model(Model)
public Model(Model other)
Parameter | |
---|---|
Name | Description |
other |
Model |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Timestamp when the model resource was created, which is also when the training started.
Property Value | |
---|---|
Type | Description |
Timestamp |
Dataset
public string Dataset { get; set; }
The dataset from which the model is trained, in form of
projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
ModelName
public ModelName ModelName { get; set; }
Property Value | |
---|---|
Type | Description |
ModelName |
Name
public string Name { get; set; }
The resource name of the model, in form of
projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
Property Value | |
---|---|
Type | Description |
string |
SourceLanguageCode
public string SourceLanguageCode { get; set; }
Output only. The BCP-47 language code of the source language.
Property Value | |
---|---|
Type | Description |
string |
TargetLanguageCode
public string TargetLanguageCode { get; set; }
Output only. The BCP-47 language code of the target language.
Property Value | |
---|---|
Type | Description |
string |
TestExampleCount
public int TestExampleCount { get; set; }
Output only. Number of examples (sentence pairs) used to test the model.
Property Value | |
---|---|
Type | Description |
int |
TrainExampleCount
public int TrainExampleCount { get; set; }
Output only. Number of examples (sentence pairs) used to train the model.
Property Value | |
---|---|
Type | Description |
int |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Timestamp when this model was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
ValidateExampleCount
public int ValidateExampleCount { get; set; }
Output only. Number of examples (sentence pairs) used to validate the model.
Property Value | |
---|---|
Type | Description |
int |