This interface defines virtual methods for each of the user-facing overload sets in MetricServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type MetricServiceClient.
[[["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-07-09 UTC."],[[["This webpage details the `MetricServiceConnection` class, which provides an interface for virtual methods corresponding to each user-facing overload set in `MetricServiceClient`."],["The latest version available is `2.37.0-rc`, with a list of previous versions available for review down to version `2.11.0` included on the page."],["`MetricServiceConnection` allows for custom behavior injection, such as using a Google Mock object for testing purposes, offering flexibility in development and testing."],["The class includes functions for operations such as listing, getting, creating, and deleting metric descriptors, along with time series management and other monitoring operations."],["There is also a function to `AsyncCreateTimeSeries`, allowing for asynchronous creation of time series data."]]],[]]