public sealed class DocumentProcessorServiceClientImpl : DocumentProcessorServiceClient
Reference documentation and code samples for the Cloud Document AI v1beta3 API class DocumentProcessorServiceClientImpl.
DocumentProcessorService client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.DocumentAIV1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Remarks
Service to call Cloud DocumentAI to process documents according to the processor's definition. Processors are built using state-of-the-art Google AI such as natural language, computer vision, and translation to extract structured information from unstructured or semi-structured documents.
Constructors
DocumentProcessorServiceClientImpl(DocumentProcessorServiceClient, DocumentProcessorServiceSettings, ILogger)
public DocumentProcessorServiceClientImpl(DocumentProcessorService.DocumentProcessorServiceClient grpcClient, DocumentProcessorServiceSettings settings, ILogger logger)
Constructs a client wrapper for the DocumentProcessorService service, with the specified gRPC client and settings.
Name | Description |
grpcClient | DocumentProcessorServiceDocumentProcessorServiceClient The underlying gRPC client. |
settings | DocumentProcessorServiceSettings The base DocumentProcessorServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
BatchProcessDocumentsOperationsClient
public override OperationsClient BatchProcessDocumentsOperationsClient { get; }
The long-running operations client for BatchProcessDocuments
.
Type | Description |
OperationsClient |
DeleteProcessorOperationsClient
public override OperationsClient DeleteProcessorOperationsClient { get; }
The long-running operations client for DeleteProcessor
.
Type | Description |
OperationsClient |
DeleteProcessorVersionOperationsClient
public override OperationsClient DeleteProcessorVersionOperationsClient { get; }
The long-running operations client for DeleteProcessorVersion
.
Type | Description |
OperationsClient |
DeployProcessorVersionOperationsClient
public override OperationsClient DeployProcessorVersionOperationsClient { get; }
The long-running operations client for DeployProcessorVersion
.
Type | Description |
OperationsClient |
DisableProcessorOperationsClient
public override OperationsClient DisableProcessorOperationsClient { get; }
The long-running operations client for DisableProcessor
.
Type | Description |
OperationsClient |
EnableProcessorOperationsClient
public override OperationsClient EnableProcessorOperationsClient { get; }
The long-running operations client for EnableProcessor
.
Type | Description |
OperationsClient |
EvaluateProcessorVersionOperationsClient
public override OperationsClient EvaluateProcessorVersionOperationsClient { get; }
The long-running operations client for EvaluateProcessorVersion
.
Type | Description |
OperationsClient |
GrpcClient
public override DocumentProcessorService.DocumentProcessorServiceClient GrpcClient { get; }
The underlying gRPC DocumentProcessorService client
Type | Description |
DocumentProcessorServiceDocumentProcessorServiceClient |
ImportProcessorVersionOperationsClient
public override OperationsClient ImportProcessorVersionOperationsClient { get; }
The long-running operations client for ImportProcessorVersion
.
Type | Description |
OperationsClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Type | Description |
LocationsClient |
ReviewDocumentOperationsClient
public override OperationsClient ReviewDocumentOperationsClient { get; }
The long-running operations client for ReviewDocument
.
Type | Description |
OperationsClient |
SetDefaultProcessorVersionOperationsClient
public override OperationsClient SetDefaultProcessorVersionOperationsClient { get; }
The long-running operations client for SetDefaultProcessorVersion
.
Type | Description |
OperationsClient |
TrainProcessorVersionOperationsClient
public override OperationsClient TrainProcessorVersionOperationsClient { get; }
The long-running operations client for TrainProcessorVersion
.
Type | Description |
OperationsClient |
UndeployProcessorVersionOperationsClient
public override OperationsClient UndeployProcessorVersionOperationsClient { get; }
The long-running operations client for UndeployProcessorVersion
.
Type | Description |
OperationsClient |
Methods
BatchProcessDocuments(BatchProcessRequest, CallSettings)
public override Operation<BatchProcessResponse, BatchProcessMetadata> BatchProcessDocuments(BatchProcessRequest request, CallSettings callSettings = null)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Name | Description |
request | BatchProcessRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
OperationBatchProcessResponseBatchProcessMetadata | The RPC response. |
BatchProcessDocumentsAsync(BatchProcessRequest, CallSettings)
public override Task<Operation<BatchProcessResponse, BatchProcessMetadata>> BatchProcessDocumentsAsync(BatchProcessRequest request, CallSettings callSettings = null)
LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
Name | Description |
request | BatchProcessRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
TaskOperationBatchProcessResponseBatchProcessMetadata | A Task containing the RPC response. |
CreateProcessor(CreateProcessorRequest, CallSettings)
public override Processor CreateProcessor(CreateProcessorRequest request, CallSettings callSettings = null)
Creates a processor from