adaptive_mt_files
Creates, updates, deletes, gets or lists a adaptive_mt_files
resource.
Overview
Name | adaptive_mt_files |
Type | Resource |
Id | google.translate.adaptive_mt_files |
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} |
createTime | string | Output only. Timestamp when this file was created. |
displayName | string | The file's display name. |
entryCount | integer | The number of entries that the file contains. |
updateTime | string | Output only. Timestamp when this file was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_adaptive_mt_datasets_adaptive_mt_files_get | SELECT | adaptiveMtDatasetsId, adaptiveMtFilesId, locationsId, projectsId | Gets and AdaptiveMtFile |
projects_locations_adaptive_mt_datasets_adaptive_mt_files_list | SELECT | adaptiveMtDatasetsId, locationsId, projectsId | Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset. |
projects_locations_adaptive_mt_datasets_adaptive_mt_files_delete | DELETE | adaptiveMtDatasetsId, adaptiveMtFilesId, locationsId, projectsId | Deletes an AdaptiveMtFile along with its sentences. |
SELECT
examples
Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.
SELECT
name,
createTime,
displayName,
entryCount,
updateTime
FROM google.translate.adaptive_mt_files
WHERE adaptiveMtDatasetsId = '{{ adaptiveMtDatasetsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified adaptive_mt_files
resource.
/*+ delete */
DELETE FROM google.translate.adaptive_mt_files
WHERE adaptiveMtDatasetsId = '{{ adaptiveMtDatasetsId }}'
AND adaptiveMtFilesId = '{{ adaptiveMtFilesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';