Class TimeseriesInsightsControllerConnection (2.17.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::ListDataSetsRequest
Returns
Type Description
StreamRange< google::cloud::timeseriesinsights::v1::DataSet >

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::CreateDataSetRequest const &
Returns
Type Description
StatusOr< google::cloud::timeseriesinsights::v1::DataSet >

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::DeleteDataSetRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::AppendEventsRequest const &
Returns
Type Description
StatusOr< google::cloud::timeseriesinsights::v1::AppendEventsResponse >

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::QueryDataSetRequest const &
Returns
Type Description
StatusOr< google::cloud::timeseriesinsights::v1::QueryDataSetResponse >

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::EvaluateSliceRequest const &
Returns
Type Description
StatusOr< google::cloud::timeseriesinsights::v1::EvaluatedSlice >

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

Parameter
Name Description
request google::cloud::timeseriesinsights::v1::EvaluateTimeseriesRequest const &
Returns
Type Description
StatusOr< google::cloud::timeseriesinsights::v1::EvaluatedSlice >