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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-30 UTC."],[[["This webpage provides documentation for the `TraceServiceConnection` class within the Google Cloud C++ client library for version 2.15.1, which serves as an interface for the `TraceServiceClient`."],["The page lists available versions of the `TraceServiceConnection` class, ranging from the latest release candidate 2.37.0-rc down to version 2.11.0."],["`TraceServiceConnection` allows for the injection of custom behavior, using Google Mock objects, when testing `TraceServiceClient` objects."],["The `TraceServiceConnection` class interface defines virtual methods such as `BatchWriteSpans` and `CreateSpan` for interacting with the Trace service."],["It provides instructions on how to create a concrete instance using `MakeTraceServiceConnection()` or a mock version using `trace_v2_mocks::MockTraceServiceConnection`."]]],[]]