File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/google-cloud-documentai/google/cloud/documentai_v1beta2/types Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,9 @@ class TextAnchor(proto.Message):
673
673
text_segments (Sequence[google.cloud.documentai_v1beta2.types.Document.TextAnchor.TextSegment]):
674
674
The text segments from the
675
675
[Document.text][google.cloud.documentai.v1beta2.Document.text].
676
+ content (str):
677
+ Contains the content of the text span so that users do not
678
+ have to look it up in the text_segments.
676
679
"""
677
680
678
681
class TextSegment (proto .Message ):
@@ -699,6 +702,7 @@ class TextSegment(proto.Message):
699
702
text_segments = proto .RepeatedField (
700
703
proto .MESSAGE , number = 1 , message = "Document.TextAnchor.TextSegment" ,
701
704
)
705
+ content = proto .Field (proto .STRING , number = 2 ,)
702
706
703
707
class PageAnchor (proto .Message ):
704
708
r"""Referencing elements in
You can’t perform that action at this time.
0 commit comments