This interface defines virtual methods for each of the user-facing overload sets in MetricsServiceV2Client. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type MetricsServiceV2Client.
[[["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 provides documentation for the \u003ccode\u003eMetricsServiceV2Connection\u003c/code\u003e class, which is used in conjunction with \u003ccode\u003eMetricsServiceV2Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetricsServiceV2Connection\u003c/code\u003e class allows for the injection of custom behavior when testing objects of type \u003ccode\u003eMetricsServiceV2Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available on the webpage is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and it documents versions back to \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetricsServiceV2Connection\u003c/code\u003e class defines virtual methods for various operations, such as \u003ccode\u003eListLogMetrics\u003c/code\u003e, \u003ccode\u003eGetLogMetric\u003c/code\u003e, \u003ccode\u003eCreateLogMetric\u003c/code\u003e, \u003ccode\u003eUpdateLogMetric\u003c/code\u003e, and \u003ccode\u003eDeleteLogMetric\u003c/code\u003e, with specific request and response types.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeMetricsServiceV2Connection()\u003c/code\u003e is the method to be used for creating a concrete instance of \u003ccode\u003eMetricsServiceV2Connection\u003c/code\u003e, while \u003ccode\u003eMockMetricsServiceV2Connection\u003c/code\u003e is used for mocking.\u003c/p\u003e\n"]]],[],null,[]]