Class AnalyticsServiceConnection (2.24.0)

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

To create a concrete instance, see MakeAnalyticsServiceConnection().

For mocking, see retail_v2_mocks::MockAnalyticsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ExportAnalyticsMetrics(google::cloud::retail::v2::ExportAnalyticsMetricsRequest const &)

Parameter
Name Description
request google::cloud::retail::v2::ExportAnalyticsMetricsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::retail::v2::ExportAnalyticsMetricsResponse > >