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

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 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.

Example

Load this service and instantiate a gRPC client

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