Skip to content

Commit

Permalink
docs: [documentai] Clarify Properties documentation (#10145)
Browse files Browse the repository at this point in the history
* docs: Clarify Properties documentation

PiperOrigin-RevId: 590321253

Source-Link: googleapis/googleapis@e1d4dfa

Source-Link: googleapis/googleapis-gen@cdb0360
Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiY2RiMDM2MDdhY2EyY2RkYTQxYWZjYWVmNDcxMGU2YWIyZTA5MzA4ZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jan 3, 2024
1 parent ab29b60 commit e95f706
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion java-document-ai/README.md
Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.34.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.36.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Expand Up @@ -1281,14 +1281,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <pre>
* 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`.
* represents the number 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`.
* </pre>
*
* Protobuf enum {@code
Expand Down
Expand Up @@ -39,14 +39,14 @@ message DocumentSchema {
// Defines properties that can be part of the entity type.
message Property {
// 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`.
// represents the number 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`.
enum OccurrenceType {
// Unspecified occurrence type.
OCCURRENCE_TYPE_UNSPECIFIED = 0;
Expand Down

0 comments on commit e95f706

Please sign in to comment.