adaptive_mt_sentences
Creates, updates, deletes, gets or lists a adaptive_mt_sentences
resource.
Overview
Name | adaptive_mt_sentences |
Type | Resource |
Id | google.translate.adaptive_mt_sentences |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. The resource name of the file, in form of projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence} |
createTime | string | Output only. Timestamp when this sentence was created. |
sourceSentence | string | Required. The source sentence. |
targetSentence | string | Required. The target sentence. |
updateTime | string | Output only. Timestamp when this sentence was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_adaptive_mt_datasets_adaptive_mt_files_adaptive_mt_sentences_list | SELECT | adaptiveMtDatasetsId, adaptiveMtFilesId, locationsId, projectsId | Lists all AdaptiveMtSentences under a given file/dataset. |
projects_locations_adaptive_mt_datasets_adaptive_mt_sentences_list | SELECT | adaptiveMtDatasetsId, locationsId, projectsId | Lists 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 }}';