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-07-09 UTC."],[[["This webpage details the `MetricsServiceV2Connection` object, which is used with `MetricsServiceV2Client` for interacting with Google Cloud Logging metrics."],["The `MetricsServiceV2Connection` provides virtual methods that mirror the user-facing overload sets in `MetricsServiceV2Client`, enabling custom behavior injection, especially useful for testing purposes."],["Users can find information to create a concrete instance of this object using the `MakeMetricsServiceV2Connection()` function."],["For testing and mocking, the page provides a reference to `logging_v2_mocks::MockMetricsServiceV2Connection`, which is useful for testing."],["The page contains versioned links to documentation for `MetricsServiceV2Connection`, ranging from the latest release candidate 2.37.0-rc down to version 2.11.0."]]],[]]