Class: TencentCloud::Csip::V20221121::AssetTag

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20221121/models.rb

Overview

安全中心资产标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tagkey = nil, tagvalue = nil) ⇒ AssetTag

Returns a new instance of AssetTag.



1678
1679
1680
1681
# File 'lib/v20221121/models.rb', line 1678

def initialize(tagkey=nil, tagvalue=nil)
  @TagKey = tagkey
  @TagValue = tagvalue
end

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签的key值,可以是字母、数字、下划线

  • TagValue:

    标签的vale值,可以是字母、数字、下划线



1676
1677
1678
# File 'lib/v20221121/models.rb', line 1676

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签的key值,可以是字母、数字、下划线

  • TagValue:

    标签的vale值,可以是字母、数字、下划线



1676
1677
1678
# File 'lib/v20221121/models.rb', line 1676

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1683
1684
1685
1686
# File 'lib/v20221121/models.rb', line 1683

def deserialize(params)
  @TagKey = params['TagKey']
  @TagValue = params['TagValue']
end