# Class ReceiveEventsRequest (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

Request message for ReceiveEvents.

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** |
| `setup_request` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.ReceiveEventsRequest.SetupRequest` The setup request to setup the RPC connection. This field is a member of `oneof`_ `request`. |
| `commit_request` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.CommitRequest` This request checkpoints the consumer's read progress. This field is a member of `oneof`_ `request`. |

## Classes

### SetupRequest

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

SetupRequest is the first message sent to the service to
setup the RPC connection.