Class ExportServiceConnection (2.27.0)

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

To create a concrete instance, see MakeExportServiceConnection().

For mocking, see profiler_v2_mocks::MockExportServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListProfiles(google::devtools::cloudprofiler::v2::ListProfilesRequest)

Parameter
Name Description
request google::devtools::cloudprofiler::v2::ListProfilesRequest
Returns
Type Description
StreamRange< google::devtools::cloudprofiler::v2::Profile >