Class: Google::Cloud::AutoML::V1beta1::TranslationModelMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/translation.rb

Overview

Model metadata that is specific to translation.

Instance Attribute Summary collapse

Instance Attribute Details

#base_modelString

Returns 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}



53
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/translation.rb', line 53

class TranslationModelMetadata; end

#source_language_codeString

Returns Output only. Inferred from the dataset. The source languge (The BCP-47 language code) that is used for training.

Returns:

  • (String)

    Output only. Inferred from the dataset. The source languge (The BCP-47 language code) that is used for training.



53
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/translation.rb', line 53

class TranslationModelMetadata; end

#target_language_codeString

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

Returns:

  • (String)

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



53
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/translation.rb', line 53

class TranslationModelMetadata; end