Skip to content

Commit aa40d20

Browse files
Google APIscopybara-github
authored andcommitted
feat: Added a field for enabling image and table annotation for layout parser processor
PiperOrigin-RevId: 877500954
1 parent c83d354 commit aa40d20

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

google/cloud/documentai/v1/document_processor_service.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -354,6 +354,12 @@ message ProcessOptions {
354354
// Optional. Whether to include bounding boxes in layout parser processor
355355
// response.
356356
bool return_bounding_boxes = 3 [(google.api.field_behavior) = OPTIONAL];
357+
358+
// Optional. Whether to include image annotations in layout parser response.
359+
bool enable_image_annotation = 4 [(google.api.field_behavior) = OPTIONAL];
360+
361+
// Optional. Whether to include table annotations in layout parser response.
362+
bool enable_table_annotation = 6 [(google.api.field_behavior) = OPTIONAL];
357363
}
358364

359365
// A list of individual page numbers.

0 commit comments

Comments
 (0)