ProjectsLocationsProcessorsProcessorVersions
class ProjectsLocationsProcessorsProcessorVersions extends Resource (View source)
The "processorVersions" collection of methods.
Typical usage is:
$documentaiService = new Google\Service\Document(...);
$processorVersions = $documentaiService->projects_locations_processors_processorVersions;
Methods
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format. (processorVersions.batchProcess)
Deletes the processor version, all artifacts under the processor version will be deleted. (processorVersions.delete)
Deploys the processor version. (processorVersions.deploy)
Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. (processorVersions.evaluateProcessorVersion)
Gets a processor version detail. (processorVersions.get)
Lists all versions of a processor.
Processes a single document. (processorVersions.process)
Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata. (processorVersions.train)
Undeploys the processor version. (processorVersions.undeploy)
Details
GoogleLongrunningOperation
batchProcess(string $name, GoogleCloudDocumentaiV1BatchProcessRequest $postBody, array $optParams = [])
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format. (processorVersions.batchProcess)
GoogleLongrunningOperation
delete(string $name, array $optParams = [])
Deletes the processor version, all artifacts under the processor version will be deleted. (processorVersions.delete)
GoogleLongrunningOperation
deploy(string $name, GoogleCloudDocumentaiV1DeployProcessorVersionRequest $postBody, array $optParams = [])
Deploys the processor version. (processorVersions.deploy)
GoogleLongrunningOperation
evaluateProcessorVersion(string $processorVersion, GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest $postBody, array $optParams = [])
Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. (processorVersions.evaluateProcessorVersion)
GoogleCloudDocumentaiV1ProcessorVersion
get(string $name, array $optParams = [])
Gets a processor version detail. (processorVersions.get)
GoogleCloudDocumentaiV1ListProcessorVersionsResponse
listProjectsLocationsProcessorsProcessorVersions(string $parent, array $optParams = [])
Lists all versions of a processor.
(processorVersions.listProjectsLocationsProcessorsProcessorVersions)
GoogleCloudDocumentaiV1ProcessResponse
process(string $name, GoogleCloudDocumentaiV1ProcessRequest $postBody, array $optParams = [])
Processes a single document. (processorVersions.process)
GoogleLongrunningOperation
train(string $parent, GoogleCloudDocumentaiV1TrainProcessorVersionRequest $postBody, array $optParams = [])
Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata. (processorVersions.train)
GoogleLongrunningOperation
undeploy(string $name, GoogleCloudDocumentaiV1UndeployProcessorVersionRequest $postBody, array $optParams = [])
Undeploys the processor version. (processorVersions.undeploy)