Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment (v0.23.1)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::TextAnchor::TextSegment.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end_index

def end_index() -> ::Integer
Returns

#end_index=

def end_index=(value) -> ::Integer
Parameter
Returns

#start_index

def start_index() -> ::Integer
Returns

#start_index=

def start_index=(value) -> ::Integer
Parameter
Returns