Reference documentation and code samples for the Cloud Document AI v1beta3 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-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eOccurrenceType\u003c/code\u003e enum within the Google Cloud Document AI v1beta3 API, which defines how many times an entity type should appear in a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOccurrenceType\u003c/code\u003e enum includes fields such as \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 to specify entity occurrence expectations.\u003c/p\u003e\n"],["\u003cp\u003eThe enum's purpose is to differentiate between the number of unique instances of an entity versus the number of times an entity is mentioned in a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType\u003c/code\u003e enum can be found in the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Enum DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType) \n\n public enum DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API enum DocumentSchema.Types.EntityType.Types.Property.Types.OccurrenceType.\n\nTypes of occurrences of the entity type in the document. This\nrepresents the number of instances, not mentions, of an entity.\nFor example, a bank statement might only have one\n`account_number`, but this account number can be mentioned in several\nplaces on the document. In this case, the `account_number` is\nconsidered a `REQUIRED_ONCE` entity type. If, on the other hand, we\nexpect a bank statement to contain the status of multiple different\naccounts for the customers, the occurrence type is set to\n`REQUIRED_MULTIPLE`.\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.dll"]]