Class CollectionItem (0.1.1)

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

A CollectionItem is an item in a collection. Each item is a reference to the original resource in a collection.

Attributes

Name Description
collection str
Required. The collection name that this item belongs to. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
type_ google.cloud.visionai_v1.types.CollectionItem.Type
Required. The type of item.
item_resource str
Required. The name of the CollectionItem. Its format depends on the type above. For ASSET: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

Classes

Type

Type(value)

CollectionItem types.