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."],[[["This page provides documentation for the `TraceServiceConnection` object, which is used with `TraceServiceClient` to interact with the Cloud Trace service."],["The `TraceServiceConnection` interface defines virtual methods mirroring those in `TraceServiceClient`, allowing for custom behavior injection during testing."],["The latest version available is 2.37.0-rc, and this page lists available documentation for versions ranging from 2.11.0 up to that version, including the active 2.29.0 version."],["The documentation provides information on creating a concrete instance of `TraceServiceConnection` using `MakeTraceServiceConnection()` and mocking it using `MockTraceServiceConnection`."],["It outlines the methods `options()`, `ListTraces()`, `GetTrace()` and `PatchTraces()` found in the `TraceServiceConnection` object, as well as their parameters and return values."]]],[]]