Class: TencentCloud::Cam::V20190116::ListPoliciesGrantingServiceAccessRequest

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

Overview

ListPoliciesGrantingServiceAccess请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targetuin = nil, roleid = nil, groupid = nil, servicetype = nil) ⇒ ListPoliciesGrantingServiceAccessRequest

Returns a new instance of ListPoliciesGrantingServiceAccessRequest.



3631
3632
3633
3634
3635
3636
# File 'lib/v20190116/models.rb', line 3631

def initialize(targetuin=nil, roleid=nil, groupid=nil, servicetype=nil)
  @TargetUin = targetuin
  @RoleId = roleid
  @GroupId = groupid
  @ServiceType = servicetype
end

Instance Attribute Details

#GroupIdObject

Parameters:

  • TargetUin:

    子账号uin,与RoleId、GroupId三选一必传

  • RoleId:

    角色ID,与TargetUin、GroupId三选一必传

  • GroupId:

    用户组ID,与TargetUin、RoleId三选一必传

  • ServiceType:

    服务名,查看服务授权接口详情时需传该字段



3629
3630
3631
# File 'lib/v20190116/models.rb', line 3629

def GroupId
  @GroupId
end

#RoleIdObject

Parameters:

  • TargetUin:

    子账号uin,与RoleId、GroupId三选一必传

  • RoleId:

    角色ID,与TargetUin、GroupId三选一必传

  • GroupId:

    用户组ID,与TargetUin、RoleId三选一必传

  • ServiceType:

    服务名,查看服务授权接口详情时需传该字段



3629
3630
3631
# File 'lib/v20190116/models.rb', line 3629

def RoleId
  @RoleId
end

#ServiceTypeObject

Parameters:

  • TargetUin:

    子账号uin,与RoleId、GroupId三选一必传

  • RoleId:

    角色ID,与TargetUin、GroupId三选一必传

  • GroupId:

    用户组ID,与TargetUin、RoleId三选一必传

  • ServiceType:

    服务名,查看服务授权接口详情时需传该字段



3629
3630
3631
# File 'lib/v20190116/models.rb', line 3629

def ServiceType
  @ServiceType
end

#TargetUinObject

Parameters:

  • TargetUin:

    子账号uin,与RoleId、GroupId三选一必传

  • RoleId:

    角色ID,与TargetUin、GroupId三选一必传

  • GroupId:

    用户组ID,与TargetUin、RoleId三选一必传

  • ServiceType:

    服务名,查看服务授权接口详情时需传该字段



3629
3630
3631
# File 'lib/v20190116/models.rb', line 3629

def TargetUin
  @TargetUin
end

Instance Method Details

#deserialize(params) ⇒ Object



3638
3639
3640
3641
3642
3643
# File 'lib/v20190116/models.rb', line 3638

def deserialize(params)
  @TargetUin = params['TargetUin']
  @RoleId = params['RoleId']
  @GroupId = params['GroupId']
  @ServiceType = params['ServiceType']
end