Class: Google::Cloud::Translate::V3::Model

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/translate/v3/automl_translation.rb

Overview

A trained translation model.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Timestamp when the model resource was created, which is also when the training started.

Returns:



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#dataset::String

Returns The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}.

Returns:

  • (::String)

    The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#display_name::String

Returns The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

Returns:

  • (::String)

    The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#name::String

Returns The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}.

Returns:

  • (::String)

    The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#source_language_code::String (readonly)

Returns Output only. The BCP-47 language code of the source language.

Returns:

  • (::String)

    Output only. The BCP-47 language code of the source language.



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#target_language_code::String (readonly)

Returns Output only. The BCP-47 language code of the target language.

Returns:

  • (::String)

    Output only. The BCP-47 language code of the target language.



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#test_example_count::Integer (readonly)

Returns Output only. Number of examples (sentence pairs) used to test the model.

Returns:

  • (::Integer)

    Output only. Number of examples (sentence pairs) used to test the model.



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#train_example_count::Integer (readonly)

Returns Output only. Number of examples (sentence pairs) used to train the model.

Returns:

  • (::Integer)

    Output only. Number of examples (sentence pairs) used to train the model.



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Timestamp when this model was last updated.

Returns:



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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

#validate_example_count::Integer (readonly)

Returns Output only. Number of examples (sentence pairs) used to validate the model.

Returns:

  • (::Integer)

    Output only. Number of examples (sentence pairs) used to validate the model.



480
481
482
483
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 480

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