Reference documentation and code samples for the Cloud KMS V1 Client class CreateCryptoKeyVersionRequest.
Request message for KeyManagementService.CreateCryptoKeyVersion.
Generated from protobuf message google.cloud.kms.v1.CreateCryptoKeyVersionRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the CryptoKey associated with the CryptoKeyVersions. |
↳ crypto_key_version |
Google\Cloud\Kms\V1\CryptoKeyVersion
Required. A CryptoKeyVersion with initial field values. |
getParent
Required. The name of the CryptoKey associated with the CryptoKeyVersions.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The name of the CryptoKey associated with the CryptoKeyVersions.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCryptoKeyVersion
Required. A CryptoKeyVersion with initial field values.
Returns | |
---|---|
Type | Description |
Google\Cloud\Kms\V1\CryptoKeyVersion|null |
hasCryptoKeyVersion
clearCryptoKeyVersion
setCryptoKeyVersion
Required. A CryptoKeyVersion with initial field values.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Kms\V1\CryptoKeyVersion
|
Returns | |
---|---|
Type | Description |
$this |