Class: TencentCloud::Cam::V20190116::AttachRolePolicyResponse

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

Overview

AttachRolePolicy返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(requestid = nil) ⇒ AttachRolePolicyResponse

Returns a new instance of AttachRolePolicyResponse.



381
382
383
# File 'lib/v20190116/models.rb', line 381

def initialize(requestid=nil)
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



379
380
381
# File 'lib/v20190116/models.rb', line 379

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



385
386
387
# File 'lib/v20190116/models.rb', line 385

def deserialize(params)
  @RequestId = params['RequestId']
end