Class: TencentCloud::Kms::V20190118::GetKeyRotationStatusResponse

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

Overview

GetKeyRotationStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyrotationenabled = nil, requestid = nil) ⇒ GetKeyRotationStatusResponse

Returns a new instance of GetKeyRotationStatusResponse.



1428
1429
1430
1431
# File 'lib/v20190118/models.rb', line 1428

def initialize(keyrotationenabled=nil, requestid=nil)
  @KeyRotationEnabled = keyrotationenabled
  @RequestId = requestid
end

Instance Attribute Details

#KeyRotationEnabledObject

Parameters:

  • KeyRotationEnabled:

    密钥轮换是否开启

  • RequestId:

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



1426
1427
1428
# File 'lib/v20190118/models.rb', line 1426

def KeyRotationEnabled
  @KeyRotationEnabled
end

#RequestIdObject

Parameters:

  • KeyRotationEnabled:

    密钥轮换是否开启

  • RequestId:

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



1426
1427
1428
# File 'lib/v20190118/models.rb', line 1426

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1433
1434
1435
1436
# File 'lib/v20190118/models.rb', line 1433

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