This interface defines virtual methods for each of the user-facing overload sets in TraceServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TraceServiceClient.
[[["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 webpage provides documentation for the `TraceServiceConnection` class within the Google Cloud C++ client library, with the latest release candidate being version 2.37.0-rc."],["The `TraceServiceConnection` class interface defines virtual methods that mirror the user-facing overload sets found in `TraceServiceClient`, facilitating the injection of custom behavior for testing purposes."],["The page includes links to documentation for all of the previous versions down to version 2.11.0, with each version having their own `TraceServiceConnection` and `TraceServiceClient` class links."],["`MakeTraceServiceConnection()` can be used to create a concrete instance of `TraceServiceConnection`, and `trace_v2_mocks::MockTraceServiceConnection` can be used for mocking purposes."],["The page details the `options()`, `BatchWriteSpans()`, and `CreateSpan()` virtual functions within `TraceServiceConnection`, including their parameters and return types."]]],[]]