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, which is part of the Google Cloud Trace API, specifically within the C++ library."],["The content lists various versions of the `TraceServiceConnection` class, ranging from the latest release candidate (2.37.0-rc) down to version 2.11.0, with links to each version's documentation."],["`TraceServiceConnection` defines virtual methods mirroring those found in `TraceServiceClient`, enabling users to inject custom behaviors for testing purposes."],["The page also details how to create a concrete instance of `TraceServiceConnection` using `MakeTraceServiceConnection()`, and how to mock it with `trace_v2_mocks::MockTraceServiceConnection`."],["The `TraceServiceConnection` has two main functions, `BatchWriteSpans`, for writing multiple spans at once, and `CreateSpan` for writing single spans, each detailed with parameters and return types."]]],[]]