Stackdriver Monitoring V3 Client - Class AlertPolicyServiceClient (1.11.1)

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 through Cloud Monitoring, which can be reached by clicking the "Monitoring" tab in Cloud 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.

Parameter
Name Description
project string
Returns
Type Description
string The formatted project resource.