Class: Google::Apis::MonitoringV3::NotificationRateLimit
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::NotificationRateLimit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
Control over the rate of notifications sent to this alerting policy's notification channels.
Instance Attribute Summary collapse
-
#period ⇒ String
Not more than one notification per period.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotificationRateLimit
constructor
A new instance of NotificationRateLimit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotificationRateLimit
Returns a new instance of NotificationRateLimit.
3689 3690 3691 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#period ⇒ String
Not more than one notification per period.
Corresponds to the JSON property period
3687 3688 3689 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3687 def period @period end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3694 3695 3696 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3694 def update!(**args) @period = args[:period] if args.key?(:period) end |