Class: TencentCloud::Kms::V20190118::GetDataKeyPlaintextResponse

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

Overview

GetDataKeyPlaintext返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(plaintext = nil, requestid = nil) ⇒ GetDataKeyPlaintextResponse

Returns a new instance of GetDataKeyPlaintextResponse.



1899
1900
1901
1902
# File 'lib/v20190118/models.rb', line 1899

def initialize(plaintext=nil, requestid=nil)
  @Plaintext = plaintext
  @RequestId = requestid
end

Instance Attribute Details

#PlaintextObject

Parameters:

  • Plaintext:

    若调用时未提供 EncryptionPublicKey,该字段值为 Base64 编码的明文,需进行 Base64 解码以获取明文。 若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取明文。

  • RequestId:

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



1897
1898
1899
# File 'lib/v20190118/models.rb', line 1897

def Plaintext
  @Plaintext
end

#RequestIdObject

Parameters:

  • Plaintext:

    若调用时未提供 EncryptionPublicKey,该字段值为 Base64 编码的明文,需进行 Base64 解码以获取明文。 若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取明文。

  • RequestId:

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



1897
1898
1899
# File 'lib/v20190118/models.rb', line 1897

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1904
1905
1906
1907
# File 'lib/v20190118/models.rb', line 1904

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