AlertPolicyConditionConditionSqlRowCountTest class

Constructors

AlertPolicyConditionConditionSqlRowCountTest({required Input<String> comparison, required Input<int> threshold})
Creates a new AlertPolicyConditionConditionSqlRowCountTest. comparison The comparison to apply between the time series threshold The value against which to compare the row count.
const
AlertPolicyConditionConditionSqlRowCountTest.fromMap(Map<String, dynamic> map)
factory

Properties

comparison → Input<String>
The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side. The Cloud Monitoring API only supports COMPARISON_LT and COMPARISON_GT for SQL row-count thresholds; the other values are kept in the schema for backward compatibility with imported state but will be rejected by the API. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies#MetricThreshold. Possible values are: COMPARISON_GT, COMPARISON_GE, COMPARISON_LT, COMPARISON_LE, COMPARISON_EQ, COMPARISON_NE.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
threshold → Input<int>
The value against which to compare the row count.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited