# visionai::StreamSender::Options Struct Reference

# visionai::StreamSender::Options

`#include <streams.h>`

[Options](https://docs.cloud.google.com/vision-ai/docs/reference/cpp/struct/visionai/stream-sender/options#structvisionai_1_1_stream_sender_1_1_options) to configure the `https://docs.cloud.google.com/vision-ai/docs/reference/cpp/class/visionai/stream-sender#classvisionai_1_1_stream_sender`.

## Summary

| ### Public attributes ||
|---|---|
| `https://docs.cloud.google.com/vision-ai/docs/reference/cpp/struct/visionai/stream-sender/options#structvisionai_1_1_stream_sender_1_1_options_1a732afccff2bff3e85ddb3430f68c3a10` | `std::string` OPTIONAL: The specific event id to send to. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/cpp/struct/visionai/stream-sender/options#structvisionai_1_1_stream_sender_1_1_options_1ac8dfdd2b75fabd126aa059002a1daab1` | `std::string` OPTIONAL: A name to identify the sender. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/cpp/struct/visionai/stream-sender/options#structvisionai_1_1_stream_sender_1_1_options_1ad1b5f653bbf4b84de4431173b7c218dc` | `https://docs.cloud.google.com/vision-ai/docs/reference/cpp/struct/visionai/service-connection-options#structvisionai_1_1_service_connection_options` REQUIRED: The service endpoint and cluster to connect to. |
| `https://docs.cloud.google.com/vision-ai/docs/reference/cpp/struct/visionai/stream-sender/options#structvisionai_1_1_stream_sender_1_1_options_1a84dccda4a0edcdedb4d77551f6ef65d7` | `std::string` REQUIRED: The resource id of the specific stream to send to. |

## Public attributes

### event_id

```c++
std::string visionai::StreamSender::Options::event_id
```
OPTIONAL: The specific event id to send to.

Leave empty for this to be automatically generated.

### sender_id

```c++
std::string visionai::StreamSender::Options::sender_id
```
OPTIONAL: A name to identify the sender.

Leave empty for this to be automatically generated.

### service_connection_options

```c++
ServiceConnectionOptions visionai::StreamSender::Options::service_connection_options
```
REQUIRED: The service endpoint and cluster to connect to.

### stream_id

```c++
std::string visionai::StreamSender::Options::stream_id
```
REQUIRED: The resource id of the specific stream to send to.