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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eOccurrenceType\u003c/code\u003e enum within the Google Cloud Document AI v1 API, detailing how many times an entity type is expected to occur in a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOccurrenceType\u003c/code\u003e enum includes five possible values: \u003ccode\u003eOptionalMultiple\u003c/code\u003e, \u003ccode\u003eOptionalOnce\u003c/code\u003e, \u003ccode\u003eRequiredMultiple\u003c/code\u003e, \u003ccode\u003eRequiredOnce\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each defining different occurrence expectations.\u003c/p\u003e\n"],["\u003cp\u003eThis page includes documentation for many versions of the Google.Cloud.DocumentAI.V1 API, with version 3.19.0 being the latest, but also spanning back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eEach version listed contains the same information regarding the enum \u003ccode\u003eDocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]