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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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.
Generated from protobuf field string query = 1;
Returns | |
---|---|
Type | Description |
string |
setQuery
Monitoring Query Language query that generates time series data and describes a condition for alerting on that data.
Generated from protobuf field string query = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSummary
A short explanation of what the query represents. For example: "Error ratio exceeds 15% for >5% of servers in >2 regions"
Generated from protobuf field string summary = 2;
Returns | |
---|---|
Type | Description |
string |
setSummary
A short explanation of what the query represents. For example: "Error ratio exceeds 15% for >5% of servers in >2 regions"
Generated from protobuf field string summary = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |