Class: TencentCloud::Monitor::V20180724::PrometheusTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::PrometheusTag
- Defined in:
- lib/v20180724/models.rb
Overview
Prometheus 托管服务标签
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ PrometheusTag
constructor
A new instance of PrometheusTag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ PrometheusTag
Returns a new instance of PrometheusTag.
14210 14211 14212 14213 |
# File 'lib/v20180724/models.rb', line 14210 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
14208 14209 14210 |
# File 'lib/v20180724/models.rb', line 14208 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
14208 14209 14210 |
# File 'lib/v20180724/models.rb', line 14208 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
14215 14216 14217 14218 |
# File 'lib/v20180724/models.rb', line 14215 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |