Class: Google::Apis::MonitoringV3::BooleanTest
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::BooleanTest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
A test that uses an alerting result in a boolean column produced by the SQL query.
Instance Attribute Summary collapse
-
#column ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BooleanTest
constructor
A new instance of BooleanTest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BooleanTest
Returns a new instance of BooleanTest.
462 463 464 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ String
Required. The name of the column containing the boolean value. If the value in
a row is NULL, that row is ignored.
Corresponds to the JSON property column
460 461 462 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 460 def column @column end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
467 468 469 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 467 def update!(**args) @column = args[:column] if args.key?(:column) end |