This interface defines virtual methods for each of the user-facing overload sets in MetricsScopesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type MetricsScopesClient.
[[["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-05-07 UTC."],[[["This document details the `MetricsScopesConnection` object, which interfaces with the `MetricsScopesClient` in the Google Cloud Monitoring API."],["The latest version available is `2.37.0-rc`, while the current page's version is `2.28.0`, and this page lists all the available version references from the latest to `2.11.0`."],["`MetricsScopesConnection` allows for custom behavior injection during testing, such as using a Google Mock object."],["This object defines virtual methods, such as `GetMetricsScope`, `ListMetricsScopesByMonitoredProject`, `CreateMonitoredProject`, and `DeleteMonitoredProject`, each with parameters and return types."],["To instantiate a concrete instance of this object, one must use the `MakeMetricsScopesConnection()` method, and for mocking purposes, use `monitoring_metricsscope_v1_mocks::MockMetricsScopesConnection`."]]],[]]