Skip to content

Commit 721b367

Browse files
Google APIscopybara-github
authored andcommitted
feat: add content field in TextAnchor
PiperOrigin-RevId: 435142243
1 parent 6c79119 commit 721b367

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

google/cloud/documentai/v1beta2/document.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ message Document {
421421

422422
// The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
423423
repeated TextSegment text_segments = 1;
424+
425+
// Contains the content of the text span so that users do
426+
// not have to look it up in the text_segments.
427+
string content = 2;
424428
}
425429

426430
// Referencing elements in [Document.pages][google.cloud.documentai.v1beta2.Document.pages].

0 commit comments

Comments
 (0)