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-26 UTC."],[[["This webpage provides documentation for the `TraceServiceConnection` class, which is part of the Google Cloud Trace API for C++."],["The `TraceServiceConnection` object defines virtual methods corresponding to user-facing overload sets found in `TraceServiceClient`, enabling custom behavior injection during testing."],["The latest release candidate version for this API is 2.37.0-rc, and there are many documented versions ranging from 2.11.0 up to 2.36.0."],["The documentation includes details on how to create a concrete `TraceServiceConnection` instance using `MakeTraceServiceConnection()`, and how to use `MockTraceServiceConnection` for mocking purposes."],["The documented functions within the `TraceServiceConnection` class include `options()`, `BatchWriteSpans()`, and `CreateSpan()`."]]],[]]