Skip to content

Commit a1a5231

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata (Total Keys: 17) - schemas.GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse (Total Keys: 2) #### documentai:v1beta2 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata (Total Keys: 17) - schemas.GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse (Total Keys: 2) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata (Total Keys: 17) - schemas.GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse (Total Keys: 2)
1 parent ea0a136 commit a1a5231

File tree

3 files changed

+237
-3
lines changed

3 files changed

+237
-3
lines changed

googleapiclient/discovery_cache/documents/documentai.v1.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@
10691069
}
10701070
}
10711071
},
1072-
"revision": "20220821",
1072+
"revision": "20220824",
10731073
"rootUrl": "https://documentai.googleapis.com/",
10741074
"schemas": {
10751075
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
@@ -1392,6 +1392,84 @@
13921392
},
13931393
"type": "object"
13941394
},
1395+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": {
1396+
"description": "Metadata of the batch export documents operation.",
1397+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata",
1398+
"properties": {
1399+
"commonMetadata": {
1400+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
1401+
"description": "The basic metadata of the long running operation."
1402+
},
1403+
"individualExportStatuses": {
1404+
"description": "The list of response details of each document.",
1405+
"items": {
1406+
"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus"
1407+
},
1408+
"type": "array"
1409+
},
1410+
"splitExportStats": {
1411+
"description": "The list of statistics for each dataset split type.",
1412+
"items": {
1413+
"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat"
1414+
},
1415+
"type": "array"
1416+
}
1417+
},
1418+
"type": "object"
1419+
},
1420+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": {
1421+
"description": "The status of each individual document in the export process.",
1422+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus",
1423+
"properties": {
1424+
"documentId": {
1425+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId",
1426+
"description": "The path to source docproto of the document."
1427+
},
1428+
"outputGcsDestination": {
1429+
"description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.",
1430+
"type": "string"
1431+
},
1432+
"status": {
1433+
"$ref": "GoogleRpcStatus",
1434+
"description": "The status of the exporting of the document."
1435+
}
1436+
},
1437+
"type": "object"
1438+
},
1439+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": {
1440+
"description": "The statistic representing a dataset split type for this export.",
1441+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat",
1442+
"properties": {
1443+
"splitType": {
1444+
"description": "The dataset split type.",
1445+
"enum": [
1446+
"DATASET_SPLIT_TYPE_UNSPECIFIED",
1447+
"DATASET_SPLIT_TRAIN",
1448+
"DATASET_SPLIT_TEST",
1449+
"DATASET_SPLIT_UNASSIGNED"
1450+
],
1451+
"enumDescriptions": [
1452+
"Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum",
1453+
"Identifies the train documents.",
1454+
"Identifies the test documents.",
1455+
"Identifies the unassigned documents."
1456+
],
1457+
"type": "string"
1458+
},
1459+
"totalDocumentCount": {
1460+
"description": "Total number of documents with the given dataset split type to be exported.",
1461+
"format": "int32",
1462+
"type": "integer"
1463+
}
1464+
},
1465+
"type": "object"
1466+
},
1467+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": {
1468+
"description": "The response proto of ExportDocuments method.",
1469+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse",
1470+
"properties": {},
1471+
"type": "object"
1472+
},
13951473
"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": {
13961474
"description": "Metadata message associated with the ExportProcessorVersion operation.",
13971475
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata",

googleapiclient/discovery_cache/documents/documentai.v1beta2.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
}
293293
}
294294
},
295-
"revision": "20220821",
295+
"revision": "20220824",
296296
"rootUrl": "https://documentai.googleapis.com/",
297297
"schemas": {
298298
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
@@ -615,6 +615,84 @@
615615
},
616616
"type": "object"
617617
},
618+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": {
619+
"description": "Metadata of the batch export documents operation.",
620+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata",
621+
"properties": {
622+
"commonMetadata": {
623+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
624+
"description": "The basic metadata of the long running operation."
625+
},
626+
"individualExportStatuses": {
627+
"description": "The list of response details of each document.",
628+
"items": {
629+
"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus"
630+
},
631+
"type": "array"
632+
},
633+
"splitExportStats": {
634+
"description": "The list of statistics for each dataset split type.",
635+
"items": {
636+
"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat"
637+
},
638+
"type": "array"
639+
}
640+
},
641+
"type": "object"
642+
},
643+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": {
644+
"description": "The status of each individual document in the export process.",
645+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus",
646+
"properties": {
647+
"documentId": {
648+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId",
649+
"description": "The path to source docproto of the document."
650+
},
651+
"outputGcsDestination": {
652+
"description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.",
653+
"type": "string"
654+
},
655+
"status": {
656+
"$ref": "GoogleRpcStatus",
657+
"description": "The status of the exporting of the document."
658+
}
659+
},
660+
"type": "object"
661+
},
662+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": {
663+
"description": "The statistic representing a dataset split type for this export.",
664+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat",
665+
"properties": {
666+
"splitType": {
667+
"description": "The dataset split type.",
668+
"enum": [
669+
"DATASET_SPLIT_TYPE_UNSPECIFIED",
670+
"DATASET_SPLIT_TRAIN",
671+
"DATASET_SPLIT_TEST",
672+
"DATASET_SPLIT_UNASSIGNED"
673+
],
674+
"enumDescriptions": [
675+
"Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum",
676+
"Identifies the train documents.",
677+
"Identifies the test documents.",
678+
"Identifies the unassigned documents."
679+
],
680+
"type": "string"
681+
},
682+
"totalDocumentCount": {
683+
"description": "Total number of documents with the given dataset split type to be exported.",
684+
"format": "int32",
685+
"type": "integer"
686+
}
687+
},
688+
"type": "object"
689+
},
690+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": {
691+
"description": "The response proto of ExportDocuments method.",
692+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse",
693+
"properties": {},
694+
"type": "object"
695+
},
618696
"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": {
619697
"description": "Metadata message associated with the ExportProcessorVersion operation.",
620698
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata",

googleapiclient/discovery_cache/documents/documentai.v1beta3.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@
836836
}
837837
}
838838
},
839-
"revision": "20220821",
839+
"revision": "20220824",
840840
"rootUrl": "https://documentai.googleapis.com/",
841841
"schemas": {
842842
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
@@ -1159,6 +1159,84 @@
11591159
},
11601160
"type": "object"
11611161
},
1162+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": {
1163+
"description": "Metadata of the batch export documents operation.",
1164+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata",
1165+
"properties": {
1166+
"commonMetadata": {
1167+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
1168+
"description": "The basic metadata of the long running operation."
1169+
},
1170+
"individualExportStatuses": {
1171+
"description": "The list of response details of each document.",
1172+
"items": {
1173+
"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus"
1174+
},
1175+
"type": "array"
1176+
},
1177+
"splitExportStats": {
1178+
"description": "The list of statistics for each dataset split type.",
1179+
"items": {
1180+
"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat"
1181+
},
1182+
"type": "array"
1183+
}
1184+
},
1185+
"type": "object"
1186+
},
1187+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": {
1188+
"description": "The status of each individual document in the export process.",
1189+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus",
1190+
"properties": {
1191+
"documentId": {
1192+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId",
1193+
"description": "The path to source docproto of the document."
1194+
},
1195+
"outputGcsDestination": {
1196+
"description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.",
1197+
"type": "string"
1198+
},
1199+
"status": {
1200+
"$ref": "GoogleRpcStatus",
1201+
"description": "The status of the exporting of the document."
1202+
}
1203+
},
1204+
"type": "object"
1205+
},
1206+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": {
1207+
"description": "The statistic representing a dataset split type for this export.",
1208+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat",
1209+
"properties": {
1210+
"splitType": {
1211+
"description": "The dataset split type.",
1212+
"enum": [
1213+
"DATASET_SPLIT_TYPE_UNSPECIFIED",
1214+
"DATASET_SPLIT_TRAIN",
1215+
"DATASET_SPLIT_TEST",
1216+
"DATASET_SPLIT_UNASSIGNED"
1217+
],
1218+
"enumDescriptions": [
1219+
"Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum",
1220+
"Identifies the train documents.",
1221+
"Identifies the test documents.",
1222+
"Identifies the unassigned documents."
1223+
],
1224+
"type": "string"
1225+
},
1226+
"totalDocumentCount": {
1227+
"description": "Total number of documents with the given dataset split type to be exported.",
1228+
"format": "int32",
1229+
"type": "integer"
1230+
}
1231+
},
1232+
"type": "object"
1233+
},
1234+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": {
1235+
"description": "The response proto of ExportDocuments method.",
1236+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse",
1237+
"properties": {},
1238+
"type": "object"
1239+
},
11621240
"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": {
11631241
"description": "Metadata message associated with the ExportProcessorVersion operation.",
11641242
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata",

0 commit comments

Comments
 (0)