Class: TencentCloud::Gaap::V20180529::TagResourceInfo

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

Overview

标签对应资源信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourcetype = nil, resourceid = nil) ⇒ TagResourceInfo

Returns a new instance of TagResourceInfo.



7716
7717
7718
7719
# File 'lib/v20180529/models.rb', line 7716

def initialize(resourcetype=nil, resourceid=nil)
  @ResourceType = resourcetype
  @ResourceId = resourceid
end

Instance Attribute Details

#ResourceIdObject

Proxy表示通道,ProxyGroup表示通道组,RealServer表示源站

Parameters:

  • ResourceType:

    资源类型,其中:

  • ResourceId:

    资源ID



7714
7715
7716
# File 'lib/v20180529/models.rb', line 7714

def ResourceId
  @ResourceId
end

#ResourceTypeObject

Proxy表示通道,ProxyGroup表示通道组,RealServer表示源站

Parameters:

  • ResourceType:

    资源类型,其中:

  • ResourceId:

    资源ID



7714
7715
7716
# File 'lib/v20180529/models.rb', line 7714

def ResourceType
  @ResourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



7721
7722
7723
7724
# File 'lib/v20180529/models.rb', line 7721

def deserialize(params)
  @ResourceType = params['ResourceType']
  @ResourceId = params['ResourceId']
end