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-21 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."]]],[]]