Class: TencentCloud::Cam::V20190116::GetSecurityLastUsedResponse

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

Overview

GetSecurityLastUsed返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secretidlastusedrows = nil, requestid = nil) ⇒ GetSecurityLastUsedResponse

Returns a new instance of GetSecurityLastUsedResponse.



2644
2645
2646
2647
# File 'lib/v20190116/models.rb', line 2644

def initialize(secretidlastusedrows=nil, requestid=nil)
  @SecretIdLastUsedRows = secretidlastusedrows
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • SecretIdLastUsedRows:

    密钥ID最近访问列表

  • RequestId:

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



2642
2643
2644
# File 'lib/v20190116/models.rb', line 2642

def RequestId
  @RequestId
end

#SecretIdLastUsedRowsObject

Parameters:

  • SecretIdLastUsedRows:

    密钥ID最近访问列表

  • RequestId:

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



2642
2643
2644
# File 'lib/v20190116/models.rb', line 2642

def SecretIdLastUsedRows
  @SecretIdLastUsedRows
end

Instance Method Details

#deserialize(params) ⇒ Object



2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
# File 'lib/v20190116/models.rb', line 2649

def deserialize(params)
  unless params['SecretIdLastUsedRows'].nil?
    @SecretIdLastUsedRows = []
    params['SecretIdLastUsedRows'].each do |i|
      secretidlastused_tmp = SecretIdLastUsed.new
      secretidlastused_tmp.deserialize(i)
      @SecretIdLastUsedRows << secretidlastused_tmp
    end
  end
  @RequestId = params['RequestId']
end