Class: TencentCloud::Cam::V20190116::PutRolePermissionsBoundaryRequest

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

Overview

PutRolePermissionsBoundary请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, roleid = nil, rolename = nil) ⇒ PutRolePermissionsBoundaryRequest

Returns a new instance of PutRolePermissionsBoundaryRequest.



4235
4236
4237
4238
4239
# File 'lib/v20190116/models.rb', line 4235

def initialize(policyid=nil, roleid=nil, rolename=nil)
  @PolicyId = policyid
  @RoleId = roleid
  @RoleName = rolename
end

Instance Attribute Details

#PolicyIdObject

Parameters:

  • PolicyId:

    策略ID

  • RoleId:

    角色ID(与角色名至少填一个)

  • RoleName:

    角色名(与角色ID至少填一个)



4233
4234
4235
# File 'lib/v20190116/models.rb', line 4233

def PolicyId
  @PolicyId
end

#RoleIdObject

Parameters:

  • PolicyId:

    策略ID

  • RoleId:

    角色ID(与角色名至少填一个)

  • RoleName:

    角色名(与角色ID至少填一个)



4233
4234
4235
# File 'lib/v20190116/models.rb', line 4233

def RoleId
  @RoleId
end

#RoleNameObject

Parameters:

  • PolicyId:

    策略ID

  • RoleId:

    角色ID(与角色名至少填一个)

  • RoleName:

    角色名(与角色ID至少填一个)



4233
4234
4235
# File 'lib/v20190116/models.rb', line 4233

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



4241
4242
4243
4244
4245
# File 'lib/v20190116/models.rb', line 4241

def deserialize(params)
  @PolicyId = params['PolicyId']
  @RoleId = params['RoleId']
  @RoleName = params['RoleName']
end