Skip to main content

examples

Overview

Nameexamples
TypeResource
Idgoogle.datalabeling.examples

Fields

NameDatatypeDescription
namestringOutput only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}
textPayloadobjectContainer of information about a piece of text.
videoPayloadobjectContainer of information of a video.
annotationsarrayOutput only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
imagePayloadobjectContainer of information about an image.

Methods

NameAccessible byRequired ParamsDescription
projects_datasets_annotated_datasets_examples_getSELECTannotatedDatasetsId, datasetsId, examplesId, projectsIdGets an example by resource name, including both data and annotation.
projects_datasets_annotated_datasets_examples_listSELECTannotatedDatasetsId, datasetsId, projectsIdLists examples in an annotated dataset. Pagination is supported.
_projects_datasets_annotated_datasets_examples_listEXECannotatedDatasetsId, datasetsId, projectsIdLists examples in an annotated dataset. Pagination is supported.