Class: Google::Cloud::Translate::V3::Dataset
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::Dataset
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/automl_translation.rb
Overview
A dataset that hosts the examples (sentence pairs) used for translation models.
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#display_name ⇒ ::String
The name of the dataset to show in the interface.
-
#example_count ⇒ ::Integer
readonly
Output only.
-
#name ⇒ ::String
The resource name of the dataset, in form of
projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
. -
#source_language_code ⇒ ::String
The BCP-47 language code of the source language.
-
#target_language_code ⇒ ::String
The BCP-47 language code of the target language.
-
#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 this dataset was created.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_name ⇒ ::String
Returns The name of the dataset 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.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#example_count ⇒ ::Integer (readonly)
Returns Output only. The number of examples in the dataset.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The resource name of the dataset, in form of
projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#source_language_code ⇒ ::String
Returns The BCP-47 language code of the source language.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#target_language_code ⇒ ::String
Returns The BCP-47 language code of the target language.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#test_example_count ⇒ ::Integer (readonly)
Returns Output only. Number of test examples (sentence pairs).
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#train_example_count ⇒ ::Integer (readonly)
Returns Output only. Number of training examples (sentence pairs).
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp when this dataset was last updated.
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#validate_example_count ⇒ ::Integer (readonly)
Returns Output only. Number of validation examples (sentence pairs).
333 334 335 336 |
# File 'proto_docs/google/cloud/translate/v3/automl_translation.rb', line 333 class Dataset include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |