SqlCondition class
A condition that allows alerting policies to be defined using GoogleSQL.
SQL conditions examine a sliding window of logs using GoogleSQL. Alert policies with SQL conditions may incur additional billing.
Constructors
- SqlCondition.new({BooleanTest? booleanTest, Daily? daily, Hourly? hourly, Minutes? minutes, String? query, RowCountTest? rowCountTest})
- SqlCondition.fromJson(Map json_)
Properties
- booleanTest ↔ BooleanTest?
-
Test the boolean value in the indicated column.
getter/setter pair
- daily ↔ Daily?
-
Schedule the query to execute every so many days.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hourly ↔ Hourly?
-
Schedule the query to execute every so many hours.
getter/setter pair
- minutes ↔ Minutes?
-
Schedule the query to execute every so many minutes.
getter/setter pair
- query ↔ String?
-
The Log Analytics SQL query to run, as a string.
getter/setter pair
- rowCountTest ↔ RowCountTest?
-
Test the row count against a threshold.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited