Class CloudChannelReportsServiceConnection (2.15.1)

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

To create a concrete instance, see MakeCloudChannelReportsServiceConnection().

For mocking, see channel_v1_mocks::MockCloudChannelReportsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual RunReportJob(google::cloud::channel::v1::RunReportJobRequest const &)

Parameter
Name Description
request google::cloud::channel::v1::RunReportJobRequest const &
Returns
Type Description
future< StatusOr< google::cloud::channel::v1::RunReportJobResponse > >

virtual FetchReportResults(google::cloud::channel::v1::FetchReportResultsRequest)

Parameter
Name Description
request google::cloud::channel::v1::FetchReportResultsRequest
Returns
Type Description
StreamRange< google::cloud::channel::v1::Row >

virtual ListReports(google::cloud::channel::v1::ListReportsRequest)

Parameter
Name Description
request google::cloud::channel::v1::ListReportsRequest
Returns
Type Description
StreamRange< google::cloud::channel::v1::Report >