Class: Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Hourly

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

Overview

Used to schedule the query to run every so many hours.

Instance Attribute Summary collapse

Instance Attribute Details

#minute_offset::Integer

Returns Optional. The number of minutes after the hour (in UTC) to run the query. Must be greater than or equal to 0 minutes and less than or equal to 59 minutes. If left unspecified, then an arbitrary offset is used.

Returns:

  • (::Integer)

    Optional. The number of minutes after the hour (in UTC) to run the query. Must be greater than or equal to 0 minutes and less than or equal to 59 minutes. If left unspecified, then an arbitrary offset is used.



677
678
679
680
# File 'proto_docs/google/monitoring/v3/alert.rb', line 677

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

#periodicity::Integer

Returns Required. The number of hours between runs. Must be greater than or equal to 1 hour and less than or equal to 48 hours.

Returns:

  • (::Integer)

    Required. The number of hours between runs. Must be greater than or equal to 1 hour and less than or equal to 48 hours.



677
678
679
680
# File 'proto_docs/google/monitoring/v3/alert.rb', line 677

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