Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Hourly (v1.3.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Hourly.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#minute_offset

def minute_offset() -> ::Integer
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.

#minute_offset=

def minute_offset=(value) -> ::Integer
Parameter
  • value (::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.
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.

#periodicity

def periodicity() -> ::Integer
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.

#periodicity=

def periodicity=(value) -> ::Integer
Parameter
  • value (::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.
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.