Text reference indexing into the Document.text.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — Contains the content of the text span so that users do not have to look it up in the text_segments.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — Contains the content of the text span so that users do not have to look it up in the text_segments.
Returns
- (::String) — Contains the content of the text span so that users do not have to look it up in the text_segments.
#text_segments
def text_segments() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment>) — The text segments from the Document.text.
#text_segments=
def text_segments=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment>) — The text segments from the Document.text.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment>) — The text segments from the Document.text.