[BindServiceMethod(typeof(DocumentService), "BindService")]
public abstract class DocumentService.DocumentServiceBase
Reference documentation and code samples for the Cloud Document AI v1beta3 API class DocumentService.DocumentServiceBase.
Base class for server-side implementations of DocumentService
Namespace
Google.Cloud.DocumentAI.V1Beta3Assembly
Google.Cloud.DocumentAI.V1Beta3.dll
Methods
GetDatasetSchema(GetDatasetSchemaRequest, ServerCallContext)
public virtual Task<DatasetSchema> GetDatasetSchema(GetDatasetSchemaRequest request, ServerCallContext context)
Gets the DatasetSchema
of a Dataset
.
Parameters | |
---|---|
Name | Description |
request | GetDatasetSchemaRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskDatasetSchema | The response to send back to the client (wrapped by a task). |
UpdateDataset(UpdateDatasetRequest, ServerCallContext)
public virtual Task<Operation> UpdateDataset(UpdateDatasetRequest request, ServerCallContext context)
Updates metadata associated with a dataset.
Parameters | |
---|---|
Name | Description |
request | UpdateDatasetRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |
UpdateDatasetSchema(UpdateDatasetSchemaRequest, ServerCallContext)
public virtual Task<DatasetSchema> UpdateDatasetSchema(UpdateDatasetSchemaRequest request, ServerCallContext context)
Updates a DatasetSchema
.
Parameters | |
---|---|
Name | Description |
request | UpdateDatasetSchemaRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskDatasetSchema | The response to send back to the client (wrapped by a task). |