Class: TencentCloud::Tcm::V20210413::Tag

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

Overview

标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, passthrough = nil) ⇒ Tag

Returns a new instance of Tag.



2020
2021
2022
2023
2024
# File 'lib/v20210413/models.rb', line 2020

def initialize(key=nil, value=nil, passthrough=nil)
  @Key = key
  @Value = value
  @Passthrough = passthrough
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值

  • Passthrough:

    是否透传给其他关联产品



2018
2019
2020
# File 'lib/v20210413/models.rb', line 2018

def Key
  @Key
end

#PassthroughObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值

  • Passthrough:

    是否透传给其他关联产品



2018
2019
2020
# File 'lib/v20210413/models.rb', line 2018

def Passthrough
  @Passthrough
end

#ValueObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值

  • Passthrough:

    是否透传给其他关联产品



2018
2019
2020
# File 'lib/v20210413/models.rb', line 2018

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2026
2027
2028
2029
2030
# File 'lib/v20210413/models.rb', line 2026

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
  @Passthrough = params['Passthrough']
end