Reference documentation and code samples for the Cloud Document AI v1 API enum DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType.
Types of occurrences of the entity type in the document. This
represents the number of instances, not mentions, of an entity.
For example, a bank statement might only have one
account_number, but this account number can be mentioned in several
places on the document. In this case, the account_number is
considered a REQUIRED_ONCE entity type. If, on the other hand, we
expect a bank statement to contain the status of multiple different
accounts for the customers, the occurrence type is set to
REQUIRED_MULTIPLE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType` enum within the Google Cloud Document AI v1 API."],["The enum defines the expected occurrence types of an entity within a document, such as `OptionalMultiple`, `OptionalOnce`, `RequiredMultiple`, `RequiredOnce`, and `Unspecified`."],["The documentation lists available versions of the API, ranging from the latest 3.19.0 down to 1.0.0, each with its respective documentation link."],["The `OccurrenceType` indicates the number of entity instances, not the number of mentions, and will be either Optional or Required, and can be either once or multiple."]]],[]]