From 26c82a3e3f909b727cb58762f290cfcd60d33ab2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 31 Jan 2023 07:07:58 +0000 Subject: [PATCH] feat(documentai): update the api #### documentai:v1 The following keys were deleted: - schemas.GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata (Total Keys: 3) The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse (Total Keys: 3) #### documentai:v1beta2 The following keys were deleted: - schemas.GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata (Total Keys: 3) The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse (Total Keys: 3) #### documentai:v1beta3 The following keys were deleted: - schemas.GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata (Total Keys: 3) The following keys were added: - schemas.GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata (Total Keys: 3) - schemas.GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse (Total Keys: 3) --- .../documents/documentai.v1.json | 39 ++++++++++++------- .../documents/documentai.v1beta2.json | 39 ++++++++++++------- .../documents/documentai.v1beta3.json | 39 ++++++++++++------- 3 files changed, 75 insertions(+), 42 deletions(-) diff --git a/googleapiclient/discovery_cache/documents/documentai.v1.json b/googleapiclient/discovery_cache/documents/documentai.v1.json index bfa921f1ecb..32c100d18cc 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1.json @@ -1042,7 +1042,7 @@ } } }, - "revision": "20230117", + "revision": "20230127", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -1219,17 +1219,6 @@ }, "type": "object" }, - "GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata": { - "description": "The long running operation metadata for DeleteDataLabelingJob.", - "id": "GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long running operation." - } - }, - "type": "object" - }, "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata": { "description": "The long running operation metadata for DeleteLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", @@ -1539,6 +1528,28 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": { + "description": "The long running operation metadata for the ImportProcessorVersion method.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata for the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": { + "description": "The response message for the ImportProcessorVersion method.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse", + "properties": { + "processorVersion": { + "description": "The destination processor version name.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { "description": "The metadata proto of ResyncDataset method.", "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", @@ -1641,7 +1652,7 @@ "BASE_OCR_REVISION" ], "enumDescriptions": [ - "Unspecified case, fallback to read the first (OCR) revision.", + "Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.", "The latest revision made by a human.", "The latest revision based on timestamp.", "The first (OCR) revision." @@ -1671,7 +1682,7 @@ "LATEST_TIMESTAMP" ], "enumDescriptions": [ - "Unspecified case, fallback to read the first (OCR) revision.", + "Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.", "The latest revision made by a human.", "The latest revision based on timestamp." ], diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta2.json b/googleapiclient/discovery_cache/documents/documentai.v1beta2.json index 9ca2858d206..72f94762bcb 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1beta2.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1beta2.json @@ -292,7 +292,7 @@ } } }, - "revision": "20230117", + "revision": "20230127", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -469,17 +469,6 @@ }, "type": "object" }, - "GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata": { - "description": "The long running operation metadata for DeleteDataLabelingJob.", - "id": "GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long running operation." - } - }, - "type": "object" - }, "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata": { "description": "The long running operation metadata for DeleteLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", @@ -789,6 +778,28 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": { + "description": "The long running operation metadata for the ImportProcessorVersion method.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata for the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": { + "description": "The response message for the ImportProcessorVersion method.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse", + "properties": { + "processorVersion": { + "description": "The destination processor version name.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { "description": "The metadata proto of ResyncDataset method.", "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", @@ -891,7 +902,7 @@ "BASE_OCR_REVISION" ], "enumDescriptions": [ - "Unspecified case, fallback to read the first (OCR) revision.", + "Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.", "The latest revision made by a human.", "The latest revision based on timestamp.", "The first (OCR) revision." @@ -921,7 +932,7 @@ "LATEST_TIMESTAMP" ], "enumDescriptions": [ - "Unspecified case, fallback to read the first (OCR) revision.", + "Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.", "The latest revision made by a human.", "The latest revision based on timestamp." ], diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json index 39c3172db41..883c9ae9eec 100644 --- a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json +++ b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json @@ -984,7 +984,7 @@ } } }, - "revision": "20230117", + "revision": "20230127", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -1161,17 +1161,6 @@ }, "type": "object" }, - "GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata": { - "description": "The long running operation metadata for DeleteDataLabelingJob.", - "id": "GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", - "description": "The basic metadata of the long running operation." - } - }, - "type": "object" - }, "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata": { "description": "The long running operation metadata for DeleteLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", @@ -1481,6 +1470,28 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": { + "description": "The long running operation metadata for the ImportProcessorVersion method.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata for the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": { + "description": "The response message for the ImportProcessorVersion method.", + "id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse", + "properties": { + "processorVersion": { + "description": "The destination processor version name.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { "description": "The metadata proto of ResyncDataset method.", "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", @@ -1583,7 +1594,7 @@ "BASE_OCR_REVISION" ], "enumDescriptions": [ - "Unspecified case, fallback to read the first (OCR) revision.", + "Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.", "The latest revision made by a human.", "The latest revision based on timestamp.", "The first (OCR) revision." @@ -1613,7 +1624,7 @@ "LATEST_TIMESTAMP" ], "enumDescriptions": [ - "Unspecified case, fallback to read the first (OCR) revision.", + "Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.", "The latest revision made by a human.", "The latest revision based on timestamp." ],