Cloud Dataplex v1 API - Class DataScanService.DataScanServiceBase (2.7.0)

[BindServiceMethod(typeof(DataScanService), "BindService")]
public abstract class DataScanService.DataScanServiceBase

Reference documentation and code samples for the Cloud Dataplex v1 API class DataScanService.DataScanServiceBase.

Base class for server-side implementations of DataScanService

Inheritance

object > DataScanService.DataScanServiceBase

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Methods

CreateDataScan(CreateDataScanRequest, ServerCallContext)

public virtual Task<Operation> CreateDataScan(CreateDataScanRequest request, ServerCallContext context)

Creates a DataScan resource.

Parameters
NameDescription
requestCreateDataScanRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteDataScan(DeleteDataScanRequest, ServerCallContext)

public virtual Task<Operation> DeleteDataScan(DeleteDataScanRequest request, ServerCallContext context)

Deletes a DataScan resource.

Parameters
NameDescription
requestDeleteDataScanRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetDataScan(GetDataScanRequest, ServerCallContext)

public virtual Task<DataScan> GetDataScan(GetDataScanRequest request, ServerCallContext context)

Gets a DataScan resource.

Parameters
NameDescription
requestGetDataScanRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDataScan

The response to send back to the client (wrapped by a task).

GetDataScanJob(GetDataScanJobRequest, ServerCallContext)

public virtual Task<DataScanJob> GetDataScanJob(GetDataScanJobRequest request, ServerCallContext context)

Gets a DataScanJob resource.

Parameters
NameDescription
requestGetDataScanJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDataScanJob

The response to send back to the client (wrapped by a task).

ListDataScanJobs(ListDataScanJobsRequest, ServerCallContext)

public virtual Task<ListDataScanJobsResponse> ListDataScanJobs(ListDataScanJobsRequest request, ServerCallContext context)

Lists DataScanJobs under the given DataScan.

Parameters
NameDescription
requestListDataScanJobsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListDataScanJobsResponse

The response to send back to the client (wrapped by a task).

ListDataScans(ListDataScansRequest, ServerCallContext)

public virtual Task<ListDataScansResponse> ListDataScans(ListDataScansRequest request, ServerCallContext context)

Lists DataScans.

Parameters
NameDescription
requestListDataScansRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListDataScansResponse

The response to send back to the client (wrapped by a task).

RunDataScan(RunDataScanRequest, ServerCallContext)

public virtual Task<RunDataScanResponse> RunDataScan(RunDataScanRequest request, ServerCallContext context)

Runs an on-demand execution of a DataScan

Parameters
NameDescription
requestRunDataScanRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRunDataScanResponse

The response to send back to the client (wrapped by a task).

UpdateDataScan(UpdateDataScanRequest, ServerCallContext)

public virtual Task<Operation> UpdateDataScan(UpdateDataScanRequest request, ServerCallContext context)

Updates a DataScan resource.

Parameters
NameDescription
requestUpdateDataScanRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).