# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::TranslationModelMetadata (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.8 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.