class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextChange
This message is used for text changes aka. OCR corrections.
Attributes
changed_text[RW]
The text that replaces the text identified in the `text_anchor`. Corresponds to the JSON property `changedText` @return [String]
provenance[RW]
The history of this annotation. Corresponds to the JSON property `provenance` @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance>]
text_anchor[RW]
Text reference indexing into the Document.text. Corresponds to the JSON property `textAnchor` @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 2523 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/documentai_v1beta3/classes.rb, line 2528 def update!(**args) @changed_text = args[:changed_text] if args.key?(:changed_text) @provenance = args[:provenance] if args.key?(:provenance) @text_anchor = args[:text_anchor] if args.key?(:text_anchor) end