Class: TencentCloud::Cloudaudit::V20190319::Resource

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

Overview

资源类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourcetype = nil, resourcename = nil) ⇒ Resource

Returns a new instance of Resource.



1193
1194
1195
1196
# File 'lib/v20190319/models.rb', line 1193

def initialize(resourcetype=nil, resourcename=nil)
  @ResourceType = resourcetype
  @ResourceName = resourcename
end

Instance Attribute Details

#ResourceNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceType:

    资源类型

  • ResourceName:

    资源名称



1191
1192
1193
# File 'lib/v20190319/models.rb', line 1191

def ResourceName
  @ResourceName
end

#ResourceTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ResourceType:

    资源类型

  • ResourceName:

    资源名称



1191
1192
1193
# File 'lib/v20190319/models.rb', line 1191

def ResourceType
  @ResourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



1198
1199
1200
1201
# File 'lib/v20190319/models.rb', line 1198

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