Skip to content

Commit 4b0a7ed

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) #### documentai:v1beta2 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta1DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta1DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DocumentPageFormField.properties.correctedKeyText.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DocumentPageFormField.properties.correctedValueText.type (Total Keys: 1)
1 parent 413a8ee commit 4b0a7ed

11 files changed

+94
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ <h3>Method Details</h3>
357357
},
358358
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
359359
{ # A form field detected on the page.
360+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
361+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
360362
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
361363
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
362364
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1092,6 +1094,8 @@ <h3>Method Details</h3>
10921094
},
10931095
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
10941096
{ # A form field detected on the page.
1097+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
1098+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
10951099
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
10961100
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
10971101
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ <h3>Method Details</h3>
285285
},
286286
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
287287
{ # A form field detected on the page.
288+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
289+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
288290
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
289291
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
290292
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ <h3>Method Details</h3>
347347
},
348348
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
349349
{ # A form field detected on the page.
350+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
351+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
350352
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
351353
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
352354
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1082,6 +1084,8 @@ <h3>Method Details</h3>
10821084
},
10831085
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
10841086
{ # A form field detected on the page.
1087+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
1088+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
10851089
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
10861090
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
10871091
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

docs/dyn/documentai_v1beta2.projects.documents.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ <h3>Method Details</h3>
479479
},
480480
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
481481
{ # A form field detected on the page.
482+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
483+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
482484
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
483485
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
484486
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

docs/dyn/documentai_v1beta2.projects.locations.documents.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ <h3>Method Details</h3>
479479
},
480480
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
481481
{ # A form field detected on the page.
482+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
483+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
482484
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
483485
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
484486
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ <h3>Method Details</h3>
588588
},
589589
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
590590
{ # A form field detected on the page.
591+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
592+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
591593
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
592594
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
593595
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1307,6 +1309,8 @@ <h3>Method Details</h3>
13071309
},
13081310
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
13091311
{ # A form field detected on the page.
1312+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
1313+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
13101314
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
13111315
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
13121316
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -2042,6 +2046,8 @@ <h3>Method Details</h3>
20422046
},
20432047
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
20442048
{ # A form field detected on the page.
2049+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
2050+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
20452051
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
20462052
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
20472053
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ <h3>Method Details</h3>
284284
},
285285
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
286286
{ # A form field detected on the page.
287+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
288+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
287289
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
288290
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
289291
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1004,6 +1006,8 @@ <h3>Method Details</h3>
10041006
},
10051007
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
10061008
{ # A form field detected on the page.
1009+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
1010+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
10071011
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
10081012
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
10091013
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ <h3>Method Details</h3>
356356
},
357357
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
358358
{ # A form field detected on the page.
359+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
360+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
359361
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
360362
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
361363
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1075,6 +1077,8 @@ <h3>Method Details</h3>
10751077
},
10761078
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
10771079
{ # A form field detected on the page.
1080+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
1081+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
10781082
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
10791083
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
10801084
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.
@@ -1810,6 +1814,8 @@ <h3>Method Details</h3>
18101814
},
18111815
&quot;formFields&quot;: [ # A list of visually detected form fields on the page.
18121816
{ # A form field detected on the page.
1817+
&quot;correctedKeyText&quot;: &quot;A String&quot;, # Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
1818+
&quot;correctedValueText&quot;: &quot;A String&quot;, # Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
18131819
&quot;fieldName&quot;: { # Visual element describing a layout unit on a page. # Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
18141820
&quot;boundingPoly&quot;: { # A bounding polygon for the detected image annotation. # The bounding polygon for the Layout.
18151821
&quot;normalizedVertices&quot;: [ # The bounding polygon normalized vertices.

googleapiclient/discovery_cache/documents/documentai.v1.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,14 @@
16261626
"description": "A form field detected on the page.",
16271627
"id": "GoogleCloudDocumentaiV1DocumentPageFormField",
16281628
"properties": {
1629+
"correctedKeyText": {
1630+
"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.",
1631+
"type": "string"
1632+
},
1633+
"correctedValueText": {
1634+
"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.",
1635+
"type": "string"
1636+
},
16291637
"fieldName": {
16301638
"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout",
16311639
"description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc."
@@ -2835,6 +2843,14 @@
28352843
"description": "A form field detected on the page.",
28362844
"id": "GoogleCloudDocumentaiV1beta1DocumentPageFormField",
28372845
"properties": {
2846+
"correctedKeyText": {
2847+
"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.",
2848+
"type": "string"
2849+
},
2850+
"correctedValueText": {
2851+
"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.",
2852+
"type": "string"
2853+
},
28382854
"fieldName": {
28392855
"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout",
28402856
"description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc."
@@ -4008,6 +4024,14 @@
40084024
"description": "A form field detected on the page.",
40094025
"id": "GoogleCloudDocumentaiV1beta2DocumentPageFormField",
40104026
"properties": {
4027+
"correctedKeyText": {
4028+
"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.",
4029+
"type": "string"
4030+
},
4031+
"correctedValueText": {
4032+
"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.",
4033+
"type": "string"
4034+
},
40114035
"fieldName": {
40124036
"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout",
40134037
"description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc."

0 commit comments

Comments
 (0)