Class: Google::Apis::MonitoringV1::Parameter
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::Parameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb
Overview
Preview: Parameter value applied to the aggregation function. This is a preview feature and may be subject to change before final release.
Instance Attribute Summary collapse
-
#double_value ⇒ Float
A floating-point parameter value.
-
#int_value ⇒ Fixnum
An integer parameter value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Parameter
constructor
A new instance of Parameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Parameter
Returns a new instance of Parameter.
1444 1445 1446 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
A floating-point parameter value.
Corresponds to the JSON property doubleValue
1437 1438 1439 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1437 def double_value @double_value end |
#int_value ⇒ Fixnum
An integer parameter value.
Corresponds to the JSON property intValue
1442 1443 1444 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1442 def int_value @int_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1449 1450 1451 1452 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1449 def update!(**args) @double_value = args[:double_value] if args.key?(:double_value) @int_value = args[:int_value] if args.key?(:int_value) end |