Class DataFusionConnection (2.26.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 CreateInstance(ExperimentalTag, NoAwaitTag, google::cloud::datafusion::v1::CreateInstanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::datafusion::v1::CreateInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateInstance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation 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 DeleteInstance(ExperimentalTag, NoAwaitTag, google::cloud::datafusion::v1::DeleteInstanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::datafusion::v1::DeleteInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteInstance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation 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 UpdateInstance(ExperimentalTag, NoAwaitTag, google::cloud::datafusion::v1::UpdateInstanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::datafusion::v1::UpdateInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateInstance(ExperimentalTag, google::longrunning::Operation const &)

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

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::datafusion::v1::RestartInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual RestartInstance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::datafusion::v1::Instance > >