Stackdriver Monitoring V3 Client - Class TimeSeriesQueryLanguageCondition (1.5.1)

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

A condition type that allows alert policies to be defined using Monitoring Query Language.

Generated from protobuf message google.monitoring.v3.AlertPolicy.Condition.TimeSeriesQueryLanguageCondition

Namespace

Google \ Cloud \ Monitoring \ V3 \ AlertPolicy \ Condition

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ query string

Monitoring Query Language query that generates time series data and describes a condition for alerting on that data.

↳ summary string

A short explanation of what the query represents. For example: "Error ratio exceeds 15% for >5% of servers in >2 regions"

getQuery

Monitoring Query Language query that generates time series data and describes a condition for alerting on that data.

Returns
TypeDescription
string

setQuery

Monitoring Query Language query that generates time series data and describes a condition for alerting on that data.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSummary

A short explanation of what the query represents. For example: "Error ratio exceeds 15% for >5% of servers in >2 regions"

Returns
TypeDescription
string

setSummary

A short explanation of what the query represents. For example: "Error ratio exceeds 15% for >5% of servers in >2 regions"

Parameter
NameDescription
var string
Returns
TypeDescription
$this