- 3.1.0 (latest)
- 3.0.1
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.3
- 2.28.0
- 2.27.1
- 2.26.0
- 2.25.0
- 2.24.2
- 2.23.0
- 2.22.0
- 2.21.1
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.1
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.1
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.3
- 1.5.1
- 1.4.2
- 1.3.0
- 1.2.1
- 1.1.0
- 1.0.0
- 0.5.2
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
Property(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines properties that can be part of the entity type.
Attributes | |
---|---|
Name | Description |
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.
Values: OCCURRENCE_TYPE_UNSPECIFIED (0): Unspecified occurrence type. OPTIONAL_ONCE (1): There will be zero or one instance of this entity type. OPTIONAL_MULTIPLE (2): The entity type will appear zero or multiple times. REQUIRED_ONCE (3): The entity type will only appear exactly once. REQUIRED_MULTIPLE (4): The entity type will appear once or more times.