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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/translation.rb

Overview

Model metadata that is specific to translation.

Instance Attribute Summary collapse

Instance Attribute Details

#base_model::String

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}



63
64
65
66
# File 'proto_docs/google/cloud/automl/v1beta1/translation.rb', line 63

class TranslationModelMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_language_code::String

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.



63
64
65
66
# File 'proto_docs/google/cloud/automl/v1beta1/translation.rb', line 63

class TranslationModelMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_language_code::String

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.



63
64
65
66
# File 'proto_docs/google/cloud/automl/v1beta1/translation.rb', line 63

class TranslationModelMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end