Class DataScanServiceConnection (2.31.0-rc)

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 CreateDataScan(NoAwaitTag, google::cloud::dataplex::v1::CreateDataScanRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::CreateDataScanRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateDataScan(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 UpdateDataScan(NoAwaitTag, google::cloud::dataplex::v1::UpdateDataScanRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::UpdateDataScanRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateDataScan(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 DeleteDataScan(NoAwaitTag, google::cloud::dataplex::v1::DeleteDataScanRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::DeleteDataScanRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteDataScan(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status