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-14 UTC."],[[["This page details the `ProfilerServiceConnection` object, which is utilized by `ProfilerServiceClient` in the context of Google Cloud Profiler v2."],["The `ProfilerServiceConnection` interface provides virtual methods corresponding to user-facing overload sets found in `ProfilerServiceClient`, enabling the injection of custom behaviors for testing purposes."],["The latest release candidate version is 2.37.0-rc, and the currently documented version is 2.14.0, with many other versions listed on the page."],["Methods like `CreateProfile`, `CreateOfflineProfile`, and `UpdateProfile` are available as virtual functions within the `ProfilerServiceConnection` interface, each accepting a request parameter and returning a `StatusOr` object."],["The `MakeProfilerServiceConnection()` function can be used to create a concrete instance of the connection, and `MockProfilerServiceConnection` is available for creating mock implementations."]]],[]]