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 \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setSourceLanguageCode
Required. The BCP-47 language code of the source language.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTargetLanguageCode
Required. The BCP-47 language code of the target language.
Returns | |
---|---|
Type | Description |
string |
setTargetLanguageCode
Required. The BCP-47 language code of the target language.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |