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."],[[["The webpage provides documentation for the `TraceServiceConnection` class within the Google Cloud C++ client library, specifically for version 2.11.0."],["This class is an interface that defines virtual methods, matching the user-facing overloads in `TraceServiceClient`, enabling users to inject custom behavior for testing purposes."],["The page lists multiple versions of the `TraceServiceConnection` class, with 2.37.0-rc being the most recent, and it provides links to the documentation for each version."],["The page also details the `BatchWriteSpans` and `CreateSpan` functions within the `TraceServiceConnection` interface, specifying their parameters, return types, and the required request objects."],["The provided content explains that to create an instance, use `MakeTraceServiceConnection()`, and for mocking, utilize `trace_v2_mocks::MockTraceServiceConnection`."]]],[]]