# Class Event (0.5.1)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.10

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

Message describing the Event object.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Name of the resource. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The create timestamp. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The update timestamp. |
| `labels` | `MutableMapping[str, str]` Labels as key value pairs. |
| `annotations` | `MutableMapping[str, str]` Annotations to allow clients to store small amounts of arbitrary data. |
| `alignment_clock` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.Event.Clock` The clock used for joining streams. |
| `grace_period` | `google.protobuf.duration_pb2.Duration` Grace period for cleaning up the event. This is the time the controller waits for before deleting the event. During this period, if there is any active channel on the event. The deletion of the event after grace_period will be ignored. |

## Classes

### AnnotationsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### Clock

    Clock(value)

Clock that will be used for joining streams.

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |