Class CloudChannelReportsServiceConnection (2.21.0)

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

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

Parameter
NameDescription
request google::cloud::channel::v1::RunReportJobRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::RunReportJobResponse > >

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

Parameter
NameDescription
request google::cloud::channel::v1::FetchReportResultsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Row >

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

Parameter
NameDescription
request google::cloud::channel::v1::ListReportsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Report >