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 latest version of the Google Cloud Monitoring v3 API's \u003ccode\u003eAlertPolicyService\u003c/code\u003e is 3.15.0, and multiple previous versions, down to 2.3.0, are also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAlertPolicyService\u003c/code\u003e API manages alert policies in Cloud Monitoring, allowing users to define the conditions that trigger alerts and the methods used to notify people.\u003c/p\u003e\n"],["\u003cp\u003eAlert policies can be managed via the API or through the Cloud Monitoring interface in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAlertPolicyService\u003c/code\u003e class inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAlertPolicyService\u003c/code\u003e provides methods like \u003ccode\u003eBindService\u003c/code\u003e for creating service definitions and binding service methods to a service binder, which are essential for server-side handling logic.\u003c/p\u003e\n"]]],[],null,[]]