Reference documentation and code samples for the Stackdriver Monitoring V3 Client class AlertPolicyServiceClient.
Service Description: 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 throughCloud Monitoring,
which can be reached by clicking the "Monitoring" tab inCloud console.
Namespace
Google \ Cloud \ Monitoring \ V3
Methods
static::alertPolicyConditionName
Formats a string containing the fully-qualified path to represent
a alert_policy_condition resource.
Parameters
Name
Description
project
string
alertPolicy
string
condition
string
Returns
Type
Description
string
The formatted alert_policy_condition resource.
static::projectName
Formats a string containing the fully-qualified path to represent
a project resource.
[[["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-09-04 UTC."],[],[],null,[]]