Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::TranslationModelMetadata.
Model metadata that is specific to translation.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#base_model
def base_model() -> ::String Returns 
 -  (::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} 
#base_model=
def base_model=(value) -> ::String Parameter 
 -  value (::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} 
 Returns 
 -  (::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
def source_language_code() -> ::String Returns 
 - (::String) — Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.
 
#source_language_code=
def source_language_code=(value) -> ::String Parameter 
 - value (::String) — Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.
 
 Returns 
 - (::String) — Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.
 
#target_language_code
def target_language_code() -> ::String Returns 
 - (::String) — Output only. The target language (The BCP-47 language code) that is used for training.
 
#target_language_code=
def target_language_code=(value) -> ::String Parameter 
 - value (::String) — Output only. The target language (The BCP-47 language code) that is used for training.
 
 Returns 
 - (::String) — Output only. The target language (The BCP-47 language code) that is used for training.