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 page provides documentation for the `TraceServiceConnection` class within the Google Cloud C++ client library for Trace, detailing its role in defining virtual methods for the `TraceServiceClient`."],["The latest version is 2.37.0-rc, and the page lists multiple available versions, ranging from 2.37.0-rc down to 2.11.0, each linked to its respective documentation."],["`TraceServiceConnection` allows users to inject custom behavior for testing `TraceServiceClient` objects, especially useful when mocking with tools like Google Mock."],["The page outlines the functions `BatchWriteSpans` and `CreateSpan` as part of the `TraceServiceConnection`, and further explains how to create an instance, or refer to mocking."],["The page contains a `virtual options()` function that returns an `Options` type, but does not have a given parameter."]]],[]]