Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
feat: added TrainProcessorVersion, EvaluateProcessorVersion, GetEvalu…
Browse files Browse the repository at this point in the history
…ation, and ListEvaluations v1beta3 APIs (#412)

* feat: added TrainProcessorVersion, EvaluateProcessorVersion, GetEvaluation, and ListEvaluations v1beta3 APIs
* feat: added evaluation.proto
* feat: added document_schema field in ProcessorVersion processor.proto
* feat: added image_quality_scores field in Document.Page in document.proto
* feat: added font_family field in Document.Style in document.proto

PiperOrigin-RevId: 488417413

Source-Link: googleapis/googleapis@6b780a3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/99c8d66a1f727ae3cb6697832690dbaaa318cd85
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTljOGQ2NmExZjcyN2FlM2NiNjY5NzgzMjY5MGRiYWFhMzE4Y2Q4NSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Fixes #410

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Holt Skinner <[email protected]>
  • Loading branch information
3 people authored Nov 14, 2022
1 parent 8f14004 commit caefaa7
Show file tree
Hide file tree
Showing 28 changed files with 4,659 additions and 166 deletions.
20 changes: 20 additions & 0 deletions google/cloud/documentai_v1beta3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,17 @@
EnableProcessorMetadata,
EnableProcessorRequest,
EnableProcessorResponse,
EvaluateProcessorVersionMetadata,
EvaluateProcessorVersionRequest,
EvaluateProcessorVersionResponse,
FetchProcessorTypesRequest,
FetchProcessorTypesResponse,
GetEvaluationRequest,
GetProcessorRequest,
GetProcessorVersionRequest,
HumanReviewStatus,
ListEvaluationsRequest,
ListEvaluationsResponse,
ListProcessorsRequest,
ListProcessorsResponse,
ListProcessorTypesRequest,
Expand All @@ -69,11 +75,15 @@
SetDefaultProcessorVersionMetadata,
SetDefaultProcessorVersionRequest,
SetDefaultProcessorVersionResponse,
TrainProcessorVersionMetadata,
TrainProcessorVersionRequest,
TrainProcessorVersionResponse,
UndeployProcessorVersionMetadata,
UndeployProcessorVersionRequest,
UndeployProcessorVersionResponse,
)
from .types.document_schema import DocumentSchema
from .types.evaluation import Evaluation
from .types.geometry import BoundingPoly, NormalizedVertex, Vertex
from .types.operation_metadata import CommonOperationMetadata
from .types.processor import Processor, ProcessorVersion
Expand Down Expand Up @@ -106,14 +116,21 @@
"EnableProcessorMetadata",
"EnableProcessorRequest",
"EnableProcessorResponse",
"EvaluateProcessorVersionMetadata",
"EvaluateProcessorVersionRequest",
"EvaluateProcessorVersionResponse",
"Evaluation",
"FetchProcessorTypesRequest",
"FetchProcessorTypesResponse",
"GcsDocument",
"GcsDocuments",
"GcsPrefix",
"GetEvaluationRequest",
"GetProcessorRequest",
"GetProcessorVersionRequest",
"HumanReviewStatus",
"ListEvaluationsRequest",
"ListEvaluationsResponse",
"ListProcessorTypesRequest",
"ListProcessorTypesResponse",
"ListProcessorVersionsRequest",
Expand All @@ -133,6 +150,9 @@
"SetDefaultProcessorVersionMetadata",
"SetDefaultProcessorVersionRequest",
"SetDefaultProcessorVersionResponse",
"TrainProcessorVersionMetadata",
"TrainProcessorVersionRequest",
"TrainProcessorVersionResponse",
"UndeployProcessorVersionMetadata",
"UndeployProcessorVersionRequest",
"UndeployProcessorVersionResponse",
Expand Down
40 changes: 40 additions & 0 deletions google/cloud/documentai_v1beta3/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,21 @@
"enable_processor"
]
},
"EvaluateProcessorVersion": {
"methods": [
"evaluate_processor_version"
]
},
"FetchProcessorTypes": {
"methods": [
"fetch_processor_types"
]
},
"GetEvaluation": {
"methods": [
"get_evaluation"
]
},
"GetProcessor": {
"methods": [
"get_processor"
Expand All @@ -60,6 +70,11 @@
"get_processor_version"
]
},
"ListEvaluations": {
"methods": [
"list_evaluations"
]
},
"ListProcessorTypes": {
"methods": [
"list_processor_types"
Expand Down Expand Up @@ -90,6 +105,11 @@
"set_default_processor_version"
]
},
"TrainProcessorVersion": {
"methods": [
"train_processor_version"
]
},
"UndeployProcessorVersion": {
"methods": [
"undeploy_processor_version"
Expand Down Expand Up @@ -135,11 +155,21 @@
"enable_processor"
]
},
"EvaluateProcessorVersion": {
"methods": [
"evaluate_processor_version"
]
},
"FetchProcessorTypes": {
"methods": [
"fetch_processor_types"
]
},
"GetEvaluation": {
"methods": [
"get_evaluation"
]
},
"GetProcessor": {
"methods": [
"get_processor"
Expand All @@ -150,6 +180,11 @@
"get_processor_version"
]
},
"ListEvaluations": {
"methods": [
"list_evaluations"
]
},
"ListProcessorTypes": {
"methods": [
"list_processor_types"
Expand Down Expand Up @@ -180,6 +215,11 @@
"set_default_processor_version"
]
},
"TrainProcessorVersion": {
"methods": [
"train_processor_version"
]
},
"UndeployProcessorVersion": {
"methods": [
"undeploy_processor_version"
Expand Down
Loading

0 comments on commit caefaa7

Please sign in to comment.