Skip to main content

adaptive_mt_sentences

Creates, updates, deletes, gets or lists a adaptive_mt_sentences resource.

Overview

Nameadaptive_mt_sentences
TypeResource
Idgoogle.translate.adaptive_mt_sentences

Fields

NameDatatypeDescription
namestringRequired. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}
createTimestringOutput only. Timestamp when this sentence was created.
sourceSentencestringRequired. The source sentence.
targetSentencestringRequired. The target sentence.
updateTimestringOutput only. Timestamp when this sentence was last updated.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_adaptive_mt_datasets_adaptive_mt_files_adaptive_mt_sentences_listSELECTadaptiveMtDatasetsId, adaptiveMtFilesId, locationsId, projectsIdLists all AdaptiveMtSentences under a given file/dataset.
projects_locations_adaptive_mt_datasets_adaptive_mt_sentences_listSELECTadaptiveMtDatasetsId, locationsId, projectsIdLists all AdaptiveMtSentences under a given file/dataset.

SELECT examples

Lists all AdaptiveMtSentences under a given file/dataset.

SELECT
name,
createTime,
sourceSentence,
targetSentence,
updateTime
FROM google.translate.adaptive_mt_sentences
WHERE adaptiveMtDatasetsId = '{{ adaptiveMtDatasetsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';