File tree Expand file tree Collapse file tree
google/cloud/documentai/v1beta3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -418,6 +418,10 @@ message Document {
418418 // https:
419419 // github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
420420 google.type.PostalAddress address_value = 5 ;
421+
422+ // Boolean value. Can be used for entities with binary values, or for
423+ // checkboxes.
424+ bool boolean_value = 6 ;
421425 }
422426
423427 // Required. Normalized entity value stored as a string. This field is populated for
@@ -450,9 +454,9 @@ message Document {
450454 // page where it was found.
451455 PageAnchor page_anchor = 6 [(google.api.field_behavior ) = OPTIONAL ];
452456
453- // Canonical id. This will be a unique value in the entity list
457+ // Optional. Canonical id. This will be a unique value in the entity list
454458 // for this document.
455- string id = 7 ;
459+ string id = 7 [ (google.api .field_behavior ) = OPTIONAL ] ;
456460
457461 // Optional. Normalized entity value. Absent if the extracted value could not be
458462 // converted or the type (e.g. address) is not supported for certain
@@ -559,7 +563,8 @@ message Document {
559563 FORM_FIELD = 7 ;
560564 }
561565
562- // Required. Index into the [Document.pages][google.cloud.documentai.v1beta3.Document.pages] element
566+ // Required. Index into the [Document.pages][google.cloud.documentai.v1beta3.Document.pages] element, for example using
567+ // [Document.pages][page_refs.page] to locate the related page element.
563568 int64 page = 1 [(google.api.field_behavior ) = REQUIRED ];
564569
565570 // Optional. The type of the layout element that is being referenced if any.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2021 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.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2021 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.
You can’t perform that action at this time.
0 commit comments