Skip to content

Commit 721b367

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy