Cloud AutoML V1 Client - Class TranslationModelMetadata (2.0.4)

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 \ V1

Methods

Constructor.

Parameters
Name
Description
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.

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
Type
Description
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}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Output only. Inferred from the dataset.

The source language (The BCP-47 language code) that is used for training.

Returns
Type
Description
string

Output only. Inferred from the dataset.

The source language (The BCP-47 language code) that is used for training.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

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

Returns
Type
Description
string

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: