examples
Creates, updates, deletes, gets or lists a examples
resource.
Overview
Name | examples |
Type | Resource |
Id | google.translate.examples |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name of the example, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id} |
sourceText | string | Sentence in source language. |
targetText | string | Sentence in target language. |
usage | string | Output only. Usage of the sentence pair. Options are TRAIN |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_datasets_examples_list | SELECT | datasetsId, locationsId, projectsId | Lists sentence pairs in the dataset. |
SELECT
examples
Lists sentence pairs in the dataset.
SELECT
name,
sourceText,
targetText,
usage
FROM google.translate.examples
WHERE datasetsId = '{{ datasetsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';