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.
3247 3248 3249 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#periodicity ⇒ Fixnum
Required. Number of minutes between runs. The interval must be greater than or
equal to 5 minutes and less than or equal to 1440 minutes.
Corresponds to the JSON property periodicity
3245 3246 3247 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3245 def periodicity @periodicity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3252 3253 3254 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3252 def update!(**args) @periodicity = args[:periodicity] if args.key?(:periodicity) end |