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 Cloud Logging Metrics API."],["The interface provides virtual methods corresponding to the user-facing overload sets found in `MetricsServiceV2Client`, making it useful for injecting custom behaviors during testing."],["You can create a concrete implementation of `MetricsServiceV2Connection` using the `MakeMetricsServiceV2Connection()` function, or use the mock version with `logging_v2_mocks::MockMetricsServiceV2Connection` for testing."],["The page lists multiple previous versions, ranging from the latest release candidate (`2.37.0-rc`) to `2.11.0`, with links to the documentation for each."],["The page also has a list of functions, such as options(), ListLogMetrics, GetLogMetric, CreateLogMetric, UpdateLogMetric and DeleteLogMetric, which are virtual methods, and details what each parameter and return type is."]]],[]]