# Class StreamingAnnotateVideoRequest (2.20.0)

2.20.0 (latest) 2.19.0 2.18.0 2.17.0 2.16.2 2.15.0 2.14.1 2.13.5 2.12.0 2.11.4 2.10.1 2.9.0 2.8.3 2.7.1 2.6.1 2.5.1 2.4.0 2.3.3 2.2.0 2.1.0 2.0.0 1.16.3 1.15.0 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0

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

The top-level message sent by the client for the
`StreamingAnnotateVideo` method. Multiple
`StreamingAnnotateVideoRequest` messages are sent. The first
message must only contain a `StreamingVideoConfig` message. All
subsequent messages must only contain `input_content` data.

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** |
| `video_config` | `https://docs.cloud.google.com/python/docs/reference/videointelligence/latest/google.cloud.videointelligence_v1p3beta1.types.StreamingVideoConfig` Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message. This field is a member of `oneof`_ `streaming_request`. |
| `input_content` | `bytes` The video data to be annotated. Chunks of video data are sequentially sent in `StreamingAnnotateVideoRequest` messages. Except the initial `StreamingAnnotateVideoRequest` message containing only `video_config`, all subsequent `AnnotateStreamingVideoRequest` messages must only contain `input_content` field. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64). This field is a member of `oneof`_ `streaming_request`. |