Skip to content

Commit

Permalink
feat: [documentai] Add API fields for the descriptions of entity type…
Browse files Browse the repository at this point in the history
… and property in the document schema (#5662)

* feat: Add API fields for the descriptions of entity type and property in the document schema

PiperOrigin-RevId: 671472365

Source-Link: googleapis/googleapis@003e626

Source-Link: googleapis/googleapis-gen@bf0196f
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvY3VtZW50YWkvLk93bEJvdC55YW1sIiwiaCI6ImJmMDE5NmZlMjAwNGUxZmJiMWVkZjVhYThkOGFkYTY1M2UxMGQ2MmMifQ==

* 🦉 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>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 12, 2024
1 parent 1b10ce5 commit c0995a2
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ message DocumentSchema {
// EntityType name.
string name = 1;

// The description of the property. Could be used to provide more
// information about the property for model calls.
string description = 7;

// User defined name for the property.
string display_name = 6;

Expand Down Expand Up @@ -169,6 +173,10 @@ message DocumentSchema {
// honored for backward compatibility.
string name = 1;

// The description of the entity type. Could be used to provide more
// information about the entity type for model calls.
string description = 15;

// The entity type that this type is derived from. For now, one and only
// one should be set.
repeated string base_types = 2;
Expand Down
12 changes: 12 additions & 0 deletions packages/google-cloud-documentai/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions packages/google-cloud-documentai/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/google-cloud-documentai/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c0995a2

Please sign in to comment.