Cloud Document AI v1 API - Class DocumentProcessorService (3.16.0)

public static class DocumentProcessorService

Reference documentation and code samples for the Cloud Document AI v1 API class DocumentProcessorService.

Service to call Document AI to process documents according to the processor's definition. Processors are built using state-of-the-art Google AI such as natural language, computer vision, and translation to extract structured information from unstructured or semi-structured documents.

Inheritance

object > DocumentProcessorService

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Methods

BindService(DocumentProcessorServiceBase)

public static ServerServiceDefinition BindService(DocumentProcessorService.DocumentProcessorServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl DocumentProcessorServiceDocumentProcessorServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, DocumentProcessorServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, DocumentProcessorService.DocumentProcessorServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl DocumentProcessorServiceDocumentProcessorServiceBase

An object implementing the server-side handling logic.