Cloud AutoML V1beta1 Client - Class TranslationDatasetMetadata (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class TranslationDatasetMetadata.

Dataset metadata that is specific to translation.

Generated from protobuf message google.cloud.automl.v1beta1.TranslationDatasetMetadata

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_language_code string

Required. The BCP-47 language code of the source language.

↳ target_language_code string

Required. The BCP-47 language code of the target language.

getSourceLanguageCode

Required. The BCP-47 language code of the source language.

Returns
TypeDescription
string

setSourceLanguageCode

Required. The BCP-47 language code of the source language.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetLanguageCode

Required. The BCP-47 language code of the target language.

Returns
TypeDescription
string

setTargetLanguageCode

Required. The BCP-47 language code of the target language.

Parameter
NameDescription
var string
Returns
TypeDescription
$this