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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This page provides documentation for the `ExportServiceConnection` class within the Google Cloud Profiler v2 C++ library, covering versions from 2.11.0 up to the latest release candidate 2.37.0-rc."],["`ExportServiceConnection` defines the interface for virtual methods used by the `ExportServiceClient`, enabling users to inject custom behaviors, such as mocking, for testing purposes."],["The page documents the `ListProfiles` function, which takes a `google::devtools::cloudprofiler::v2::ListProfilesRequest` as a parameter and returns a `StreamRange` of `google::devtools::cloudprofiler::v2::Profile`."],["Instructions for creating a concrete instance of `ExportServiceConnection` are provided, referring users to the `MakeExportServiceConnection()` function."],["For those looking to create mocks for testing, the `profiler_v2_mocks::MockExportServiceConnection` class is specifically mentioned and linked."]]],[]]