GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs

data class GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs(val endIndex: Output<String>? = null, val startIndex: Output<String>? = null) : ConvertibleToJava<GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs>

A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset

Constructors

fun GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs(endIndex: Output<String>? = null, startIndex: Output<String>? = null)

Functions

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

Properties

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

TextSegment half open end UTF-8 char index in the Document.text.

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

TextSegment start UTF-8 char index in the Document.text.