Class QueryServiceConnection (2.23.0)

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

To create a concrete instance, see MakeQueryServiceConnection().

For mocking, see monitoring_v3_mocks::MockQueryServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual QueryTimeSeries(google::monitoring::v3::QueryTimeSeriesRequest)

Parameter
Name Description
request google::monitoring::v3::QueryTimeSeriesRequest
Returns
Type Description
StreamRange< google::monitoring::v3::TimeSeriesData >