Class CloudChannelReportsServiceConnection (2.31.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
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 RunReportJob(NoAwaitTag, google::cloud::channel::v1::RunReportJobRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::channel::v1::RunReportJobRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual RunReportJob(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status