Class: Google::Apis::MonitoringV3::Minutes
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::Minutes
- 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
Used to schedule the query to run every so many minutes.
Instance Attribute Summary collapse
-
#periodicity ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Minutes
constructor
A new instance of Minutes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Minutes
Returns a new instance of Minutes.
3243 3244 3245 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#periodicity ⇒ Fixnum
Required. LINT.IfChange Number of minutes between runs. The interval must be
between 5 minutes and 1440 minutes. LINT.ThenChange(//depot/google3/cloud/
monitoring/api/alerts/policy_validation.cc)
Corresponds to the JSON property periodicity
3241 3242 3243 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3241 def periodicity @periodicity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3248 3249 3250 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3248 def update!(**args) @periodicity = args[:periodicity] if args.key?(:periodicity) end |