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-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eTraceServiceConnection\u003c/code\u003e object, which is a core component for interacting with the \u003ccode\u003eTraceServiceClient\u003c/code\u003e in the Google Cloud Trace API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eTraceServiceConnection\u003c/code\u003e available is 2.37.0-rc, with a variety of previous versions spanning from 2.11.0 to 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eThis interface facilitates custom behavior injection, enabling users to integrate testing mocks, such as \u003ccode\u003eMockTraceServiceConnection\u003c/code\u003e, for enhanced testability of \u003ccode\u003eTraceServiceClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTraceServiceConnection\u003c/code\u003e interface defines virtual methods for interacting with the TraceService, including \u003ccode\u003eListTraces\u003c/code\u003e, \u003ccode\u003eGetTrace\u003c/code\u003e, and \u003ccode\u003ePatchTraces\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeTraceServiceConnection()\u003c/code\u003e function allows for creating concrete instances of the \u003ccode\u003eTraceServiceConnection\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]