Reference documentation and code samples for the Cloud Translation V3 Client class ImportAdaptiveMtFileRequest.
The request for importing an AdaptiveMt file along with its sentences.
Generated from protobuf message google.cloud.translation.v3.ImportAdaptiveMtFileRequest
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}
↳ file_input_source
↳ gcs_input_source
getParent
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}
string
setParent
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}
var
string
$this
getFileInputSource
Inline file source.
hasFileInputSource
setFileInputSource
Inline file source.
$this
getGcsInputSource
Google Cloud Storage file source.
hasGcsInputSource
setGcsInputSource
Google Cloud Storage file source.
$this
getSource
string
static::build
parent
string
Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}
Please see TranslationServiceClient::adaptiveMtDatasetName()
for help formatting this field.