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"]],[["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 the different ways an entity can occur in a document."],["The `OccurrenceType` enum defines five possible occurrence types: `Unspecified`, `OptionalMultiple`, `OptionalOnce`, `RequiredMultiple`, and `RequiredOnce`."],["The documentation covers multiple versions of the API, from version 1.0.0 to the latest version 3.19.0, with links to each version's specific documentation."],["`RequiredOnce` and `RequiredMultiple` both dictate that the entity must appear in the document, with the former allowing only one instance and the latter one or more, whereas `OptionalOnce` and `OptionalMultiple` dictate that the entity may appear, with similar restrictions on number of instances."],["The `Namespace` and `Assembly` information is provided for further reference, which is `Google.Cloud.DocumentAI.V1` and `Google.Cloud.DocumentAI.V1.dll` respectively."]]],[]]