Class TimeseriesInsightsControllerConnection (2.19.0)

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

To create a concrete instance, see MakeTimeseriesInsightsControllerConnection().

For mocking, see timeseriesinsights_v1_mocks::MockTimeseriesInsightsControllerConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListDataSets(google::cloud::timeseriesinsights::v1::ListDataSetsRequest)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::ListDataSetsRequest
Returns
TypeDescription
StreamRange< google::cloud::timeseriesinsights::v1::DataSet >

virtual CreateDataSet(google::cloud::timeseriesinsights::v1::CreateDataSetRequest const &)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::CreateDataSetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::timeseriesinsights::v1::DataSet >

virtual DeleteDataSet(google::cloud::timeseriesinsights::v1::DeleteDataSetRequest const &)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::DeleteDataSetRequest const &
Returns
TypeDescription
Status

virtual AppendEvents(google::cloud::timeseriesinsights::v1::AppendEventsRequest const &)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::AppendEventsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::timeseriesinsights::v1::AppendEventsResponse >

virtual QueryDataSet(google::cloud::timeseriesinsights::v1::QueryDataSetRequest const &)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::QueryDataSetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::timeseriesinsights::v1::QueryDataSetResponse >

virtual EvaluateSlice(google::cloud::timeseriesinsights::v1::EvaluateSliceRequest const &)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::EvaluateSliceRequest const &
Returns
TypeDescription
StatusOr< google::cloud::timeseriesinsights::v1::EvaluatedSlice >

virtual EvaluateTimeseries(google::cloud::timeseriesinsights::v1::EvaluateTimeseriesRequest const &)

Parameter
NameDescription
request google::cloud::timeseriesinsights::v1::EvaluateTimeseriesRequest const &
Returns
TypeDescription
StatusOr< google::cloud::timeseriesinsights::v1::EvaluatedSlice >