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 details the `TraceServiceConnection` object, which is crucial for interacting with the `TraceServiceClient` in the Google Cloud Trace v1 API."],["The `TraceServiceConnection` interface defines virtual methods mirroring the user-facing overload sets found in `TraceServiceClient`, facilitating custom behavior injection during testing."],["Users can create a tangible instance of `TraceServiceConnection` through `MakeTraceServiceConnection()`, and for mocking purposes, `trace_v1_mocks::MockTraceServiceConnection` is available."],["The `TraceServiceConnection` interface provides virtual functions such as `options()`, `ListTraces()`, `GetTrace()`, and `PatchTraces()` to manage various aspects of trace data retrieval and manipulation."]]],[]]