Class AssetSource (0.1.6)

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 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 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.