public sealed class CollectionItem : IMessage<CollectionItem>, IEquatable<CollectionItem>, IDeepCloneable<CollectionItem>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class CollectionItem.
A CollectionItem is an item in a collection. Each item is a reference to the original resource in a collection.
Implements
IMessageCollectionItem, IEquatableCollectionItem, IDeepCloneableCollectionItem, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
CollectionItem()
public CollectionItem()CollectionItem(CollectionItem)
public CollectionItem(CollectionItem other)| Parameter | |
|---|---|
| Name | Description |
other |
CollectionItem |
Properties
Collection
public string Collection { get; set; }Required. The collection name that this item belongs to. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
| Property Value | |
|---|---|
| Type | Description |
string |
|
CollectionAsCollectionName
public CollectionName CollectionAsCollectionName { get; set; }CollectionName-typed view over the Collection resource name property.
| Property Value | |
|---|---|
| Type | Description |
CollectionName |
|
ItemResource
public string ItemResource { get; set; }Required. The name of the CollectionItem. Its format depends on the type
above. For ASSET:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Type
public CollectionItem.Types.Type Type { get; set; }Required. The type of item.
| Property Value | |
|---|---|
| Type | Description |
CollectionItemTypesType |
|