Class DataFusionConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::datafusion::v1::ListAvailableVersionsRequest
Returns
TypeDescription
StreamRange< google::cloud::datafusion::v1::Version >

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

Parameter
NameDescription
request google::cloud::datafusion::v1::ListInstancesRequest
Returns
TypeDescription
StreamRange< google::cloud::datafusion::v1::Instance >

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

Parameter
NameDescription
request google::cloud::datafusion::v1::GetInstanceRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datafusion::v1::Instance >

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

Parameter
NameDescription
request google::cloud::datafusion::v1::CreateInstanceRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datafusion::v1::Instance > >

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

Parameter
NameDescription
request google::cloud::datafusion::v1::DeleteInstanceRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datafusion::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::datafusion::v1::UpdateInstanceRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datafusion::v1::Instance > >

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

Parameter
NameDescription
request google::cloud::datafusion::v1::RestartInstanceRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datafusion::v1::Instance > >