# Class Stream (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

Message describing the Stream object. The Stream and the
Event resources are many to many; i.e., each Stream resource can
associate to many Event resources and each Event resource can
associate to many Stream resources.

| ## 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. |
| `display_name` | `str` The display name for the stream resource. |
| `enable_hls_playback` | `bool` Whether to enable the HLS playback service on this stream. |
| `media_warehouse_asset` | `str` The name of the media warehouse asset for long term storage of stream data. Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} Remain empty if the media warehouse storage is not needed for the stream. |

## 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. |

### 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. |