Skip to content

Commit 79b0c5a

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1DocumentPageMatrix.properties.applied.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta1DocumentPageMatrix.properties.applied.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageMatrix.properties.applied.type (Total Keys: 1) #### documentai:v1beta2 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta1DocumentPageMatrix.properties.applied.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageMatrix.properties.applied.type (Total Keys: 1) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta1DocumentPageMatrix.properties.applied.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta2DocumentPageMatrix.properties.applied.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DocumentPageMatrix.properties.applied.type (Total Keys: 1)
1 parent 13a17f0 commit 79b0c5a

11 files changed

+73
-26
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,9 @@ <h3>Method Details</h3>
10511051
},
10521052
},
10531053
],
1054-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1054+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
10551055
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1056+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
10561057
&quot;cols&quot;: 42, # Number of columns in the matrix.
10571058
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
10581059
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -1829,8 +1830,9 @@ <h3>Method Details</h3>
18291830
},
18301831
},
18311832
],
1832-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1833+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
18331834
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1835+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
18341836
&quot;cols&quot;: 42, # Number of columns in the matrix.
18351837
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
18361838
&quot;rows&quot;: 42, # Number of rows in the matrix.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,9 @@ <h3>Method Details</h3>
725725
},
726726
},
727727
],
728-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
728+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
729729
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
730+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
730731
&quot;cols&quot;: 42, # Number of columns in the matrix.
731732
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
732733
&quot;rows&quot;: 42, # Number of rows in the matrix.

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,8 +960,9 @@ <h3>Method Details</h3>
960960
},
961961
},
962962
],
963-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
963+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
964964
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
965+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
965966
&quot;cols&quot;: 42, # Number of columns in the matrix.
966967
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
967968
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -1738,8 +1739,9 @@ <h3>Method Details</h3>
17381739
},
17391740
},
17401741
],
1741-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1742+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
17421743
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1744+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
17431745
&quot;cols&quot;: 42, # Number of columns in the matrix.
17441746
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
17451747
&quot;rows&quot;: 42, # Number of rows in the matrix.

docs/dyn/documentai_v1beta2.projects.documents.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,9 @@ <h3>Method Details</h3>
919919
},
920920
},
921921
],
922-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
922+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
923923
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
924+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
924925
&quot;cols&quot;: 42, # Number of columns in the matrix.
925926
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
926927
&quot;rows&quot;: 42, # Number of rows in the matrix.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,9 @@ <h3>Method Details</h3>
919919
},
920920
},
921921
],
922-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
922+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
923923
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
924+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
924925
&quot;cols&quot;: 42, # Number of columns in the matrix.
925926
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
926927
&quot;rows&quot;: 42, # Number of rows in the matrix.

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,8 +1060,9 @@ <h3>Method Details</h3>
10601060
},
10611061
},
10621062
],
1063-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1063+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
10641064
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1065+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
10651066
&quot;cols&quot;: 42, # Number of columns in the matrix.
10661067
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
10671068
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -1822,8 +1823,9 @@ <h3>Method Details</h3>
18221823
},
18231824
},
18241825
],
1825-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1826+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
18261827
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1828+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
18271829
&quot;cols&quot;: 42, # Number of columns in the matrix.
18281830
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
18291831
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -2600,8 +2602,9 @@ <h3>Method Details</h3>
26002602
},
26012603
},
26022604
],
2603-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
2605+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
26042606
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
2607+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
26052608
&quot;cols&quot;: 42, # Number of columns in the matrix.
26062609
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
26072610
&quot;rows&quot;: 42, # Number of rows in the matrix.

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,9 @@ <h3>Method Details</h3>
724724
},
725725
},
726726
],
727-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
727+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
728728
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
729+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
729730
&quot;cols&quot;: 42, # Number of columns in the matrix.
730731
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
731732
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -1487,8 +1488,9 @@ <h3>Method Details</h3>
14871488
},
14881489
},
14891490
],
1490-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1491+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
14911492
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1493+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
14921494
&quot;cols&quot;: 42, # Number of columns in the matrix.
14931495
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
14941496
&quot;rows&quot;: 42, # Number of rows in the matrix.

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,9 @@ <h3>Method Details</h3>
969969
},
970970
},
971971
],
972-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
972+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
973973
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
974+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
974975
&quot;cols&quot;: 42, # Number of columns in the matrix.
975976
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
976977
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -1731,8 +1732,9 @@ <h3>Method Details</h3>
17311732
},
17321733
},
17331734
],
1734-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
1735+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
17351736
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
1737+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
17361738
&quot;cols&quot;: 42, # Number of columns in the matrix.
17371739
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
17381740
&quot;rows&quot;: 42, # Number of rows in the matrix.
@@ -2509,8 +2511,9 @@ <h3>Method Details</h3>
25092511
},
25102512
},
25112513
],
2512-
&quot;transforms&quot;: [ # Transformation matrices that were applied to the original document image to produce Page.image.
2514+
&quot;transforms&quot;: [ # Transformation matrices (both already applied and not) to the original document image to produce Page.image.
25132515
{ # Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
2516+
&quot;applied&quot;: True or False, # Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.
25142517
&quot;cols&quot;: 42, # Number of columns in the matrix.
25152518
&quot;data&quot;: &quot;A String&quot;, # The matrix data.
25162519
&quot;rows&quot;: 42, # Number of rows in the matrix.

googleapiclient/discovery_cache/documents/documentai.v1.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@
10291029
}
10301030
}
10311031
},
1032-
"revision": "20220429",
1032+
"revision": "20220505",
10331033
"rootUrl": "https://documentai.googleapis.com/",
10341034
"schemas": {
10351035
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
@@ -2150,7 +2150,7 @@
21502150
"type": "array"
21512151
},
21522152
"transforms": {
2153-
"description": "Transformation matrices that were applied to the original document image to produce Page.image.",
2153+
"description": "Transformation matrices (both already applied and not) to the original document image to produce Page.image.",
21542154
"items": {
21552155
"$ref": "GoogleCloudDocumentaiV1DocumentPageMatrix"
21562156
},
@@ -2423,6 +2423,10 @@
24232423
"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.",
24242424
"id": "GoogleCloudDocumentaiV1DocumentPageMatrix",
24252425
"properties": {
2426+
"applied": {
2427+
"description": "Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.",
2428+
"type": "boolean"
2429+
},
24262430
"cols": {
24272431
"description": "Number of columns in the matrix.",
24282432
"format": "int32",
@@ -3791,7 +3795,7 @@
37913795
"type": "array"
37923796
},
37933797
"transforms": {
3794-
"description": "Transformation matrices that were applied to the original document image to produce Page.image.",
3798+
"description": "Transformation matrices (both already applied and not) to the original document image to produce Page.image.",
37953799
"items": {
37963800
"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix"
37973801
},
@@ -4064,6 +4068,10 @@
40644068
"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.",
40654069
"id": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix",
40664070
"properties": {
4071+
"applied": {
4072+
"description": "Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.",
4073+
"type": "boolean"
4074+
},
40674075
"cols": {
40684076
"description": "Number of columns in the matrix.",
40694077
"format": "int32",
@@ -5008,7 +5016,7 @@
50085016
"type": "array"
50095017
},
50105018
"transforms": {
5011-
"description": "Transformation matrices that were applied to the original document image to produce Page.image.",
5019+
"description": "Transformation matrices (both already applied and not) to the original document image to produce Page.image.",
50125020
"items": {
50135021
"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix"
50145022
},
@@ -5281,6 +5289,10 @@
52815289
"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.",
52825290
"id": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix",
52835291
"properties": {
5292+
"applied": {
5293+
"description": "Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.",
5294+
"type": "boolean"
5295+
},
52845296
"cols": {
52855297
"description": "Number of columns in the matrix.",
52865298
"format": "int32",

googleapiclient/discovery_cache/documents/documentai.v1beta2.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
}
293293
}
294294
},
295-
"revision": "20220429",
295+
"revision": "20220505",
296296
"rootUrl": "https://documentai.googleapis.com/",
297297
"schemas": {
298298
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
@@ -1525,7 +1525,7 @@
15251525
"type": "array"
15261526
},
15271527
"transforms": {
1528-
"description": "Transformation matrices that were applied to the original document image to produce Page.image.",
1528+
"description": "Transformation matrices (both already applied and not) to the original document image to produce Page.image.",
15291529
"items": {
15301530
"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix"
15311531
},
@@ -1798,6 +1798,10 @@
17981798
"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.",
17991799
"id": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix",
18001800
"properties": {
1801+
"applied": {
1802+
"description": "Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.",
1803+
"type": "boolean"
1804+
},
18011805
"cols": {
18021806
"description": "Number of columns in the matrix.",
18031807
"format": "int32",
@@ -2767,7 +2771,7 @@
27672771
"type": "array"
27682772
},
27692773
"transforms": {
2770-
"description": "Transformation matrices that were applied to the original document image to produce Page.image.",
2774+
"description": "Transformation matrices (both already applied and not) to the original document image to produce Page.image.",
27712775
"items": {
27722776
"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix"
27732777
},
@@ -3040,6 +3044,10 @@
30403044
"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.",
30413045
"id": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix",
30423046
"properties": {
3047+
"applied": {
3048+
"description": "Has the transformation already been applied to the current Document? Needed to disambiguate pre-processing transformations already applied vs transformations added at annotation time by HITL operators.",
3049+
"type": "boolean"
3050+
},
30433051
"cols": {
30443052
"description": "Number of columns in the matrix.",
30453053
"format": "int32",

0 commit comments

Comments
 (0)