Cloud Translation V3 Client - Class DatasetInputConfig (1.20.0)

Reference documentation and code samples for the Cloud Translation V3 Client class DatasetInputConfig.

Input configuration for datasets.

Generated from protobuf message google.cloud.translation.v3.DatasetInputConfig

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ input_files array<DatasetInputConfig\InputFile>

Files containing the sentence pairs to be imported to the dataset.

getInputFiles

Files containing the sentence pairs to be imported to the dataset.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInputFiles

Files containing the sentence pairs to be imported to the dataset.

Parameter
Name Description
var array<DatasetInputConfig\InputFile>
Returns
Type Description
$this