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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/alert.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#count::Integer

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.



257
258
259
260
# File 'proto_docs/google/monitoring/v3/alert.rb', line 257

class Trigger
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#percent::Float

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.



257
258
259
260
# File 'proto_docs/google/monitoring/v3/alert.rb', line 257

class Trigger
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end