Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::TextChange (v0.22.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::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::V1::Document::Provenance>
Returns

#provenance=

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

#text_anchor

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

#text_anchor=

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