# Class StreamAnnotation (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

message about annotations about Vision AI stream resource.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `active_zone` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.NormalizedPolygon` Annotation for type ACTIVE_ZONE This field is a member of `oneof`_ `annotation_payload`. |
| `crossing_line` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.NormalizedPolyline` Annotation for type CROSSING_LINE This field is a member of `oneof`_ `annotation_payload`. |
| `id` | `str` ID of the annotation. It must be unique when used in the certain context. For example, all the annotations to one input streams of a Vision AI application. |
| `display_name` | `str` User-friendly name for the annotation. |
| `source_stream` | `str` The Vision AI stream resource name. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.StreamAnnotationType` The actual type of Annotation. |