A CollectionItem is an item in a collection. Each item is a reference to the original resource in a collection.
| JSON representation |
|---|
{
"collection"
:
string
,
"type"
:
enum (
|
| Fields | |
|---|---|
collection
|
Required. The collection name that this item belongs to. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection} |
type
|
Required. The type of item. |
itemResource
|
Required. The name of the CollectionItem. Its format depends on the |
Type
CollectionItem types.
| Enums | |
|---|---|
TYPE_UNSPECIFIED
|
The default type of item should never happen. |
ASSET
|
Asset type item. |

