Class: Google::Cloud::Translate::V3::Dataset

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 dataset that hosts the examples (sentence pairs) used for translation models.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Output only. Timestamp when this dataset was created.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

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

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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).

Returns:

  • (::Integer)

    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).

Returns:

  • (::Integer)

    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.

Returns:



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).

Returns:

  • (::Integer)

    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