Class DataScanServiceConnection (2.24.0)

This interface defines virtual methods for each of the user-facing overload sets in DataScanServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DataScanServiceClient.

To create a concrete instance, see MakeDataScanServiceConnection().

For mocking, see dataplex_v1_mocks::MockDataScanServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateDataScan(google::cloud::dataplex::v1::CreateDataScanRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::CreateDataScanRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataScan > >

virtual UpdateDataScan(google::cloud::dataplex::v1::UpdateDataScanRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::UpdateDataScanRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataScan > >

virtual DeleteDataScan(google::cloud::dataplex::v1::DeleteDataScanRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::DeleteDataScanRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual GetDataScan(google::cloud::dataplex::v1::GetDataScanRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::GetDataScanRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::DataScan >

virtual ListDataScans(google::cloud::dataplex::v1::ListDataScansRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListDataScansRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::DataScan >

virtual RunDataScan(google::cloud::dataplex::v1::RunDataScanRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::RunDataScanRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::RunDataScanResponse >

virtual GetDataScanJob(google::cloud::dataplex::v1::GetDataScanJobRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::GetDataScanJobRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::DataScanJob >

virtual ListDataScanJobs(google::cloud::dataplex::v1::ListDataScanJobsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListDataScanJobsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::DataScanJob >

virtual GenerateDataQualityRules(google::cloud::dataplex::v1::GenerateDataQualityRulesRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::GenerateDataQualityRulesRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::GenerateDataQualityRulesResponse >