Skip to content

Commit 72f3fae

Browse files
committedJun 8, 2021
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1ReviewDocumentRequest.properties.enableSchemaValidation.type (Total Keys: 1) - schemas.GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DisableProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DisableProcessorResponse (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3EnableProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3EnableProcessorResponse (Total Keys: 2) #### documentai:v1beta2 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DisableProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DisableProcessorResponse (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3EnableProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3EnableProcessorResponse (Total Keys: 2) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DisableProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3DisableProcessorResponse (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3EnableProcessorMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiV1beta3EnableProcessorResponse (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3ReviewDocumentRequest.properties.enableSchemaValidation.type (Total Keys: 1)
1 parent 424eacd commit 72f3fae

5 files changed

+152
-7
lines changed
 

Diff for: ‎docs/dyn/documentai_v1.projects.locations.processors.humanReviewConfig.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ <h3>Method Details</h3>
9595
body: object, The request body.
9696
The object takes the form of:
9797

98-
{ # Request message for review document method.
98+
{ # Request message for review document method. Next Id: 5.
99+
&quot;enableSchemaValidation&quot;: True or False, # Whether the validation should be performed on the ad-hoc review request.
99100
&quot;inlineDocument&quot;: { # 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.
100101
&quot;content&quot;: &quot;A String&quot;, # 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.
101102
&quot;entities&quot;: [ # A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.

Diff for: ‎docs/dyn/documentai_v1beta3.projects.locations.processors.humanReviewConfig.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h3>Method Details</h3>
9595
body: object, The request body.
9696
The object takes the form of:
9797

98-
{ # Request message for review document method.
98+
{ # Request message for review document method. Next Id: 5.
9999
&quot;document&quot;: { # 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. # The document that needs human review.
100100
&quot;content&quot;: &quot;A String&quot;, # 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.
101101
&quot;entities&quot;: [ # A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
@@ -789,6 +789,7 @@ <h3>Method Details</h3>
789789
],
790790
&quot;uri&quot;: &quot;A String&quot;, # 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.
791791
},
792+
&quot;enableSchemaValidation&quot;: True or False, # Whether the validation should be performed on the ad-hoc review request.
792793
&quot;inlineDocument&quot;: { # 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.
793794
&quot;content&quot;: &quot;A String&quot;, # 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.
794795
&quot;entities&quot;: [ # A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.

Diff for: ‎googleapiclient/discovery_cache/documents/documentai.v1.json

+51-2
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@
664664
}
665665
}
666666
},
667-
"revision": "20210520",
667+
"revision": "20210527",
668668
"rootUrl": "https://documentai.googleapis.com/",
669669
"schemas": {
670670
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
@@ -2241,9 +2241,13 @@
22412241
"type": "object"
22422242
},
22432243
"GoogleCloudDocumentaiV1ReviewDocumentRequest": {
2244-
"description": "Request message for review document method.",
2244+
"description": "Request message for review document method. Next Id: 5.",
22452245
"id": "GoogleCloudDocumentaiV1ReviewDocumentRequest",
22462246
"properties": {
2247+
"enableSchemaValidation": {
2248+
"description": "Whether the validation should be performed on the ad-hoc review request.",
2249+
"type": "boolean"
2250+
},
22472251
"inlineDocument": {
22482252
"$ref": "GoogleCloudDocumentaiV1Document",
22492253
"description": "An inline document proto."
@@ -4691,6 +4695,51 @@
46914695
},
46924696
"type": "object"
46934697
},
4698+
"GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata": {
4699+
"description": "The long running operation metadata for delete processor method.",
4700+
"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata",
4701+
"properties": {
4702+
"commonMetadata": {
4703+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
4704+
"description": "The basic metadata of the long running operation."
4705+
}
4706+
},
4707+
"type": "object"
4708+
},
4709+
"GoogleCloudDocumentaiV1beta3DisableProcessorMetadata": {
4710+
"description": "The long running operation metadata for disable processor method.",
4711+
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata",
4712+
"properties": {
4713+
"commonMetadata": {
4714+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
4715+
"description": "The basic metadata of the long running operation."
4716+
}
4717+
},
4718+
"type": "object"
4719+
},
4720+
"GoogleCloudDocumentaiV1beta3DisableProcessorResponse": {
4721+
"description": "Response message for the disable processor method. Intentionally empty proto for adding fields in future.",
4722+
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorResponse",
4723+
"properties": {},
4724+
"type": "object"
4725+
},
4726+
"GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": {
4727+
"description": "The long running operation metadata for enable processor method.",
4728+
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata",
4729+
"properties": {
4730+
"commonMetadata": {
4731+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
4732+
"description": "The basic metadata of the long running operation."
4733+
}
4734+
},
4735+
"type": "object"
4736+
},
4737+
"GoogleCloudDocumentaiV1beta3EnableProcessorResponse": {
4738+
"description": "Response message for the enable processor method. Intentionally empty proto for adding fields in future.",
4739+
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorResponse",
4740+
"properties": {},
4741+
"type": "object"
4742+
},
46944743
"GoogleCloudDocumentaiV1beta3HumanReviewStatus": {
46954744
"description": "The status of human review on a processed document.",
46964745
"id": "GoogleCloudDocumentaiV1beta3HumanReviewStatus",

Diff for: ‎googleapiclient/discovery_cache/documents/documentai.v1beta2.json

+46-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
}
293293
}
294294
},
295-
"revision": "20210520",
295+
"revision": "20210527",
296296
"rootUrl": "https://documentai.googleapis.com/",
297297
"schemas": {
298298
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
@@ -3339,6 +3339,51 @@
33393339
},
33403340
"type": "object"
33413341
},
3342+
"GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata": {
3343+
"description": "The long running operation metadata for delete processor method.",
3344+
"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata",
3345+
"properties": {
3346+
"commonMetadata": {
3347+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
3348+
"description": "The basic metadata of the long running operation."
3349+
}
3350+
},
3351+
"type": "object"
3352+
},
3353+
"GoogleCloudDocumentaiV1beta3DisableProcessorMetadata": {
3354+
"description": "The long running operation metadata for disable processor method.",
3355+
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata",
3356+
"properties": {
3357+
"commonMetadata": {
3358+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
3359+
"description": "The basic metadata of the long running operation."
3360+
}
3361+
},
3362+
"type": "object"
3363+
},
3364+
"GoogleCloudDocumentaiV1beta3DisableProcessorResponse": {
3365+
"description": "Response message for the disable processor method. Intentionally empty proto for adding fields in future.",
3366+
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorResponse",
3367+
"properties": {},
3368+
"type": "object"
3369+
},
3370+
"GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": {
3371+
"description": "The long running operation metadata for enable processor method.",
3372+
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata",
3373+
"properties": {
3374+
"commonMetadata": {
3375+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
3376+
"description": "The basic metadata of the long running operation."
3377+
}
3378+
},
3379+
"type": "object"
3380+
},
3381+
"GoogleCloudDocumentaiV1beta3EnableProcessorResponse": {
3382+
"description": "Response message for the enable processor method. Intentionally empty proto for adding fields in future.",
3383+
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorResponse",
3384+
"properties": {},
3385+
"type": "object"
3386+
},
33423387
"GoogleCloudDocumentaiV1beta3HumanReviewStatus": {
33433388
"description": "The status of human review on a processed document.",
33443389
"id": "GoogleCloudDocumentaiV1beta3HumanReviewStatus",

Diff for: ‎googleapiclient/discovery_cache/documents/documentai.v1beta3.json

+51-2
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@
601601
}
602602
}
603603
},
604-
"revision": "20210520",
604+
"revision": "20210527",
605605
"rootUrl": "https://documentai.googleapis.com/",
606606
"schemas": {
607607
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
@@ -3558,12 +3558,40 @@
35583558
},
35593559
"type": "object"
35603560
},
3561+
"GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata": {
3562+
"description": "The long running operation metadata for delete processor method.",
3563+
"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata",
3564+
"properties": {
3565+
"commonMetadata": {
3566+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
3567+
"description": "The basic metadata of the long running operation."
3568+
}
3569+
},
3570+
"type": "object"
3571+
},
3572+
"GoogleCloudDocumentaiV1beta3DisableProcessorMetadata": {
3573+
"description": "The long running operation metadata for disable processor method.",
3574+
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata",
3575+
"properties": {
3576+
"commonMetadata": {
3577+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
3578+
"description": "The basic metadata of the long running operation."
3579+
}
3580+
},
3581+
"type": "object"
3582+
},
35613583
"GoogleCloudDocumentaiV1beta3DisableProcessorRequest": {
35623584
"description": "Request message for the disable processor method.",
35633585
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorRequest",
35643586
"properties": {},
35653587
"type": "object"
35663588
},
3589+
"GoogleCloudDocumentaiV1beta3DisableProcessorResponse": {
3590+
"description": "Response message for the disable processor method. Intentionally empty proto for adding fields in future.",
3591+
"id": "GoogleCloudDocumentaiV1beta3DisableProcessorResponse",
3592+
"properties": {},
3593+
"type": "object"
3594+
},
35673595
"GoogleCloudDocumentaiV1beta3Document": {
35683596
"description": "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.",
35693597
"id": "GoogleCloudDocumentaiV1beta3Document",
@@ -4536,12 +4564,29 @@
45364564
},
45374565
"type": "object"
45384566
},
4567+
"GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": {
4568+
"description": "The long running operation metadata for enable processor method.",
4569+
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata",
4570+
"properties": {
4571+
"commonMetadata": {
4572+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
4573+
"description": "The basic metadata of the long running operation."
4574+
}
4575+
},
4576+
"type": "object"
4577+
},
45394578
"GoogleCloudDocumentaiV1beta3EnableProcessorRequest": {
45404579
"description": "Request message for the enable processor method.",
45414580
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorRequest",
45424581
"properties": {},
45434582
"type": "object"
45444583
},
4584+
"GoogleCloudDocumentaiV1beta3EnableProcessorResponse": {
4585+
"description": "Response message for the enable processor method. Intentionally empty proto for adding fields in future.",
4586+
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorResponse",
4587+
"properties": {},
4588+
"type": "object"
4589+
},
45454590
"GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse": {
45464591
"description": "Response message for fetch processor types.",
45474592
"id": "GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse",
@@ -4876,13 +4921,17 @@
48764921
"type": "object"
48774922
},
48784923
"GoogleCloudDocumentaiV1beta3ReviewDocumentRequest": {
4879-
"description": "Request message for review document method.",
4924+
"description": "Request message for review document method. Next Id: 5.",
48804925
"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentRequest",
48814926
"properties": {
48824927
"document": {
48834928
"$ref": "GoogleCloudDocumentaiV1beta3Document",
48844929
"description": "The document that needs human review."
48854930
},
4931+
"enableSchemaValidation": {
4932+
"description": "Whether the validation should be performed on the ad-hoc review request.",
4933+
"type": "boolean"
4934+
},
48864935
"inlineDocument": {
48874936
"$ref": "GoogleCloudDocumentaiV1beta3Document",
48884937
"description": "An inline document proto."

0 commit comments

Comments
 (0)