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.html
+50-2Lines changed: 50 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ <h3>Method Details</h3>
242
242
"confidence": 3.14, # Optional. Confidence of detected page element, if applicable. Range [0, 1].
243
243
"layoutId": "A String", # Optional. Deprecated. Use PageRef.bounding_poly instead.
244
244
"layoutType": "A String", # Optional. The type of the layout element that is being referenced if any.
245
-
"page": "A String", # Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.
245
+
"page": "A String", # Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.
246
246
},
247
247
],
248
248
},
@@ -415,6 +415,18 @@ <h3>Method Details</h3>
415
415
"languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
416
416
},
417
417
],
418
+
"provenance": { # Structure to identify provenance relationships between annotations in different revisions. # The history of this annotation.
419
+
"id": 42, # The Id of this operation. Needs to be unique within the scope of the revision.
420
+
"parents": [ # References to the original elements that are replaced.
421
+
{ # Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
422
+
"id": 42, # The id of the parent provenance.
423
+
"index": 42, # The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
424
+
"revision": 42, # The index of the [Document.revisions] identifying the parent revision.
425
+
},
426
+
],
427
+
"revision": 42, # The index of the revision that produced this element.
428
+
"type": "A String", # The type of provenance operation.
429
+
},
418
430
"valueDetectedLanguages": [ # A list of detected languages for value together with confidence.
419
431
{ # Detected language for a structural component.
420
432
"confidence": 3.14, # Confidence of detected language. Range [0, 1].
@@ -556,6 +568,18 @@ <h3>Method Details</h3>
556
568
},
557
569
},
558
570
],
571
+
"provenance": { # Structure to identify provenance relationships between annotations in different revisions. # The history of this page.
572
+
"id": 42, # The Id of this operation. Needs to be unique within the scope of the revision.
573
+
"parents": [ # References to the original elements that are replaced.
574
+
{ # Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
575
+
"id": 42, # The id of the parent provenance.
576
+
"index": 42, # The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
577
+
"revision": 42, # The index of the [Document.revisions] identifying the parent revision.
578
+
},
579
+
],
580
+
"revision": 42, # The index of the revision that produced this element.
581
+
"type": "A String", # The type of provenance operation.
582
+
},
559
583
"tables": [ # A list of visually detected tables on the page.
560
584
{ # A table representation similar to HTML table structure.
561
585
"bodyRows": [ # Body rows of the table.
@@ -951,7 +975,7 @@ <h3>Method Details</h3>
951
975
"confidence": 3.14, # Optional. Confidence of detected page element, if applicable. Range [0, 1].
952
976
"layoutId": "A String", # Optional. Deprecated. Use PageRef.bounding_poly instead.
953
977
"layoutType": "A String", # Optional. The type of the layout element that is being referenced if any.
954
-
"page": "A String", # Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.
978
+
"page": "A String", # Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.
955
979
},
956
980
],
957
981
},
@@ -1124,6 +1148,18 @@ <h3>Method Details</h3>
1124
1148
"languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1125
1149
},
1126
1150
],
1151
+
"provenance": { # Structure to identify provenance relationships between annotations in different revisions. # The history of this annotation.
1152
+
"id": 42, # The Id of this operation. Needs to be unique within the scope of the revision.
1153
+
"parents": [ # References to the original elements that are replaced.
1154
+
{ # Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
1155
+
"id": 42, # The id of the parent provenance.
1156
+
"index": 42, # The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
1157
+
"revision": 42, # The index of the [Document.revisions] identifying the parent revision.
1158
+
},
1159
+
],
1160
+
"revision": 42, # The index of the revision that produced this element.
1161
+
"type": "A String", # The type of provenance operation.
1162
+
},
1127
1163
"valueDetectedLanguages": [ # A list of detected languages for value together with confidence.
1128
1164
{ # Detected language for a structural component.
1129
1165
"confidence": 3.14, # Confidence of detected language. Range [0, 1].
@@ -1265,6 +1301,18 @@ <h3>Method Details</h3>
1265
1301
},
1266
1302
},
1267
1303
],
1304
+
"provenance": { # Structure to identify provenance relationships between annotations in different revisions. # The history of this page.
1305
+
"id": 42, # The Id of this operation. Needs to be unique within the scope of the revision.
1306
+
"parents": [ # References to the original elements that are replaced.
1307
+
{ # Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
1308
+
"id": 42, # The id of the parent provenance.
1309
+
"index": 42, # The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
1310
+
"revision": 42, # The index of the [Document.revisions] identifying the parent revision.
1311
+
},
1312
+
],
1313
+
"revision": 42, # The index of the revision that produced this element.
1314
+
"type": "A String", # The type of provenance operation.
1315
+
},
1268
1316
"tables": [ # A list of visually detected tables on the page.
1269
1317
{ # A table representation similar to HTML table structure.
Copy file name to clipboardExpand all lines: docs/dyn/documentai_v1.projects.locations.processors.humanReviewConfig.html
+27-2Lines changed: 27 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ <h3>Method Details</h3>
95
95
body: object, The request body.
96
96
The object takes the form of:
97
97
98
-
{ # Request message for review document method. Next Id: 5.
98
+
{ # Request message for review document method. Next Id: 6.
99
99
"enableSchemaValidation": True or False, # Whether the validation should be performed on the ad-hoc review request.
100
100
"inlineDocument": { # Document represents the canonical document resource in Document Understanding AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document Understanding AI to iterate and optimize for quality. # An inline document proto.
101
101
"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.
@@ -170,7 +170,7 @@ <h3>Method Details</h3>
170
170
"confidence": 3.14, # Optional. Confidence of detected page element, if applicable. Range [0, 1].
171
171
"layoutId": "A String", # Optional. Deprecated. Use PageRef.bounding_poly instead.
172
172
"layoutType": "A String", # Optional. The type of the layout element that is being referenced if any.
173
-
"page": "A String", # Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.
173
+
"page": "A String", # Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.
174
174
},
175
175
],
176
176
},
@@ -343,6 +343,18 @@ <h3>Method Details</h3>
343
343
"languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
344
344
},
345
345
],
346
+
"provenance": { # Structure to identify provenance relationships between annotations in different revisions. # The history of this annotation.
347
+
"id": 42, # The Id of this operation. Needs to be unique within the scope of the revision.
348
+
"parents": [ # References to the original elements that are replaced.
349
+
{ # Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
350
+
"id": 42, # The id of the parent provenance.
351
+
"index": 42, # The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
352
+
"revision": 42, # The index of the [Document.revisions] identifying the parent revision.
353
+
},
354
+
],
355
+
"revision": 42, # The index of the revision that produced this element.
356
+
"type": "A String", # The type of provenance operation.
357
+
},
346
358
"valueDetectedLanguages": [ # A list of detected languages for value together with confidence.
347
359
{ # Detected language for a structural component.
348
360
"confidence": 3.14, # Confidence of detected language. Range [0, 1].
@@ -484,6 +496,18 @@ <h3>Method Details</h3>
484
496
},
485
497
},
486
498
],
499
+
"provenance": { # Structure to identify provenance relationships between annotations in different revisions. # The history of this page.
500
+
"id": 42, # The Id of this operation. Needs to be unique within the scope of the revision.
501
+
"parents": [ # References to the original elements that are replaced.
502
+
{ # Structure for referencing parent provenances. When an element replaces one of more other elements parent references identify the elements that are replaced.
503
+
"id": 42, # The id of the parent provenance.
504
+
"index": 42, # The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)
505
+
"revision": 42, # The index of the [Document.revisions] identifying the parent revision.
506
+
},
507
+
],
508
+
"revision": 42, # The index of the revision that produced this element.
509
+
"type": "A String", # The type of provenance operation.
510
+
},
487
511
"tables": [ # A list of visually detected tables on the page.
488
512
{ # A table representation similar to HTML table structure.
489
513
"bodyRows": [ # Body rows of the table.
@@ -790,6 +814,7 @@ <h3>Method Details</h3>
790
814
],
791
815
"uri": "A String", # Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
792
816
},
817
+
"priority": "A String", # The priority of the human review task.
0 commit comments