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.



7421
7422
7423
7424
7425
# File 'lib/v20190904/models.rb', line 7421

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



7419
7420
7421
# File 'lib/v20190904/models.rb', line 7419

def GroupId
  @GroupId
end

#GroupNameObject

Parameters:

  • GroupId:

    资产组id

  • GroupName:

    组名称

  • ParentId:

    上级组资产组id



7419
7420
7421
# File 'lib/v20190904/models.rb', line 7419

def GroupName
  @GroupName
end

#ParentIdObject

Parameters:

  • GroupId:

    资产组id

  • GroupName:

    组名称

  • ParentId:

    上级组资产组id



7419
7420
7421
# File 'lib/v20190904/models.rb', line 7419

def ParentId
  @ParentId
end

Instance Method Details

#deserialize(params) ⇒ Object



7427
7428
7429
7430
7431
# File 'lib/v20190904/models.rb', line 7427

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