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."],[[["The `MetricsServiceV2Connection` object provides an interface for interacting with the `MetricsServiceV2Client` in the Google Cloud Logging API."],["This interface allows for customization and testing of the `MetricsServiceV2Client` by enabling the injection of custom behaviors, such as mock objects."],["The page provides access to documentation for multiple versions of the library, with version `2.37.0-rc` being the latest."],["The `MetricsServiceV2Connection` offers virtual methods for managing log metrics, such as creating, updating, getting, listing, and deleting log metrics, as well as methods for managing operations."],["A concrete instance of the connection can be made via the `MakeMetricsServiceV2Connection()` function, while the `logging_v2_mocks::MockMetricsServiceV2Connection` class is designed for mocking purposes."]]],[]]