You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/documentai_v1.projects.locations.processors.humanReviewConfig.html
+90Lines changed: 90 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,97 @@ <h3>Method Details</h3>
130
130
},
131
131
"enableSchemaValidation": True or False, # Whether the validation should be performed on the ad-hoc review request.
132
132
"inlineDocument": { # Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality. # An inline document proto.
133
+
"chunkedDocument": { # Represents the chunks that the document is divided into. # Document chunked based on chunking config.
134
+
"chunks": [ # List of chunks.
135
+
{ # Represents a chunk.
136
+
"chunkId": "A String", # ID of the chunk.
137
+
"content": "A String", # Text content of the chunk.
138
+
"pageFooters": [ # Page footers associated with the chunk.
139
+
{ # Represents the page footer associated with the chunk.
140
+
"pageSpan": { # Represents where the chunk starts and ends in the document. # Page span of the footer.
141
+
"pageEnd": 42, # Page where chunk ends in the document.
142
+
"pageStart": 42, # Page where chunk starts in the document.
143
+
},
144
+
"text": "A String", # Footer in text format.
145
+
},
146
+
],
147
+
"pageHeaders": [ # Page headers associated with the chunk.
148
+
{ # Represents the page header associated with the chunk.
149
+
"pageSpan": { # Represents where the chunk starts and ends in the document. # Page span of the header.
150
+
"pageEnd": 42, # Page where chunk ends in the document.
151
+
"pageStart": 42, # Page where chunk starts in the document.
152
+
},
153
+
"text": "A String", # Header in text format.
154
+
},
155
+
],
156
+
"pageSpan": { # Represents where the chunk starts and ends in the document. # Page span of the chunk.
157
+
"pageEnd": 42, # Page where chunk ends in the document.
158
+
"pageStart": 42, # Page where chunk starts in the document.
159
+
},
160
+
"sourceBlockIds": [ # Unused.
161
+
"A String",
162
+
],
163
+
},
164
+
],
165
+
},
133
166
"content": "A String", # Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
167
+
"documentLayout": { # Represents the parsed layout of a document as a collection of blocks that the document is divided into. # Parsed layout of the document.
168
+
"blocks": [ # List of blocks in the document.
169
+
{ # Represents a block. A block could be one of the various types (text, table, list) supported.
170
+
"blockId": "A String", # ID of the block.
171
+
"listBlock": { # Represents a list type block. # Block consisting of list content/structure.
172
+
"listEntries": [ # List entries that constitute a list block.
173
+
{ # Represents an entry in the list.
174
+
"blocks": [ # A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
175
+
# Object with schema name: GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
176
+
],
177
+
},
178
+
],
179
+
"type": "A String", # Type of the list_entries (if exist). Available options are `ordered` and `unordered`.
180
+
},
181
+
"pageSpan": { # Represents where the block starts and ends in the document. # Page span of the block.
182
+
"pageEnd": 42, # Page where block ends in the document.
183
+
"pageStart": 42, # Page where block starts in the document.
184
+
},
185
+
"tableBlock": { # Represents a table type block. # Block consisting of table content/structure.
186
+
"bodyRows": [ # Body rows containing main table content.
187
+
{ # Represents a row in a table.
188
+
"cells": [ # A table row is a list of table cells.
189
+
{ # Represents a cell in a table row.
190
+
"blocks": [ # A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
191
+
# Object with schema name: GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
192
+
],
193
+
"colSpan": 42, # How many columns this cell spans.
194
+
"rowSpan": 42, # How many rows this cell spans.
"headerRows": [ # Header rows at the top of the table.
201
+
{ # Represents a row in a table.
202
+
"cells": [ # A table row is a list of table cells.
203
+
{ # Represents a cell in a table row.
204
+
"blocks": [ # A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
205
+
# Object with schema name: GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
206
+
],
207
+
"colSpan": 42, # How many columns this cell spans.
208
+
"rowSpan": 42, # How many rows this cell spans.
209
+
},
210
+
],
211
+
},
212
+
],
213
+
},
214
+
"textBlock": { # Represents a text type block. # Block consisting of text content.
215
+
"blocks": [ # A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
216
+
# Object with schema name: GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
217
+
],
218
+
"text": "A String", # Text content stored in the block.
219
+
"type": "A String", # Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.
220
+
},
221
+
},
222
+
],
223
+
},
134
224
"entities": [ # A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
135
225
{ # An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.
136
226
"confidence": 3.14, # Optional. Confidence of detected Schema entity. Range `[0, 1]`.
0 commit comments