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-21 UTC."],[[["This webpage provides documentation for the `MetricsServiceV2Connection` class, which serves as an interface for interacting with the `MetricsServiceV2Client` and allows for custom behavior injection, particularly useful for testing."],["The `MetricsServiceV2Connection` class includes virtual methods for common operations such as listing, getting, creating, updating, and deleting log metrics, as demonstrated by methods such as `ListLogMetrics`, `GetLogMetric`, `CreateLogMetric`, `UpdateLogMetric`, and `DeleteLogMetric`."],["The latest release candidate for this service is version 2.37.0-rc, with a list of previous versions dating back to version 2.11.0 available for reference, all the way down to the page version of 2.16.0."],["Users can create a concrete instance of `MetricsServiceV2Connection` using the `MakeMetricsServiceV2Connection()` function, while the `logging_v2_mocks::MockMetricsServiceV2Connection` class provides a way to mock this connection for testing purposes."]]],[]]