Reference documentation and code samples for the Cloud Translation V3 Client class InputFile.
An input file.
Generated from protobuf message google.cloud.translation.v3.DatasetInputConfig.InputFile
Namespace
Google \ Cloud \ Translate \ V3 \ DatasetInputConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ usage
string
Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.
↳ gcs_source
getUsage
Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.
string
setUsage
Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.
var
string
$this
getGcsSource
Google Cloud Storage file source.
hasGcsSource
setGcsSource
Google Cloud Storage file source.
$this
getSource
string