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 details the `MetricsServiceV2Connection` object, which is used with the `MetricsServiceV2Client` for interacting with logging metrics."],["The `MetricsServiceV2Connection` interface provides virtual methods that mirror the user-facing overload sets in `MetricsServiceV2Client`, enabling custom behavior injection, such as with Google Mock objects, for testing purposes."],["The documentation lists several versions of the `MetricsServiceV2Connection` object ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc."],["The `MetricsServiceV2Connection` interface includes functions such as `ListLogMetrics`, `GetLogMetric`, `CreateLogMetric`, `UpdateLogMetric`, and `DeleteLogMetric`, each handling a specific logging metric operation."],["You can create a concrete instance using `MakeMetricsServiceV2Connection()`, or for testing mock it with `logging_v2_mocks::MockMetricsServiceV2Connection`."]]],[]]