Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::TextChange (v0.19.0)

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

This message is used for text changes aka. OCR corrections.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#changed_text

def changed_text() -> ::String
Returns
  • (::String) — The text that replaces the text identified in the text_anchor.

#changed_text=

def changed_text=(value) -> ::String
Parameter
  • value (::String) — The text that replaces the text identified in the text_anchor.
Returns
  • (::String) — The text that replaces the text identified in the text_anchor.

#provenance

def provenance() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance>
Returns

#provenance=

def provenance=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance>
Parameter
Returns

#text_anchor

def text_anchor() -> ::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor
Returns

#text_anchor=

def text_anchor=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor
Parameter
Returns