public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class Asset.
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.
Namespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
Asset()
public Asset()Asset(Asset)
public Asset(Asset other)| Parameter | |
|---|---|
| Name | Description |
other |
Asset |
Properties
AssetGcsSource
public AssetSource.Types.AssetGcsSource AssetGcsSource { get; set; }Output only. The original cloud storage source uri that is associated with this asset.
| Property Value | |
|---|---|
| Type | Description |
AssetSourceTypesAssetGcsSource |
|
AssetName
public AssetName AssetName { get; set; }| Property Value | |
|---|---|
| Type | Description |
AssetName |
|
Name
public string Name { get; set; }Resource name of the asset.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Ttl
public Duration Ttl { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|