Stackdriver Monitoring V3 Client - Class Criteria (1.12.1)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class Criteria.

Criteria specific to the AlertPolicy s that this Snooze applies to. The Snooze will suppress alerts that come from one of the AlertPolicy s whose names are supplied.

Generated from protobuf message google.monitoring.v3.Snooze.Criteria

Namespace

Google \ Cloud \ Monitoring \ V3 \ Snooze

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ policies
array

The specific AlertPolicy names for the alert that should be snoozed. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per snooze. This limit is checked during snooze creation.

getPolicies

The specific AlertPolicy names for the alert that should be snoozed.

The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per snooze. This limit is checked during snooze creation.

Returns
Type
Description

setPolicies

The specific AlertPolicy names for the alert that should be snoozed.

The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per snooze. This limit is checked during snooze creation.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: