Class: TencentCloud::Tke::V20220501::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::Tag
- Defined in:
- lib/v20220501/models.rb
Overview
标签绑定的资源类型,当前支持类型:“cluster”
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Tag
Returns a new instance of Tag.
2394 2395 2396 2397 |
# File 'lib/v20220501/models.rb', line 2394 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2392 2393 2394 |
# File 'lib/v20220501/models.rb', line 2392 def Key @Key end |
#Value ⇒ Object
2392 2393 2394 |
# File 'lib/v20220501/models.rb', line 2392 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2399 2400 2401 2402 |
# File 'lib/v20220501/models.rb', line 2399 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |