public sealed class TranslationModelMetadata : IMessage<TranslationModelMetadata>, IEquatable<TranslationModelMetadata>, IDeepCloneable<TranslationModelMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class TranslationModelMetadata.
Model metadata that is specific to translation.
Implements
IMessageTranslationModelMetadata, IEquatableTranslationModelMetadata, IDeepCloneableTranslationModelMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
TranslationModelMetadata()
public TranslationModelMetadata()
TranslationModelMetadata(TranslationModelMetadata)
public TranslationModelMetadata(TranslationModelMetadata other)
Parameter | |
---|---|
Name | Description |
other |
TranslationModelMetadata |
Properties
BaseModel
public string BaseModel { get; set; }
The resource name of the model to use as a baseline to train the custom
model. If unset, we use the default base model provided by Google
Translate. Format:
projects/{project_id}/locations/{location_id}/models/{model_id}
Property Value | |
---|---|
Type | Description |
string |
SourceLanguageCode
public string SourceLanguageCode { get; set; }
Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.
Property Value | |
---|---|
Type | Description |
string |
TargetLanguageCode
public string TargetLanguageCode { get; set; }
Output only. The target language (The BCP-47 language code) that is used for training.
Property Value | |
---|---|
Type | Description |
string |