This interface defines virtual methods for each of the user-facing overload sets in ProfilerServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ProfilerServiceClient.
[[["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-21 UTC."],[[["This page details the `ProfilerServiceConnection` object, which is part of the `ProfilerServiceClient` within version 2.12.0 of the C++ library for Google Cloud Profiler."],["It defines virtual methods for all user-facing overload sets in `ProfilerServiceClient`, allowing for custom behavior injection, particularly in testing environments."],["The latest release of the library is 2.37.0-rc, with versions from 2.11.0 up to that point available for browsing."],["The page lists virtual methods such as `CreateProfile`, `CreateOfflineProfile`, and `UpdateProfile`, each handling specific request types and returning a `StatusOr\u003cgoogle::devtools::cloudprofiler::v2::Profile\u003e`."],["The `MakeProfilerServiceConnection()` function and `profiler_v2_mocks::MockProfilerServiceConnection` class are provided for concrete instance creation and mocking, respectively."]]],[]]