public sealed class DocumentUnderstandingServiceClientImpl : DocumentUnderstandingServiceClient
DocumentUnderstandingService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DocumentAI.V1Beta2Assembly
Google.Cloud.DocumentAI.V1Beta2.dll
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)
public DocumentUnderstandingServiceClientImpl(DocumentUnderstandingService.DocumentUnderstandingServiceClient grpcClient, DocumentUnderstandingServiceSettings settings)
Constructs a client wrapper for the DocumentUnderstandingService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | DocumentUnderstandingService.DocumentUnderstandingServiceClient The underlying gRPC client. |
settings | DocumentUnderstandingServiceSettings The base DocumentUnderstandingServiceSettings used within this client. |
Properties
BatchProcessDocumentsOperationsClient
public override OperationsClient BatchProcessDocumentsOperationsClient { get; }
The long-running operations client for BatchProcessDocuments
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override DocumentUnderstandingService.DocumentUnderstandingServiceClient GrpcClient { get; }
The underlying gRPC DocumentUnderstandingService client
Property Value | |
---|---|
Type | Description |
DocumentUnderstandingService.DocumentUnderstandingServiceClient |
Methods
BatchProcessDocuments(BatchProcessDocumentsRequest, CallSettings)
public override Operation<BatchProcessDocumentsResponse, OperationMetadata> BatchProcessDocuments(BatchProcessDocumentsRequest request, CallSettings callSettings = null)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Parameters | |
---|---|
Name | Description |
request | BatchProcessDocumentsRequest 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. |
BatchProcessDocumentsAsync(BatchProcessDocumentsRequest, CallSettings)
public override Task<Operation<BatchProcessDocumentsResponse, OperationMetadata>> BatchProcessDocumentsAsync(BatchProcessDocumentsRequest request, CallSettings callSettings = null)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Parameters | |
---|---|
Name | Description |
request | BatchProcessDocumentsRequest 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 |
Task<Operation<BatchProcessDocumentsResponse, OperationMetadata>> | A Task containing the RPC response. |
ProcessDocument(ProcessDocumentRequest, CallSettings)
public override Document ProcessDocument(ProcessDocumentRequest request, CallSettings callSettings = null)
Processes a single document.
Parameters | |
---|---|
Name | Description |
request | ProcessDocumentRequest 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. |
ProcessDocumentAsync(ProcessDocumentRequest, CallSettings)
public override Task<Document> ProcessDocumentAsync(ProcessDocumentRequest request, CallSettings callSettings = null)
Processes a single document.
Parameters | |
---|---|
Name | Description |
request | ProcessDocumentRequest 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 |
Task<Document> | A Task containing the RPC response. |