Class DataFusionConnection (2.16.0)

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

To create a concrete instance, see MakeDataFusionConnection().

For mocking, see datafusion_v1_mocks::MockDataFusionConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListAvailableVersions(google::cloud::datafusion::v1::ListAvailableVersionsRequest)

Parameter
Name Description
request google::cloud::datafusion::v1::ListAvailableVersionsRequest
Returns
Type Description
StreamRange< google::cloud::datafusion::v1::Version >

virtual ListInstances(google::cloud::datafusion::v1::ListInstancesRequest)

Parameter
Name Description
request google::cloud::datafusion::v1::ListInstancesRequest
Returns
Type Description
StreamRange< google::cloud::datafusion::v1::Instance >

virtual GetInstance(google::cloud::datafusion::v1::GetInstanceRequest const &)

Parameter
Name Description
request google::cloud::datafusion::v1::GetInstanceRequest const &
Returns
Type Description
StatusOr< google::cloud::datafusion::v1::Instance >

virtual CreateInstance(google::cloud::datafusion::v1::CreateInstanceRequest const &)

Parameter
Name Description
request google::cloud::datafusion::v1::CreateInstanceRequest const &
Returns
Type Description
future< StatusOr< google::cloud::datafusion::v1::Instance > >

virtual DeleteInstance(google::cloud::datafusion::v1::DeleteInstanceRequest const &)

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

virtual UpdateInstance(google::cloud::datafusion::v1::UpdateInstanceRequest const &)

Parameter
Name Description
request google::cloud::datafusion::v1::UpdateInstanceRequest const &
Returns
Type Description
future< StatusOr< google::cloud::datafusion::v1::Instance > >

virtual RestartInstance(google::cloud::datafusion::v1::RestartInstanceRequest const &)

Parameter
Name Description
request google::cloud::datafusion::v1::RestartInstanceRequest const &
Returns
Type Description
future< StatusOr< google::cloud::datafusion::v1::Instance > >