GoogleCloudDocumentaiV1DocumentTextChangeArgs

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

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDocumentaiV1DocumentTextChangeArgs

Properties

Link copied to clipboard
val changedText: Output<String>? = null

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.