Skip to content

Commit

Permalink
feat(documentai): update the API
Browse files Browse the repository at this point in the history
#### documentai:v1beta2

The following keys were added:
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.type
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.type

#### documentai:v1beta3

The following keys were added:
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.type
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.type
- schemas.GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta3DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta3DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta3DocumentProvenanceParent.properties.index.type

#### documentai:v1

The following keys were added:
- schemas.GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1DocumentProvenanceParent.properties.index.type
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta1DocumentProvenanceParent.properties.index.type
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.format
- schemas.GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef.properties.confidence.type
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.description
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.format
- schemas.GoogleCloudDocumentaiV1beta2DocumentProvenanceParent.properties.index.type
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent 77b0838 commit 28d4608
Show file tree
Hide file tree
Showing 6 changed files with 256 additions and 100 deletions.
32 changes: 31 additions & 1 deletion discovery/documentai-v1.json
Expand Up @@ -601,7 +601,7 @@
}
}
},
"revision": "20210415",
"revision": "20210513",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -1364,6 +1364,11 @@
"$ref": "GoogleCloudDocumentaiV1BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -1827,6 +1832,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down Expand Up @@ -2529,6 +2539,11 @@
"$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -2992,6 +3007,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down Expand Up @@ -3674,6 +3694,11 @@
"$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -4137,6 +4162,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down
22 changes: 21 additions & 1 deletion discovery/documentai-v1beta2.json
Expand Up @@ -292,7 +292,7 @@
}
}
},
"revision": "20210415",
"revision": "20210513",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -1068,6 +1068,11 @@
"$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -1531,6 +1536,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down Expand Up @@ -2238,6 +2248,11 @@
"$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -2701,6 +2716,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down
32 changes: 31 additions & 1 deletion discovery/documentai-v1beta3.json
Expand Up @@ -535,7 +535,7 @@
}
}
},
"revision": "20210426",
"revision": "20210513",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
Expand Down Expand Up @@ -1311,6 +1311,11 @@
"$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -1774,6 +1779,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down Expand Up @@ -2456,6 +2466,11 @@
"$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -2919,6 +2934,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down Expand Up @@ -3788,6 +3808,11 @@
"$ref": "GoogleCloudDocumentaiV1beta3BoundingPoly",
"description": "Optional. Identifies the bounding polygon of a layout element on the page."
},
"confidence": {
"description": "Optional. Confidence of detected page element, if applicable. Range [0, 1].",
"format": "float",
"type": "number"
},
"layoutId": {
"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.",
"type": "string"
Expand Down Expand Up @@ -4251,6 +4276,11 @@
"format": "int32",
"type": "integer"
},
"index": {
"description": "The index of the parent revisions corresponding collection of items (eg. list of entities, properties within entities, etc.)",
"format": "int32",
"type": "integer"
},
"revision": {
"description": "The index of the [Document.revisions] identifying the parent revision.",
"format": "int32",
Expand Down

0 comments on commit 28d4608

Please sign in to comment.