File tree Expand file tree Collapse file tree
google/cloud/documentai/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -987,6 +987,9 @@ message Document {
987987
988988 // Page span of the block.
989989 LayoutPageSpan page_span = 5 ;
990+
991+ // Identifies the bounding box for the block.
992+ BoundingPoly bounding_box = 6 ;
990993 }
991994
992995 // List of blocks in the document.
@@ -1061,6 +1064,9 @@ message Document {
10611064 bytes content = 2 [(google.api.field_behavior ) = OPTIONAL ];
10621065 }
10631066
1067+ // Optional. An internal identifier for document. Should be loggable (no PII).
1068+ string docid = 15 [(google.api.field_behavior ) = OPTIONAL ];
1069+
10641070 // An IANA published [media type (MIME
10651071 // type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
10661072 string mime_type = 3 ;
Original file line number Diff line number Diff line change @@ -347,6 +347,13 @@ message ProcessOptions {
347347
348348 // Optional. Config for chunking in layout parser processor.
349349 ChunkingConfig chunking_config = 1 [(google.api.field_behavior ) = OPTIONAL ];
350+
351+ // Optional. Whether to include images in layout parser processor response.
352+ bool return_images = 2 [(google.api.field_behavior ) = OPTIONAL ];
353+
354+ // Optional. Whether to include bounding boxes in layout parser processor
355+ // response.
356+ bool return_bounding_boxes = 3 [(google.api.field_behavior ) = OPTIONAL ];
350357 }
351358
352359 // A list of individual page numbers.
You can’t perform that action at this time.
0 commit comments