Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::AlertPolicy::Condition::Trigger.
Specifies how many time series must fail a predicate to trigger a
condition. If not specified, then a {count: 1}
trigger is used.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#count
def count() -> ::Integer
-
(::Integer) — The absolute number of time series that must fail
the predicate for the condition to be triggered.
Note: The following fields are mutually exclusive:
count
,percent
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#count=
def count=(value) -> ::Integer
-
value (::Integer) — The absolute number of time series that must fail
the predicate for the condition to be triggered.
Note: The following fields are mutually exclusive:
count
,percent
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — The absolute number of time series that must fail
the predicate for the condition to be triggered.
Note: The following fields are mutually exclusive:
count
,percent
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#percent
def percent() -> ::Float
-
(::Float) — The percentage of time series that must fail the
predicate for the condition to be triggered.
Note: The following fields are mutually exclusive:
percent
,count
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#percent=
def percent=(value) -> ::Float
-
value (::Float) — The percentage of time series that must fail the
predicate for the condition to be triggered.
Note: The following fields are mutually exclusive:
percent
,count
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — The percentage of time series that must fail the
predicate for the condition to be triggered.
Note: The following fields are mutually exclusive:
percent
,count
. If a field in that set is populated, all other fields in the set will automatically be cleared.