Google Cloud Documentai V1Document Text Change Args
data class GoogleCloudDocumentaiV1DocumentTextChangeArgs(val changedText: Output<String>? = null, val provenance: Output<List<GoogleCloudDocumentaiV1DocumentProvenanceArgs>>? = null, val textAnchor: Output<GoogleCloudDocumentaiV1DocumentTextAnchorArgs>? = null) : ConvertibleToJava<GoogleCloudDocumentaiV1DocumentTextChangeArgs>
This message is used for text changes aka. OCR corrections.
Constructors
Link copied to clipboard
constructor(changedText: Output<String>? = null, provenance: Output<List<GoogleCloudDocumentaiV1DocumentProvenanceArgs>>? = null, textAnchor: Output<GoogleCloudDocumentaiV1DocumentTextAnchorArgs>? = null)
Properties
Link copied to clipboard
The text that replaces the text identified in the text_anchor
.
Link copied to clipboard
The history of this annotation.
Link copied to clipboard
Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single TextAnchor.text_segments
element. If the start and end index of the text segment are the same, the text change is inserted before that index.