This interface defines virtual methods for each of the user-facing overload sets in AlertPolicyServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AlertPolicyServiceClient.
[[["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-06-12 UTC."],[[["This webpage details the `AlertPolicyServiceConnection` class, which offers virtual methods corresponding to each user-facing overload set in `AlertPolicyServiceClient`."],["The latest version of the `AlertPolicyServiceConnection` documentation is for version 2.37.0-rc, with many previous versions down to 2.11.0 also available."],["`AlertPolicyServiceConnection` facilitates custom behavior injection for testing purposes, including with Google Mock objects, when working with `AlertPolicyServiceClient`."],["The page outlines the virtual functions provided, such as `ListAlertPolicies`, `GetAlertPolicy`, `CreateAlertPolicy`, `DeleteAlertPolicy`, and `UpdateAlertPolicy`, detailing their parameters and return types."],["Users can create a concrete instance of this class by using the function `MakeAlertPolicyServiceConnection()`, and can refer to `monitoring_v3_mocks::MockAlertPolicyServiceConnection` for mocking purposes."]]],[]]