Class Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor (v0.10.0)

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::V1beta3::Document::TextAnchor::TextSegment>

#text_segments=

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