Cloud Translation V3 API - Class Google::Cloud::Translate::V3::AdaptiveMtDataset (v0.10.0)

Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtDataset.

An Adaptive MT Dataset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
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.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::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.
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.

#example_count

def example_count() -> ::Integer
Returns
  • (::Integer) — The number of examples in the dataset.

#example_count=

def example_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of examples in the dataset.
Returns
  • (::Integer) — The number of examples in the dataset.

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}
Returns
  • (::String) — Required. The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}

#source_language_code

def source_language_code() -> ::String
Returns
  • (::String) — The BCP-47 language code of the source language.

#source_language_code=

def source_language_code=(value) -> ::String
Parameter
  • value (::String) — The BCP-47 language code of the source language.
Returns
  • (::String) — The BCP-47 language code of the source language.

#target_language_code

def target_language_code() -> ::String
Returns
  • (::String) — The BCP-47 language code of the target language.

#target_language_code=

def target_language_code=(value) -> ::String
Parameter
  • value (::String) — The BCP-47 language code of the target language.
Returns
  • (::String) — The BCP-47 language code of the target language.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns