Skip to content

Commit

Permalink
feat(documentai)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### documentai:v1beta2

The following keys were deleted:
- schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.revisionReference.$ref
- schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.revisionReference.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.id
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.latestProcessorVersion.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.latestProcessorVersion.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.enum
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.enumDescriptions
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionId.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionId.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.type

The following keys were added:
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.id
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.properties.commonMetadata.$ref
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.properties.commonMetadata.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.type
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.id
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.properties.evaluation.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.properties.evaluation.type
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.commonMetadata.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.commonMetadata.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.testDatasetValidation.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.testDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.trainingDatasetValidation.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.trainingDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.format
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.items.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.format
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.items.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.properties.processorVersion.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.properties.processorVersion.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.type

The following keys were changed:
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta1DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentRevision.properties.id.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta2DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentRevision.properties.id.description

#### documentai:v1beta3

The following keys were deleted:
- schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.revisionReference.$ref
- schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.revisionReference.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.id
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.latestProcessorVersion.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.latestProcessorVersion.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.enum
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.enumDescriptions
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionId.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionId.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.type

The following keys were added:
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.id
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.properties.commonMetadata.$ref
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.properties.commonMetadata.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.type
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.id
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.properties.evaluation.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.properties.evaluation.type
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.commonMetadata.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.commonMetadata.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.testDatasetValidation.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.testDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.trainingDatasetValidation.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.trainingDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.format
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.items.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.format
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.items.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.properties.processorVersion.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.properties.processorVersion.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.type
- schemas.GoogleCloudDocumentaiV1beta3OcrConfig.properties.advancedOcrOptions.description
- schemas.GoogleCloudDocumentaiV1beta3OcrConfig.properties.advancedOcrOptions.items.type
- schemas.GoogleCloudDocumentaiV1beta3OcrConfig.properties.advancedOcrOptions.type

The following keys were changed:
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta1DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentRevision.properties.id.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta2DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentRevision.properties.id.description
- schemas.GoogleCloudDocumentaiV1beta3DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta3DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta3DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta3DocumentRevision.properties.id.description

#### documentai:v1

The following keys were deleted:
- schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.revisionReference.$ref
- schemas.GoogleCloudDocumentaiUiv1beta3DocumentId.properties.revisionReference.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.id
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.latestProcessorVersion.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.latestProcessorVersion.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.enum
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.enumDescriptions
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionCase.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionId.description
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.properties.revisionId.type
- schemas.GoogleCloudDocumentaiUiv1beta3RevisionReference.type

The following keys were added:
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.id
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.properties.commonMetadata.$ref
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.properties.commonMetadata.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata.type
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.id
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.properties.evaluation.description
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.properties.evaluation.type
- schemas.GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.commonMetadata.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.commonMetadata.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.testDatasetValidation.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.testDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.trainingDatasetValidation.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.properties.trainingDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadata.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.format
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrorCount.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.items.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.datasetErrors.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.format
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrorCount.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.items.$ref
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.properties.documentErrors.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.id
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.properties.processorVersion.description
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.properties.processorVersion.type
- schemas.GoogleCloudDocumentaiV1TrainProcessorVersionResponse.type

The following keys were changed:
- schemas.GoogleCloudDocumentaiV1DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1DocumentRevision.properties.id.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta1DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentRevision.properties.id.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenance.properties.type.enum
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenance.properties.type.enumDescriptions
- schemas.GoogleCloudDocumentaiV1beta2DocumentRevision.properties.createTime.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentRevision.properties.id.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 9, 2023
1 parent 8b96a97 commit 24616b9
Show file tree
Hide file tree
Showing 6 changed files with 538 additions and 229 deletions.
160 changes: 108 additions & 52 deletions discovery/documentai-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@
}
}
},
"revision": "20230127",
"revision": "20230202",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
Expand Down Expand Up @@ -1296,10 +1296,6 @@
"revisionRef": {
"$ref": "GoogleCloudDocumentaiUiv1beta3RevisionRef",
"description": "Points to a specific revision of the document if set."
},
"revisionReference": {
"$ref": "GoogleCloudDocumentaiUiv1beta3RevisionReference",
"description": "Points to a specific revision of the document if set."
}
},
"type": "object"
Expand Down Expand Up @@ -1666,35 +1662,6 @@
},
"type": "object"
},
"GoogleCloudDocumentaiUiv1beta3RevisionReference": {
"description": "The revision reference specifies which revision on the document to read.",
"id": "GoogleCloudDocumentaiUiv1beta3RevisionReference",
"properties": {
"latestProcessorVersion": {
"description": "Reads the revision generated by the processor version.",
"type": "string"
},
"revisionCase": {
"description": "Reads the revision by the predefined case.",
"enum": [
"REVISION_CASE_UNSPECIFIED",
"LATEST_HUMAN_REVIEW",
"LATEST_TIMESTAMP"
],
"enumDescriptions": [
"Unspecified case, fallback to read the LATEST_HUMAN_REVIEW.",
"The latest revision made by a human.",
"The latest revision based on timestamp."
],
"type": "string"
},
"revisionId": {
"description": "Reads the revision given by the id.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata": {
"description": "The long running operation metadata for set default processor version method.",
"id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata",
Expand Down Expand Up @@ -2980,6 +2947,7 @@
"OPERATION_TYPE_UNSPECIFIED",
"ADD",
"REMOVE",
"UPDATE",
"REPLACE",
"EVAL_REQUESTED",
"EVAL_APPROVED",
Expand All @@ -2989,10 +2957,11 @@
"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.",
"Add an element.",
"Remove an element identified by `parent`.",
"Replace an element identified by `parent`.",
"Request human review for the element identified by `parent`.",
"Element is reviewed and approved at human review, confidence will be set to 1.0.",
"Element is skipped in the validation process."
"Updates any fields within the given provenance scope of the message. It 'overwrites' the fields rather than replacing them. This is especially relevant when we just want to update a field value of an entity without also affecting all the child properties.",
"Currently unused. Replace an element identified by `parent`.",
"Deprecated. Request human review for the element identified by `parent`.",
"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.",
"Deprecated. Element is skipped in the validation process."
],
"type": "string"
}
Expand Down Expand Up @@ -3030,7 +2999,7 @@
"type": "string"
},
"createTime": {
"description": "The time that the revision was created.",
"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.",
"format": "google-datetime",
"type": "string"
},
Expand All @@ -3039,7 +3008,7 @@
"description": "Human Review information of this revision."
},
"id": {
"description": "Id of the revision. Unique within the context of the document.",
"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.",
"type": "string"
},
"parent": {
Expand Down Expand Up @@ -3365,6 +3334,17 @@
"properties": {},
"type": "object"
},
"GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata": {
"description": "Metadata of the EvaluateProcessorVersion method.",
"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata",
"properties": {
"commonMetadata": {
"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata",
"description": "The basic metadata of the long running operation."
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest": {
"description": "Evaluates the given ProcessorVersion against the supplied documents.",
"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest",
Expand All @@ -3376,6 +3356,17 @@
},
"type": "object"
},
"GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse": {
"description": "Metadata of the EvaluateProcessorVersion method.",
"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse",
"properties": {
"evaluation": {
"description": "The resource name of the created evaluation.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1Evaluation": {
"description": "An evaluation of a ProcessorVersion's performance.",
"id": "GoogleCloudDocumentaiV1Evaluation",
Expand Down Expand Up @@ -4149,6 +4140,56 @@
"properties": {},
"type": "object"
},
"GoogleCloudDocumentaiV1TrainProcessorVersionMetadata": {
"description": "The metadata that represents a processor version being created.",
"id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadata",
"properties": {
"commonMetadata": {
"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata",
"description": "The basic metadata of the long running operation."
},
"testDatasetValidation": {
"$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation",
"description": "The test dataset validation information."
},
"trainingDatasetValidation": {
"$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation",
"description": "The training dataset validation information."
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation": {
"description": "The dataset validation information. This includes any and all errors with documents and the dataset.",
"id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation",
"properties": {
"datasetErrorCount": {
"description": "The total number of dataset errors.",
"format": "int32",
"type": "integer"
},
"datasetErrors": {
"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"documentErrorCount": {
"description": "The total number of document errors.",
"format": "int32",
"type": "integer"
},
"documentErrors": {
"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1TrainProcessorVersionRequest": {
"description": "Request message for the create processor version method.",
"id": "GoogleCloudDocumentaiV1TrainProcessorVersionRequest",
Expand Down Expand Up @@ -4187,6 +4228,17 @@
},
"type": "object"
},
"GoogleCloudDocumentaiV1TrainProcessorVersionResponse": {
"description": "The response for the TrainProcessorVersion method.",
"id": "GoogleCloudDocumentaiV1TrainProcessorVersionResponse",
"properties": {
"processorVersion": {
"description": "The resource name of the processor version produced by training.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata": {
"description": "The long running operation metadata for the undeploy processor version method.",
"id": "GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata",
Expand Down Expand Up @@ -5125,6 +5177,7 @@
"OPERATION_TYPE_UNSPECIFIED",
"ADD",
"REMOVE",
"UPDATE",
"REPLACE",
"EVAL_REQUESTED",
"EVAL_APPROVED",
Expand All @@ -5134,10 +5187,11 @@
"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.",
"Add an element.",
"Remove an element identified by `parent`.",
"Replace an element identified by `parent`.",
"Request human review for the element identified by `parent`.",
"Element is reviewed and approved at human review, confidence will be set to 1.0.",
"Element is skipped in the validation process."
"Updates any fields within the given provenance scope of the message. It 'overwrites' the fields rather than replacing them. This is especially relevant when we just want to update a field value of an entity without also affecting all the child properties.",
"Currently unused. Replace an element identified by `parent`.",
"Deprecated. Request human review for the element identified by `parent`.",
"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.",
"Deprecated. Element is skipped in the validation process."
],
"type": "string"
}
Expand Down Expand Up @@ -5175,7 +5229,7 @@
"type": "string"
},
"createTime": {
"description": "The time that the revision was created.",
"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.",
"format": "google-datetime",
"type": "string"
},
Expand All @@ -5184,7 +5238,7 @@
"description": "Human Review information of this revision."
},
"id": {
"description": "Id of the revision. Unique within the context of the document.",
"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.",
"type": "string"
},
"parent": {
Expand Down Expand Up @@ -6426,6 +6480,7 @@
"OPERATION_TYPE_UNSPECIFIED",
"ADD",
"REMOVE",
"UPDATE",
"REPLACE",
"EVAL_REQUESTED",
"EVAL_APPROVED",
Expand All @@ -6435,10 +6490,11 @@
"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.",
"Add an element.",
"Remove an element identified by `parent`.",
"Replace an element identified by `parent`.",
"Request human review for the element identified by `parent`.",
"Element is reviewed and approved at human review, confidence will be set to 1.0.",
"Element is skipped in the validation process."
"Updates any fields within the given provenance scope of the message. It 'overwrites' the fields rather than replacing them. This is especially relevant when we just want to update a field value of an entity without also affecting all the child properties.",
"Currently unused. Replace an element identified by `parent`.",
"Deprecated. Request human review for the element identified by `parent`.",
"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.",
"Deprecated. Element is skipped in the validation process."
],
"type": "string"
}
Expand Down Expand Up @@ -6476,7 +6532,7 @@
"type": "string"
},
"createTime": {
"description": "The time that the revision was created.",
"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.",
"format": "google-datetime",
"type": "string"
},
Expand All @@ -6485,7 +6541,7 @@
"description": "Human Review information of this revision."
},
"id": {
"description": "Id of the revision. Unique within the context of the document.",
"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.",
"type": "string"
},
"parent": {
Expand Down

0 comments on commit 24616b9

Please sign in to comment.