Class: TencentCloud::Cam::V20190116::AttachedUserPolicyGroupInfo

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

Overview

用户关联策略(随组关联)信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, groupname = nil) ⇒ AttachedUserPolicyGroupInfo

Returns a new instance of AttachedUserPolicyGroupInfo.



541
542
543
544
# File 'lib/v20190116/models.rb', line 541

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

Instance Attribute Details

#GroupIdObject

Parameters:

  • GroupId:

    分组ID

  • GroupName:

    分组名称



539
540
541
# File 'lib/v20190116/models.rb', line 539

def GroupId
  @GroupId
end

#GroupNameObject

Parameters:

  • GroupId:

    分组ID

  • GroupName:

    分组名称



539
540
541
# File 'lib/v20190116/models.rb', line 539

def GroupName
  @GroupName
end

Instance Method Details

#deserialize(params) ⇒ Object



546
547
548
549
# File 'lib/v20190116/models.rb', line 546

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