Skip to content

Commit f2a4bce

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.properties.returnBoundingBoxes.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.properties.returnImages.type (Total Keys: 1) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig.properties.returnBoundingBoxes.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig.properties.returnImages.type (Total Keys: 1)
1 parent 7ced387 commit f2a4bce

6 files changed

+34
-2
lines changed

docs/dyn/documentai_v1.projects.locations.processors.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ <h3>Method Details</h3>
167167
&quot;chunkSize&quot;: 42, # Optional. The chunk sizes to use when splitting documents, in order of level.
168168
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
169169
},
170+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
171+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
170172
},
171173
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
172174
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.
@@ -1488,6 +1490,8 @@ <h3>Method Details</h3>
14881490
&quot;chunkSize&quot;: 42, # Optional. The chunk sizes to use when splitting documents, in order of level.
14891491
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
14901492
},
1493+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
1494+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
14911495
},
14921496
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
14931497
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.

docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ <h3>Method Details</h3>
162162
&quot;chunkSize&quot;: 42, # Optional. The chunk sizes to use when splitting documents, in order of level.
163163
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
164164
},
165+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
166+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
165167
},
166168
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
167169
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.
@@ -1580,6 +1582,8 @@ <h3>Method Details</h3>
15801582
&quot;chunkSize&quot;: 42, # Optional. The chunk sizes to use when splitting documents, in order of level.
15811583
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
15821584
},
1585+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
1586+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
15831587
},
15841588
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
15851589
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.

docs/dyn/documentai_v1beta3.projects.locations.processors.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ <h3>Method Details</h3>
186186
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
187187
&quot;semanticChunkingGroupSize&quot;: True or False, # Optional. The number of tokens to group together when evaluating semantic similarity.
188188
},
189+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
190+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
189191
},
190192
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
191193
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.
@@ -2459,6 +2461,8 @@ <h3>Method Details</h3>
24592461
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
24602462
&quot;semanticChunkingGroupSize&quot;: True or False, # Optional. The number of tokens to group together when evaluating semantic similarity.
24612463
},
2464+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
2465+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
24622466
},
24632467
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
24642468
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.

docs/dyn/documentai_v1beta3.projects.locations.processors.processorVersions.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ <h3>Method Details</h3>
176176
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
177177
&quot;semanticChunkingGroupSize&quot;: True or False, # Optional. The number of tokens to group together when evaluating semantic similarity.
178178
},
179+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
180+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
179181
},
180182
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
181183
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.
@@ -2620,6 +2622,8 @@ <h3>Method Details</h3>
26202622
&quot;includeAncestorHeadings&quot;: True or False, # Optional. Whether or not to include ancestor headings when splitting.
26212623
&quot;semanticChunkingGroupSize&quot;: True or False, # Optional. The number of tokens to group together when evaluating semantic similarity.
26222624
},
2625+
&quot;returnBoundingBoxes&quot;: True or False, # Optional. Whether to include bounding boxes in layout parser processor response.
2626+
&quot;returnImages&quot;: True or False, # Optional. Whether to include images in layout parser processor response.
26232627
},
26242628
&quot;ocrConfig&quot;: { # Config for Document OCR. # Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types.
26252629
&quot;advancedOcrOptions&quot;: [ # A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.

googleapiclient/discovery_cache/documents/documentai.v1.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@
10421042
}
10431043
}
10441044
},
1045-
"revision": "20241210",
1045+
"revision": "20250117",
10461046
"rootUrl": "https://documentai.googleapis.com/",
10471047
"schemas": {
10481048
"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": {
@@ -4438,6 +4438,14 @@ true
44384438
"chunkingConfig": {
44394439
"$ref": "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig",
44404440
"description": "Optional. Config for chunking in layout parser processor."
4441+
},
4442+
"returnBoundingBoxes": {
4443+
"description": "Optional. Whether to include bounding boxes in layout parser processor response.",
4444+
"type": "boolean"
4445+
},
4446+
"returnImages": {
4447+
"description": "Optional. Whether to include images in layout parser processor response.",
4448+
"type": "boolean"
44414449
}
44424450
},
44434451
"type": "object"

googleapiclient/discovery_cache/documents/documentai.v1beta3.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@
12841284
}
12851285
}
12861286
},
1287-
"revision": "20241210",
1287+
"revision": "20250117",
12881288
"rootUrl": "https://documentai.googleapis.com/",
12891289
"schemas": {
12901290
"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": {
@@ -5696,6 +5696,14 @@ true
56965696
"chunkingConfig": {
56975697
"$ref": "GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig",
56985698
"description": "Optional. Config for chunking in layout parser processor."
5699+
},
5700+
"returnBoundingBoxes": {
5701+
"description": "Optional. Whether to include bounding boxes in layout parser processor response.",
5702+
"type": "boolean"
5703+
},
5704+
"returnImages": {
5705+
"description": "Optional. Whether to include images in layout parser processor response.",
5706+
"type": "boolean"
56995707
}
57005708
},
57015709
"type": "object"

0 commit comments

Comments
 (0)