Annotation for Example. Each example may have one or more
annotations. For example in image classification problem, each
image might have one or more labels. We call labels binded with
this image an Annotation.
Attributes
Name
Description
name
str
Output only. Unique name of this annotation, format is:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class Annotation (1.13.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.2 (latest)](/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.13.1](/python/docs/reference/datalabeling/1.13.1/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.12.0](/python/docs/reference/datalabeling/1.12.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.11.1](/python/docs/reference/datalabeling/1.11.1/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.10.5](/python/docs/reference/datalabeling/1.10.5/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.9.0](/python/docs/reference/datalabeling/1.9.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.8.3](/python/docs/reference/datalabeling/1.8.3/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.7.0](/python/docs/reference/datalabeling/1.7.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.6.3](/python/docs/reference/datalabeling/1.6.3/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.5.2](/python/docs/reference/datalabeling/1.5.2/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.4.0](/python/docs/reference/datalabeling/1.4.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.3.0](/python/docs/reference/datalabeling/1.3.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.2.4](/python/docs/reference/datalabeling/1.2.4/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.1.0](/python/docs/reference/datalabeling/1.1.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [1.0.0](/python/docs/reference/datalabeling/1.0.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [0.4.2](/python/docs/reference/datalabeling/0.4.2/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [0.3.0](/python/docs/reference/datalabeling/0.3.0/google.cloud.datalabeling_v1beta1.types.Annotation)\n- [0.2.1](/python/docs/reference/datalabeling/0.2.1/google.cloud.datalabeling_v1beta1.types.Annotation) \n\n Annotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nAnnotation for Example. Each example may have one or more\nannotations. For example in image classification problem, each\nimage might have one or more labels. We call labels binded with\nthis image an Annotation."]]