Class: Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
Represents the chunks that the document is divided into.
Defined Under Namespace
Classes: Chunk
Instance Attribute Summary collapse
-
#chunks ⇒ ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk>
List of chunks.
Instance Attribute Details
#chunks ⇒ ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk>
Returns List of chunks.
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1185 class ChunkedDocument include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a chunk. # @!attribute [rw] chunk_id # @return [::String] # ID of the chunk. # @!attribute [rw] source_block_ids # @return [::Array<::String>] # Unused. # @!attribute [rw] content # @return [::String] # Text content of the chunk. # @!attribute [rw] page_span # @return [::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageSpan] # Page span of the chunk. # @!attribute [rw] page_headers # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageHeader>] # Page headers associated with the chunk. # @!attribute [rw] page_footers # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageFooter>] # Page footers associated with the chunk. class Chunk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents where the chunk starts and ends in the document. # @!attribute [rw] page_start # @return [::Integer] # Page where chunk starts in the document. # @!attribute [rw] page_end # @return [::Integer] # Page where chunk ends in the document. class ChunkPageSpan include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the page header associated with the chunk. # @!attribute [rw] text # @return [::String] # Header in text format. # @!attribute [rw] page_span # @return [::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageSpan] # Page span of the header. class ChunkPageHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents the page footer associated with the chunk. # @!attribute [rw] text # @return [::String] # Footer in text format. # @!attribute [rw] page_span # @return [::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageSpan] # Page span of the footer. class ChunkPageFooter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |