# Class StreamData (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

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

Data for a stream.

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** |
| `stream_id` | `int` Required. The unique ID of this stream, assigned by the client. |
| `data` | `bytes` Data in the stream. This field is a member of `oneof`_ `contents`. |
| `close` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-devicestreaming/latest/google.cloud.devicestreaming_v1.types.Close` The stream is closing. EOF. This field is a member of `oneof`_ `contents`. |