Class Property (2.7.0)

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

Defines properties that can be part of the entity type.

Attributes

NameDescription
name str
The name of the property. Follows the same guidelines as the EntityType name.
value_type str
A reference to the value type of the property. This type is subject to the same conventions as the Entity.base_types field.
occurrence_type google.cloud.documentai_v1.types.DocumentSchema.EntityType.Property.OccurrenceType
Occurrence type limits the number of instances an entity type appears in the document.

Classes

OccurrenceType

OccurrenceType(value)

Types of occurrences of the entity type in the document. Note: this represents the number of instances of an entity types, not number of mentions of a given entity instance.