examples
Creates, updates, deletes, gets or lists a examples
resource.
Overview
Name | examples |
Type | Resource |
Id | google.datalabeling.examples |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id} |
annotations | array | Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations. |
imagePayload | object | Container of information about an image. |
textPayload | object | Container of information about a piece of text. |
videoPayload | object | Container of information of a video. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_datasets_annotated_datasets_examples_get | SELECT | annotatedDatasetsId, datasetsId, examplesId, projectsId | Gets an example by resource name, including both data and annotation. |
projects_datasets_annotated_datasets_examples_list | SELECT | annotatedDatasetsId, datasetsId, projectsId | Lists examples in an annotated dataset. Pagination is supported. |
SELECT
examples
Lists examples in an annotated dataset. Pagination is supported.
SELECT
name,
annotations,
imagePayload,
textPayload,
videoPayload
FROM google.datalabeling.examples
WHERE annotatedDatasetsId = '{{ annotatedDatasetsId }}'
AND datasetsId = '{{ datasetsId }}'
AND projectsId = '{{ projectsId }}';