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

feat: added TrainProcessorVersion, EvaluateProcessorVersion, GetEvaluation, and ListEvaluations v1beta3 APIs #412

Merged
merged 3 commits into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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