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 `OccurrenceType` enum within the Google Cloud Document AI v1 API, detailing how entity types occur in documents."],["The `OccurrenceType` enum defines five possible values: `OptionalMultiple`, `OptionalOnce`, `RequiredMultiple`, `RequiredOnce`, and `Unspecified`, each representing a different expectation for the number of entity instances."],["The latest version of the documentation is 3.19.0, while this page specifically covers version 3.16.0, and older versions all the way to version 1.0.0 are also accessible."],["The `DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType` specifies whether an entity is expected to appear zero, one, or multiple times, and if it is optional or required, within a document."]]],[]]