Class: TencentCloud::Monitor::V20180724::IntegrationMetric
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::IntegrationMetric
- Defined in:
- lib/v20180724/models.rb
Overview
prometheus集成指标详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(metricname = nil, name = nil, metrictype = nil, unit = nil, description = nil) ⇒ IntegrationMetric
constructor
A new instance of IntegrationMetric.
Constructor Details
#initialize(metricname = nil, name = nil, metrictype = nil, unit = nil, description = nil) ⇒ IntegrationMetric
Returns a new instance of IntegrationMetric.
10858 10859 10860 10861 10862 10863 10864 |
# File 'lib/v20180724/models.rb', line 10858 def initialize(metricname=nil, name=nil, metrictype=nil, unit=nil, description=nil) @MetricName = metricname @Name = name @MetricType = metrictype @Unit = unit @Description = description end |
Instance Attribute Details
#Description ⇒ Object
10856 10857 10858 |
# File 'lib/v20180724/models.rb', line 10856 def Description @Description end |
#MetricName ⇒ Object
10856 10857 10858 |
# File 'lib/v20180724/models.rb', line 10856 def MetricName @MetricName end |
#MetricType ⇒ Object
10856 10857 10858 |
# File 'lib/v20180724/models.rb', line 10856 def MetricType @MetricType end |
#Name ⇒ Object
10856 10857 10858 |
# File 'lib/v20180724/models.rb', line 10856 def Name @Name end |
#Unit ⇒ Object
10856 10857 10858 |
# File 'lib/v20180724/models.rb', line 10856 def Unit @Unit end |
Instance Method Details
#deserialize(params) ⇒ Object
10866 10867 10868 10869 10870 10871 10872 |
# File 'lib/v20180724/models.rb', line 10866 def deserialize(params) @MetricName = params['MetricName'] @Name = params['Name'] @MetricType = params['MetricType'] @Unit = params['Unit'] @Description = params['Description'] end |