Reference documentation and code samples for the Cloud AutoML V1 Client class TranslationModelMetadata.
Model metadata that is specific to translation.
Generated from protobuf message google.cloud.automl.v1.TranslationModelMetadata
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ base_model
string
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}
↳ source_language_code
string
Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.
↳ target_language_code
string
Output only. The target language (The BCP-47 language code) that is used for training.
getBaseModel
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}
string
setBaseModel
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}
var
string
$this
getSourceLanguageCode
Output only. Inferred from the dataset.
The source language (The BCP-47 language code) that is used for training.
string
setSourceLanguageCode
Output only. Inferred from the dataset.
The source language (The BCP-47 language code) that is used for training.
var
string
$this
getTargetLanguageCode
Output only. The target language (The BCP-47 language code) that is used for training.
string
setTargetLanguageCode
Output only. The target language (The BCP-47 language code) that is used for training.
var
string
$this