Cloud Dataplex v1 API - Class DataScanServiceClientImpl (2.7.0)

public sealed class DataScanServiceClientImpl : DataScanServiceClient

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

DataScanService client wrapper implementation, for convenient use.

Inheritance

object > DataScanServiceClient > DataScanServiceClientImpl

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Remarks

DataScanService manages DataScan resources which can be configured to run various types of data scanning workload and generate enriched metadata (e.g. Data Profile, Data Quality) for the data source.

Constructors

DataScanServiceClientImpl(DataScanServiceClient, DataScanServiceSettings, ILogger)

public DataScanServiceClientImpl(DataScanService.DataScanServiceClient grpcClient, DataScanServiceSettings settings, ILogger logger)

Constructs a client wrapper for the DataScanService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientDataScanServiceDataScanServiceClient

The underlying gRPC client.

settingsDataScanServiceSettings

The base DataScanServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateDataScanOperationsClient

public override OperationsClient CreateDataScanOperationsClient { get; }

The long-running operations client for CreateDataScan.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteDataScanOperationsClient

public override OperationsClient DeleteDataScanOperationsClient { get; }

The long-running operations client for DeleteDataScan.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override DataScanService.DataScanServiceClient GrpcClient { get; }

The underlying gRPC DataScanService client

Property Value
TypeDescription
DataScanServiceDataScanServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UpdateDataScanOperationsClient

public override OperationsClient UpdateDataScanOperationsClient { get; }

The long-running operations client for UpdateDataScan.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateDataScan(CreateDataScanRequest, CallSettings)

public override Operation<DataScan, OperationMetadata> CreateDataScan(CreateDataScanRequest request, CallSettings callSettings = null)

Creates a DataScan resource.

Parameters
NameDescription
requestCreateDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDataScanOperationMetadata

The RPC response.

Overrides

CreateDataScanAsync(CreateDataScanRequest, CallSettings)

public override Task<Operation<DataScan, OperationMetadata>> CreateDataScanAsync(CreateDataScanRequest request, CallSettings callSettings = null)

Creates a DataScan resource.

Parameters
NameDescription
requestCreateDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDataScanOperationMetadata

A Task containing the RPC response.

Overrides

DeleteDataScan(DeleteDataScanRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteDataScan(DeleteDataScanRequest request, CallSettings callSettings = null)

Deletes a DataScan resource.

Parameters
NameDescription
requestDeleteDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteDataScanAsync(DeleteDataScanRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteDataScanAsync(DeleteDataScanRequest request, CallSettings callSettings = null)

Deletes a DataScan resource.

Parameters
NameDescription
requestDeleteDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetDataScan(GetDataScanRequest, CallSettings)

public override DataScan GetDataScan(GetDataScanRequest request, CallSettings callSettings = null)

Gets a DataScan resource.

Parameters
NameDescription
requestGetDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataScan

The RPC response.

Overrides

GetDataScanAsync(GetDataScanRequest, CallSettings)

public override Task<DataScan> GetDataScanAsync(GetDataScanRequest request, CallSettings callSettings = null)

Gets a DataScan resource.

Parameters
NameDescription
requestGetDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDataScan

A Task containing the RPC response.

Overrides

GetDataScanJob(GetDataScanJobRequest, CallSettings)

public override DataScanJob GetDataScanJob(GetDataScanJobRequest request, CallSettings callSettings = null)

Gets a DataScanJob resource.

Parameters
NameDescription
requestGetDataScanJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DataScanJob

The RPC response.

Overrides

GetDataScanJobAsync(GetDataScanJobRequest, CallSettings)

public override Task<DataScanJob> GetDataScanJobAsync(GetDataScanJobRequest request, CallSettings callSettings = null)

Gets a DataScanJob resource.

Parameters
NameDescription
requestGetDataScanJobRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskDataScanJob

A Task containing the RPC response.

Overrides

ListDataScanJobs(ListDataScanJobsRequest, CallSettings)

public override PagedEnumerable<ListDataScanJobsResponse, DataScanJob> ListDataScanJobs(ListDataScanJobsRequest request, CallSettings callSettings = null)

Lists DataScanJobs under the given DataScan.

Parameters
NameDescription
requestListDataScanJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDataScanJobsResponseDataScanJob

A pageable sequence of DataScanJob resources.

Overrides

ListDataScanJobsAsync(ListDataScanJobsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDataScanJobsResponse, DataScanJob> ListDataScanJobsAsync(ListDataScanJobsRequest request, CallSettings callSettings = null)

Lists DataScanJobs under the given DataScan.

Parameters
NameDescription
requestListDataScanJobsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDataScanJobsResponseDataScanJob

A pageable asynchronous sequence of DataScanJob resources.

Overrides

ListDataScans(ListDataScansRequest, CallSettings)

public override PagedEnumerable<ListDataScansResponse, DataScan> ListDataScans(ListDataScansRequest request, CallSettings callSettings = null)

Lists DataScans.

Parameters
NameDescription
requestListDataScansRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListDataScansResponseDataScan

A pageable sequence of DataScan resources.

Overrides

ListDataScansAsync(ListDataScansRequest, CallSettings)

public override PagedAsyncEnumerable<ListDataScansResponse, DataScan> ListDataScansAsync(ListDataScansRequest request, CallSettings callSettings = null)

Lists DataScans.

Parameters
NameDescription
requestListDataScansRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListDataScansResponseDataScan

A pageable asynchronous sequence of DataScan resources.

Overrides

RunDataScan(RunDataScanRequest, CallSettings)

public override RunDataScanResponse RunDataScan(RunDataScanRequest request, CallSettings callSettings = null)

Runs an on-demand execution of a DataScan

Parameters
NameDescription
requestRunDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
RunDataScanResponse

The RPC response.

Overrides

RunDataScanAsync(RunDataScanRequest, CallSettings)

public override Task<RunDataScanResponse> RunDataScanAsync(RunDataScanRequest request, CallSettings callSettings = null)

Runs an on-demand execution of a DataScan

Parameters
NameDescription
requestRunDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskRunDataScanResponse

A Task containing the RPC response.

Overrides

UpdateDataScan(UpdateDataScanRequest, CallSettings)

public override Operation<DataScan, OperationMetadata> UpdateDataScan(UpdateDataScanRequest request, CallSettings callSettings = null)

Updates a DataScan resource.

Parameters
NameDescription
requestUpdateDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDataScanOperationMetadata

The RPC response.

Overrides

UpdateDataScanAsync(UpdateDataScanRequest, CallSettings)

public override Task<Operation<DataScan, OperationMetadata>> UpdateDataScanAsync(UpdateDataScanRequest request, CallSettings callSettings = null)

Updates a DataScan resource.

Parameters
NameDescription
requestUpdateDataScanRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDataScanOperationMetadata

A Task containing the RPC response.

Overrides