Cloud KMS V1 Client - Class ExportTrustedKeyWrappedCryptoKeyVersionRequest (2.11.0)

Reference documentation and code samples for the Cloud KMS V1 Client class ExportTrustedKeyWrappedCryptoKeyVersionRequest.

Request message for KeyManagementService.ExportTrustedKeyWrappedCryptoKeyVersion.

Generated from protobuf message google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionRequest

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CryptoKeyVersion to export. The CryptoKeyVersion must have trusted_wrapping_enabled set to true.

↳ wrapping_key string

Required. The name of the CryptoKeyVersion to use as a wrapping key. The CryptoKeyVersion must have hsm_trusted set to true.

getName

Required. The name of the CryptoKeyVersion to export. The CryptoKeyVersion must have trusted_wrapping_enabled set to true.

Returns
Type Description
string

setName

Required. The name of the CryptoKeyVersion to export. The CryptoKeyVersion must have trusted_wrapping_enabled set to true.

Parameter
Name Description
var string
Returns
Type Description
$this

getWrappingKey

Required. The name of the CryptoKeyVersion to use as a wrapping key. The CryptoKeyVersion must have hsm_trusted set to true.

Returns
Type Description
string

setWrappingKey

Required. The name of the CryptoKeyVersion to use as a wrapping key. The CryptoKeyVersion must have hsm_trusted set to true.

Parameter
Name Description
var string
Returns
Type Description
$this