Class TranslationModelMetadata (2.4.0)

public sealed class TranslationModelMetadata : IMessage<TranslationModelMetadata>, IEquatable<TranslationModelMetadata>, IDeepCloneable<TranslationModelMetadata>, IBufferMessage, IMessage

Model metadata that is specific to translation.

Inheritance

Object > TranslationModelMetadata

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

TranslationModelMetadata()

public TranslationModelMetadata()

TranslationModelMetadata(TranslationModelMetadata)

public TranslationModelMetadata(TranslationModelMetadata other)
Parameter
NameDescription
otherTranslationModelMetadata

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
TypeDescription
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
TypeDescription
String

TargetLanguageCode

public string TargetLanguageCode { get; set; }

Output only. The target language (The BCP-47 language code) that is used for training.

Property Value
TypeDescription
String