Class Asset (0.1.0)

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

An asset is a resource in corpus. It represents a media object inside corpus, contains metadata and another resource annotation. Different feature could be applied to the asset to generate annotations. User could specified annotation related to the target asset.

Attributes

Name Description
name str
Resource name of the asset. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
ttl google.protobuf.duration_pb2.Duration
The duration for which all media assets, associated metadata, and search documents can exist. If not set, then it will using the default ttl in the parent corpus resource.
asset_gcs_source google.cloud.visionai_v1.types.AssetSource.AssetGcsSource
Output only. The original cloud storage source uri that is associated with this asset.