Reference documentation and code samples for the Google Cloud Monitoring v3 API class AlertPolicyService.
The AlertPolicyService API is used to manage (list, create, delete,
edit) alert policies in Cloud Monitoring. An alerting policy is
a description of the conditions under which some aspect of your
system is considered to be "unhealthy" and the ways to notify
people or services about this state. In addition to using this API, alert
policies can also be managed through
Cloud Monitoring,
which can be reached by clicking the "Monitoring" tab in
Cloud console.
public static void BindService(ServiceBinderBase serviceBinder, AlertPolicyService.AlertPolicyServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAlertPolicyService\u003c/code\u003e API within Google Cloud Monitoring v3 is used for managing alert policies, such as listing, creating, deleting, and editing them, which define when a system is considered unhealthy and how to send notifications.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides reference information and code samples for the \u003ccode\u003eAlertPolicyService\u003c/code\u003e class, including details about its methods like \u003ccode\u003eBindService\u003c/code\u003e, within the \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.15.0, while the current documentation is for version 3.8.0, and a range of versions from 2.3.0 to 3.14.0 are also listed with their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods allow for creating a service definition or binding service methods, which is crucial for server-side handling logic of alert policies, with two different versions of the method depending on the use case.\u003c/p\u003e\n"],["\u003cp\u003eYou can access and manage alert policies through this API or the Cloud Monitoring interface in the Cloud Console.\u003c/p\u003e\n"]]],[],null,[]]