Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::AlertPolicyService (v0.8.0)

Reference documentation and code samples for the Cloud Monitoring V3 API module Google::Cloud::Monitoring::V3::AlertPolicyService.

The AlertPolicyService API is used to manage (list, create, delete, edit) alert policies in Stackdriver 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 Stackdriver Monitoring, which can be reached by clicking the "Monitoring" tab in Cloud Console.

To load this service and instantiate a client:

require "google/cloud/monitoring/v3/alert_policy_service"
client = ::Google::Cloud::Monitoring::V3::AlertPolicyService::Client.new