Class DocumentUnderstandingService.DocumentUnderstandingServiceBase

[BindServiceMethod(typeof(DocumentUnderstandingService), "BindService")]
public abstract class DocumentUnderstandingServiceBase

Base class for server-side implementations of DocumentUnderstandingService

Inheritance

Object > DocumentUnderstandingService.DocumentUnderstandingServiceBase

Namespace

Google.Cloud.DocumentAI.V1Beta2

Assembly

Google.Cloud.DocumentAI.V1Beta2.dll

Methods

BatchProcessDocuments(BatchProcessDocumentsRequest, ServerCallContext)

public virtual Task<Operation> BatchProcessDocuments(BatchProcessDocumentsRequest request, ServerCallContext context)

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.

Parameters
TypeNameDescription
BatchProcessDocumentsRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

ProcessDocument(ProcessDocumentRequest, ServerCallContext)

public virtual Task<Document> ProcessDocument(ProcessDocumentRequest request, ServerCallContext context)

Processes a single document.

Parameters
TypeNameDescription
ProcessDocumentRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Document>

The response to send back to the client (wrapped by a task).