Skip to content

Commit 003e626

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add API fields for the descriptions of entity type and property in the document schema
PiperOrigin-RevId: 671472365
1 parent d302931 commit 003e626

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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;

0 commit comments

Comments
 (0)