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 of instances of an entity, not
number of mentions of an entity. For example, a bank statement may
only have one account_number, but this account number may be
mentioned in several places on the document. In this case the
'account_number' would be 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 will
be 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\u003eDocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType\u003c/code\u003e enum within the Google Cloud Document AI v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 3.19.0, and includes information on various other versions of the API from 3.18.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOccurrenceType\u003c/code\u003e enum specifies how many times an entity type is expected to occur in a document, with options including \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.\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 \u003ccode\u003eOccurrenceType\u003c/code\u003e field's name is provided alongside its description of what that type entails, such as whether it can appear zero, once, or multiple times.\u003c/p\u003e\n"]]],[],null,[]]