Class DocumentUnderstandingServiceClientImpl
DocumentUnderstandingService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class DocumentUnderstandingServiceClientImpl : DocumentUnderstandingServiceClient
Remarks
Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, and translation.
Constructors
DocumentUnderstandingServiceClientImpl(DocumentUnderstandingService.DocumentUnderstandingServiceClient, DocumentUnderstandingServiceSettings)
Constructs a client wrapper for the DocumentUnderstandingService service, with the specified gRPC client and settings.
Declaration
public DocumentUnderstandingServiceClientImpl(DocumentUnderstandingService.DocumentUnderstandingServiceClient grpcClient, DocumentUnderstandingServiceSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentUnderstandingService.DocumentUnderstandingServiceClient | grpcClient | The underlying gRPC client. |
| DocumentUnderstandingServiceSettings | settings | The base DocumentUnderstandingServiceSettings used within this client. |
Properties
BatchProcessDocumentsOperationsClient
The long-running operations client for BatchProcessDocuments.
Declaration
public override OperationsClient BatchProcessDocumentsOperationsClient { get; }
Property Value
| Type | Description |
|---|---|
| OperationsClient |
Overrides
GrpcClient
The underlying gRPC DocumentUnderstandingService client
Declaration
public override DocumentUnderstandingService.DocumentUnderstandingServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| DocumentUnderstandingService.DocumentUnderstandingServiceClient |
Overrides
Methods
BatchProcessDocuments(BatchProcessDocumentsRequest, CallSettings)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Declaration
public override Operation<BatchProcessDocumentsResponse, OperationMetadata> BatchProcessDocuments(BatchProcessDocumentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchProcessDocumentsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Operation<BatchProcessDocumentsResponse, OperationMetadata> | The RPC response. |
Overrides
BatchProcessDocumentsAsync(BatchProcessDocumentsRequest, CallSettings)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Declaration
public override Task<Operation<BatchProcessDocumentsResponse, OperationMetadata>> BatchProcessDocumentsAsync(BatchProcessDocumentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchProcessDocumentsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Operation<BatchProcessDocumentsResponse, OperationMetadata>> | A Task containing the RPC response. |
Overrides
ProcessDocument(ProcessDocumentRequest, CallSettings)
Processes a single document.
Declaration
public override Document ProcessDocument(ProcessDocumentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProcessDocumentRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Document | The RPC response. |
Overrides
ProcessDocumentAsync(ProcessDocumentRequest, CallSettings)
Processes a single document.
Declaration
public override Task<Document> ProcessDocumentAsync(ProcessDocumentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProcessDocumentRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Document> | A Task containing the RPC response. |