Class: Google::Monitoring::V3::AlertPolicy::Condition::Trigger

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb

Overview

Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a +1+ trigger is used.

Instance Attribute Summary collapse

Instance Attribute Details

#countInteger

Returns The absolute number of time series that must fail the predicate for the condition to be triggered.

Returns:

  • (Integer)

    The absolute number of time series that must fail the predicate for the condition to be triggered.



162
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb', line 162

class Trigger; end

#percentFloat

Returns The percentage of time series that must fail the predicate for the condition to be triggered.

Returns:

  • (Float)

    The percentage of time series that must fail the predicate for the condition to be triggered.



162
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb', line 162

class Trigger; end