Class DocumentUnderstandingServiceClientImpl (1.0.0-beta03)

public sealed class DocumentUnderstandingServiceClientImpl : DocumentUnderstandingServiceClient

DocumentUnderstandingService client wrapper implementation, for convenient use.

Inheritance

Object > DocumentUnderstandingServiceClient > DocumentUnderstandingServiceClientImpl

Namespace

Google.Cloud.DocumentAI.V1Beta2

Assembly

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
NameDescription
grpcClientDocumentUnderstandingService.DocumentUnderstandingServiceClient

The underlying gRPC client.

settingsDocumentUnderstandingServiceSettings

The base DocumentUnderstandingServiceSettings used within this client.

Properties

BatchProcessDocumentsOperationsClient

public override OperationsClient BatchProcessDocumentsOperationsClient { get; }

The long-running operations client for BatchProcessDocuments.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override DocumentUnderstandingService.DocumentUnderstandingServiceClient GrpcClient { get; }

The underlying gRPC DocumentUnderstandingService client

Property Value
TypeDescription
DocumentUnderstandingService.DocumentUnderstandingServiceClient
Overrides

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
NameDescription
requestBatchProcessDocumentsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<BatchProcessDocumentsResponse, OperationMetadata>

The RPC response.

Overrides

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
NameDescription
requestBatchProcessDocumentsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<BatchProcessDocumentsResponse, OperationMetadata>>

A Task containing the RPC response.

Overrides

ProcessDocument(ProcessDocumentRequest, CallSettings)

public override Document ProcessDocument(ProcessDocumentRequest request, CallSettings callSettings = null)

Processes a single document.

Parameters
NameDescription
requestProcessDocumentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Document

The RPC response.

Overrides

ProcessDocumentAsync(ProcessDocumentRequest, CallSettings)

public override Task<Document> ProcessDocumentAsync(ProcessDocumentRequest request, CallSettings callSettings = null)

Processes a single document.

Parameters
NameDescription
requestProcessDocumentRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Document>

A Task containing the RPC response.

Overrides