Skip to content

Commit c0995a2

Browse files
feat: [documentai] Add API fields for the descriptions of entity type 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 <[email protected]>
1 parent 1b10ce5 commit c0995a2

4 files changed

Lines changed: 74 additions & 0 deletions

File tree

packages/google-cloud-documentai/protos/google/cloud/documentai/v1beta3/document_schema.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ message DocumentSchema {
127127
// EntityType name.
128128
string name = 1;
129129

130+
// The description of the property. Could be used to provide more
131+
// information about the property for model calls.
132+
string description = 7;
133+
130134
// User defined name for the property.
131135
string display_name = 6;
132136

@@ -169,6 +173,10 @@ message DocumentSchema {
169173
// honored for backward compatibility.
170174
string name = 1;
171175

176+
// The description of the entity type. Could be used to provide more
177+
// information about the entity type for model calls.
178+
string description = 15;
179+
172180
// The entity type that this type is derived from. For now, one and only
173181
// one should be set.
174182
repeated string base_types = 2;

packages/google-cloud-documentai/protos/protos.d.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-documentai/protos/protos.js

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-documentai/protos/protos.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)