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."],["The `MetricsServiceV2Connection` interface allows the customization of behavior through the injection of custom objects, beneficial for testing, as well as being user facing."],["The page includes a list of available versions, from `2.11.0` up to `2.37.0-rc` (the latest), each linking to their respective documentation."],["Several virtual functions are defined, including `ListLogMetrics`, `GetLogMetric`, `CreateLogMetric`, `UpdateLogMetric`, and `DeleteLogMetric`, with details on their parameters and return types."],["Users can create an instance using `MakeMetricsServiceV2Connection()` or utilize `logging_v2_mocks::MockMetricsServiceV2Connection` for testing."]]],[]]