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.



1935
1936
1937
1938
# File 'lib/v20190118/models.rb', line 1935

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

Instance Attribute Details

#KeyRotationEnabledObject

Parameters:

  • KeyRotationEnabled:

    密钥轮换是否开启

  • RequestId:

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



1933
1934
1935
# File 'lib/v20190118/models.rb', line 1933

def KeyRotationEnabled
  @KeyRotationEnabled
end

#RequestIdObject

Parameters:

  • KeyRotationEnabled:

    密钥轮换是否开启

  • RequestId:

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



1933
1934
1935
# File 'lib/v20190118/models.rb', line 1933

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1940
1941
1942
1943
# File 'lib/v20190118/models.rb', line 1940

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