Show / Hide Table of Contents

Class DocumentUnderstandingServiceClientImpl

DocumentUnderstandingService client wrapper implementation, for convenient use.

Inheritance
System.Object
DocumentUnderstandingServiceClient
DocumentUnderstandingServiceClientImpl
Inherited Members
DocumentUnderstandingServiceClient.DefaultEndpoint
DocumentUnderstandingServiceClient.DefaultScopes
DocumentUnderstandingServiceClient.CreateAsync(CancellationToken)
DocumentUnderstandingServiceClient.Create()
DocumentUnderstandingServiceClient.ShutdownDefaultChannelsAsync()
DocumentUnderstandingServiceClient.BatchProcessDocumentsAsync(BatchProcessDocumentsRequest, CancellationToken)
DocumentUnderstandingServiceClient.PollOnceBatchProcessDocuments(String, CallSettings)
DocumentUnderstandingServiceClient.PollOnceBatchProcessDocumentsAsync(String, CallSettings)
DocumentUnderstandingServiceClient.BatchProcessDocuments(IEnumerable<ProcessDocumentRequest>, CallSettings)
DocumentUnderstandingServiceClient.BatchProcessDocumentsAsync(IEnumerable<ProcessDocumentRequest>, CallSettings)
DocumentUnderstandingServiceClient.BatchProcessDocumentsAsync(IEnumerable<ProcessDocumentRequest>, CancellationToken)
DocumentUnderstandingServiceClient.ProcessDocumentAsync(ProcessDocumentRequest, CancellationToken)
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
DocumentUnderstandingServiceClient.BatchProcessDocumentsOperationsClient

GrpcClient

The underlying gRPC DocumentUnderstandingService client

Declaration
public override DocumentUnderstandingService.DocumentUnderstandingServiceClient GrpcClient { get; }
Property Value
Type Description
DocumentUnderstandingService.DocumentUnderstandingServiceClient
Overrides
DocumentUnderstandingServiceClient.GrpcClient

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
DocumentUnderstandingServiceClient.BatchProcessDocuments(BatchProcessDocumentsRequest, CallSettings)

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
DocumentUnderstandingServiceClient.BatchProcessDocumentsAsync(BatchProcessDocumentsRequest, CallSettings)

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
DocumentUnderstandingServiceClient.ProcessDocument(ProcessDocumentRequest, CallSettings)

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.

Overrides
DocumentUnderstandingServiceClient.ProcessDocumentAsync(ProcessDocumentRequest, CallSettings)
Back to top