Class: TencentCloud::Cfw::V20190904::ModifyResourceGroupRequest

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

Overview

ModifyResourceGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, groupname = nil, parentid = nil) ⇒ ModifyResourceGroupRequest

Returns a new instance of ModifyResourceGroupRequest.



7214
7215
7216
7217
7218
# File 'lib/v20190904/models.rb', line 7214

def initialize(groupid=nil, groupname=nil, parentid=nil)
  @GroupId = groupid
  @GroupName = groupname
  @ParentId = parentid
end

Instance Attribute Details

#GroupIdObject

Parameters:

  • GroupId:

    资产组id

  • GroupName:

    组名称

  • ParentId:

    上级组资产组id



7212
7213
7214
# File 'lib/v20190904/models.rb', line 7212

def GroupId
  @GroupId
end

#GroupNameObject

Parameters:

  • GroupId:

    资产组id

  • GroupName:

    组名称

  • ParentId:

    上级组资产组id



7212
7213
7214
# File 'lib/v20190904/models.rb', line 7212

def GroupName
  @GroupName
end

#ParentIdObject

Parameters:

  • GroupId:

    资产组id

  • GroupName:

    组名称

  • ParentId:

    上级组资产组id



7212
7213
7214
# File 'lib/v20190904/models.rb', line 7212

def ParentId
  @ParentId
end

Instance Method Details

#deserialize(params) ⇒ Object



7220
7221
7222
7223
7224
# File 'lib/v20190904/models.rb', line 7220

def deserialize(params)
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  @ParentId = params['ParentId']
end