# Class AssetSource (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

The source of the asset.

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** |
| `asset_gcs_source` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.AssetSource.AssetGcsSource` The source of the asset is from Cloud Storage. This field is a member of `oneof`_ `source_form`. |
| `asset_content_data` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.AssetSource.AssetContentData` The source of the asset is from content bytes. This field is a member of `oneof`_ `source_form`. |

## Classes

### AssetContentData

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

The content of the asset.

### AssetGcsSource

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

The asset source is from Cloud Storage.