Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor (v0.21.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor.

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. It is always populated for formFields.

#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. It is always populated for formFields.
Returns
  • (::String) — Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.

#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