Class DataplexServiceConnection (2.23.0)

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

To create a concrete instance, see MakeDataplexServiceConnection().

For mocking, see dataplex_v1_mocks::MockDataplexServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateLake(google::cloud::dataplex::v1::CreateLakeRequest const &)

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

virtual UpdateLake(google::cloud::dataplex::v1::UpdateLakeRequest const &)

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

virtual DeleteLake(google::cloud::dataplex::v1::DeleteLakeRequest const &)

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

virtual ListLakes(google::cloud::dataplex::v1::ListLakesRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListLakesRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Lake >

virtual GetLake(google::cloud::dataplex::v1::GetLakeRequest const &)

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

virtual ListLakeActions(google::cloud::dataplex::v1::ListLakeActionsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListLakeActionsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Action >

virtual CreateZone(google::cloud::dataplex::v1::CreateZoneRequest const &)

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

virtual UpdateZone(google::cloud::dataplex::v1::UpdateZoneRequest const &)

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

virtual DeleteZone(google::cloud::dataplex::v1::DeleteZoneRequest const &)

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

virtual ListZones(google::cloud::dataplex::v1::ListZonesRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListZonesRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Zone >

virtual GetZone(google::cloud::dataplex::v1::GetZoneRequest const &)

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

virtual ListZoneActions(google::cloud::dataplex::v1::ListZoneActionsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListZoneActionsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Action >

virtual CreateAsset(google::cloud::dataplex::v1::CreateAssetRequest const &)

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

virtual UpdateAsset(google::cloud::dataplex::v1::UpdateAssetRequest const &)

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

virtual DeleteAsset(google::cloud::dataplex::v1::DeleteAssetRequest const &)

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

virtual ListAssets(google::cloud::dataplex::v1::ListAssetsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListAssetsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Asset >

virtual GetAsset(google::cloud::dataplex::v1::GetAssetRequest const &)

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

virtual ListAssetActions(google::cloud::dataplex::v1::ListAssetActionsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListAssetActionsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Action >

virtual CreateTask(google::cloud::dataplex::v1::CreateTaskRequest const &)

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

virtual UpdateTask(google::cloud::dataplex::v1::UpdateTaskRequest const &)

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

virtual DeleteTask(google::cloud::dataplex::v1::DeleteTaskRequest const &)

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

virtual ListTasks(google::cloud::dataplex::v1::ListTasksRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListTasksRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Task >

virtual GetTask(google::cloud::dataplex::v1::GetTaskRequest const &)

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

virtual ListJobs(google::cloud::dataplex::v1::ListJobsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListJobsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Job >

virtual RunTask(google::cloud::dataplex::v1::RunTaskRequest const &)

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

virtual GetJob(google::cloud::dataplex::v1::GetJobRequest const &)

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

virtual CancelJob(google::cloud::dataplex::v1::CancelJobRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::CancelJobRequest const &
Returns
Type Description
Status

virtual CreateEnvironment(google::cloud::dataplex::v1::CreateEnvironmentRequest const &)

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

virtual UpdateEnvironment(google::cloud::dataplex::v1::UpdateEnvironmentRequest const &)

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

virtual DeleteEnvironment(google::cloud::dataplex::v1::DeleteEnvironmentRequest const &)

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

virtual ListEnvironments(google::cloud::dataplex::v1::ListEnvironmentsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListEnvironmentsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Environment >

virtual GetEnvironment(google::cloud::dataplex::v1::GetEnvironmentRequest const &)

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

virtual ListSessions(google::cloud::dataplex::v1::ListSessionsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListSessionsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Session >