Class QueryServiceConnection (2.16.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::monitoring::v3::QueryTimeSeriesRequest
Returns
TypeDescription
StreamRange< google::monitoring::v3::TimeSeriesData >