Class DocumentUnderstandingService.DocumentUnderstandingServiceBase
Base class for server-side implementations of DocumentUnderstandingService
Inheritance
System.Object
DocumentUnderstandingService.DocumentUnderstandingServiceBase
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
[BindServiceMethod(typeof(DocumentUnderstandingService), "BindService")]
public abstract class DocumentUnderstandingServiceBase
Methods
BatchProcessDocuments(BatchProcessDocumentsRequest, ServerCallContext)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Declaration
public virtual Task<Operation> BatchProcessDocuments(BatchProcessDocumentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchProcessDocumentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Operation> | The response to send back to the client (wrapped by a task). |
ProcessDocument(ProcessDocumentRequest, ServerCallContext)
Processes a single document.
Declaration
public virtual Task<Document> ProcessDocument(ProcessDocumentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ProcessDocumentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Document> | The response to send back to the client (wrapped by a task). |