Class: Google::Cloud::Translate::V3::Model
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::Model
- 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
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#dataset ⇒ ::String
The dataset from which the model is trained, in form of
projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
. -
#display_name ⇒ ::String
The name of the model to show in the interface.
-
#name ⇒ ::String
The resource name of the model, in form of
projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
. -
#source_language_code ⇒ ::String
readonly
Output only.
-
#target_language_code ⇒ ::String
readonly
Output only.
-
#test_example_count ⇒ ::Integer
readonly
Output only.
-
#train_example_count ⇒ ::Integer
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#validate_example_count ⇒ ::Integer
readonly
Output only.
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.
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}
.
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.
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}
.
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.
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.
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.
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.
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.
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.
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 |