# Class IngestAssetRequest (0.5.1)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.10

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

Request message for IngestAsset API.

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** |
| `config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.IngestAssetRequest.Config` Provides information for the data and the asset resource name that the data belongs to. The first `IngestAssetRequest` message must only contain a `Config` message. This field is a member of `oneof`_ `streaming_request`. |
| `time_indexed_data` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.IngestAssetRequest.TimeIndexedData` Data to be ingested. This field is a member of `oneof`_ `streaming_request`. |

## Classes

### Config

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

Configuration for the data.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### TimeIndexedData

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

Contains the data and the corresponding time range this data
is for.