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 details the \u003ccode\u003eMetricsServiceV2Connection\u003c/code\u003e object, which is used with \u003ccode\u003eMetricsServiceV2Client\u003c/code\u003e for interacting with the Metrics Service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetricsServiceV2Connection\u003c/code\u003e interface allows the customization of behavior through the injection of custom objects, beneficial for testing, as well as being user facing.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes a list of available versions, from \u003ccode\u003e2.11.0\u003c/code\u003e up to \u003ccode\u003e2.37.0-rc\u003c/code\u003e (the latest), each linking to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eSeveral virtual functions are defined, including \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 details on their parameters and return types.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create an instance using \u003ccode\u003eMakeMetricsServiceV2Connection()\u003c/code\u003e or utilize \u003ccode\u003elogging_v2_mocks::MockMetricsServiceV2Connection\u003c/code\u003e for testing.\u003c/p\u003e\n"]]],[],null,[]]