public sealed class DocumentServiceClientImpl : DocumentServiceClient
Reference documentation and code samples for the Cloud Document AI v1beta3 API class DocumentServiceClientImpl.
DocumentService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Remarks
Service to call Cloud DocumentAI to manage document collection (dataset).
Constructors
DocumentServiceClientImpl(DocumentServiceClient, DocumentServiceSettings, ILogger)
public DocumentServiceClientImpl(DocumentService.DocumentServiceClient grpcClient, DocumentServiceSettings settings, ILogger logger)
Constructs a client wrapper for the DocumentService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | DocumentServiceDocumentServiceClient The underlying gRPC client. |
settings | DocumentServiceSettings The base DocumentServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override DocumentService.DocumentServiceClient GrpcClient { get; }
The underlying gRPC DocumentService client
Property Value | |
---|---|
Type | Description |
DocumentServiceDocumentServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
UpdateDatasetOperationsClient
public override OperationsClient UpdateDatasetOperationsClient { get; }
The long-running operations client for UpdateDataset
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
GetDatasetSchema(GetDatasetSchemaRequest, CallSettings)
public override DatasetSchema GetDatasetSchema(GetDatasetSchemaRequest request, CallSettings callSettings = null)
Gets the DatasetSchema
of a Dataset
.
Parameters | |
---|---|
Name | Description |
request | GetDatasetSchemaRequest 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 |
DatasetSchema | The RPC response. |
GetDatasetSchemaAsync(GetDatasetSchemaRequest, CallSettings)
public override Task<DatasetSchema> GetDatasetSchemaAsync(GetDatasetSchemaRequest request, CallSettings callSettings = null)
Gets the DatasetSchema
of a Dataset
.
Parameters | |
---|---|
Name | Description |
request | GetDatasetSchemaRequest 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 |
TaskDatasetSchema | A Task containing the RPC response. |
UpdateDataset(UpdateDatasetRequest, CallSettings)
public override Operation<Dataset, UpdateDatasetOperationMetadata> UpdateDataset(UpdateDatasetRequest request, CallSettings callSettings = null)
Updates metadata associated with a dataset.
Parameters | |
---|---|
Name | Description |
request | UpdateDatasetRequest 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 |
OperationDatasetUpdateDatasetOperationMetadata | The RPC response. |
UpdateDatasetAsync(UpdateDatasetRequest, CallSettings)
public override Task<Operation<Dataset, UpdateDatasetOperationMetadata>> UpdateDatasetAsync(UpdateDatasetRequest request, CallSettings callSettings = null)
Updates metadata associated with a dataset.
Parameters | |
---|---|
Name | Description |
request | UpdateDatasetRequest 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 |
TaskOperationDatasetUpdateDatasetOperationMetadata | A Task containing the RPC response. |
UpdateDatasetSchema(UpdateDatasetSchemaRequest, CallSettings)
public override DatasetSchema UpdateDatasetSchema(UpdateDatasetSchemaRequest request, CallSettings callSettings = null)
Updates a DatasetSchema
.
Parameters | |
---|---|
Name | Description |
request | UpdateDatasetSchemaRequest 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 |
DatasetSchema | The RPC response. |
UpdateDatasetSchemaAsync(UpdateDatasetSchemaRequest, CallSettings)
public override Task<DatasetSchema> UpdateDatasetSchemaAsync(UpdateDatasetSchemaRequest request, CallSettings callSettings = null)
Updates a DatasetSchema
.
Parameters | |
---|---|
Name | Description |
request | UpdateDatasetSchemaRequest 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 |
TaskDatasetSchema | A Task containing the RPC response. |