Class Google::Cloud::DocumentAI::V1::Document::TextAnchor (v0.2.4)

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

#text_segments=

def text_segments=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment>
Parameter
Returns