# Class Annotation (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.1 1.10.5 1.9.0 1.8.3 1.7.0 1.6.3 1.5.2 1.4.0 1.3.0 1.2.4 1.1.0 1.0.0 0.4.2 0.3.0 0.2.1

    Annotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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} |
| `annotation_source` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.AnnotationSource` Output only. The source of the annotation. |
| `annotation_value` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.AnnotationValue` Output only. This is the actual annotation value, e.g classification, bounding box values are stored here. |
| `annotation_metadata` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.AnnotationMetadata` Output only. Annotation metadata, including information like votes for labels. |
| `annotation_sentiment` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.AnnotationSentiment` Output only. Sentiment for this annotation. |