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 document provides reference documentation for the \u003ccode\u003eDocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType\u003c/code\u003e enum within the Cloud Document AI v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOccurrenceType\u003c/code\u003e enum specifies how many times an entity type can appear in a document, categorized as \u003ccode\u003eOptionalMultiple\u003c/code\u003e, \u003ccode\u003eOptionalOnce\u003c/code\u003e, \u003ccode\u003eRequiredMultiple\u003c/code\u003e, \u003ccode\u003eRequiredOnce\u003c/code\u003e, or \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the different versions of this enum, ranging from the latest 3.19.0 down to 1.0.0, each having their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enum is \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e, and it is part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eEach field of the enum, \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 is explained with its expected type of use.\u003c/p\u003e\n"]]],[],null,[]]