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"]],[["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 webpage details the `MetricsServiceV2Connection` object, which is used with `MetricsServiceV2Client` for interacting with the Metrics Service."],["`MetricsServiceV2Connection` defines virtual methods mirroring the user-facing overloads in `MetricsServiceV2Client`, allowing for custom behavior injection during testing."],["The `MakeMetricsServiceV2Connection()` function can be used to create a concrete instance of this class."],["For mocking purposes, `logging_v2_mocks::MockMetricsServiceV2Connection` provides a mock implementation of the connection."],["The page also has links to documentation for version ranging from 2.11.0 up to 2.37.0-rc, with the current page focusing on version 2.30.0."]]],[]]