Cloud KMS V1 Client - Class CreateCryptoKeyVersionRequest (2.3.1)

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

Namespace

Google \ Cloud \ Kms \ V1

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
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

hasCryptoKeyVersion

clearCryptoKeyVersion

setCryptoKeyVersion

Required. A CryptoKeyVersion with initial field values.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The name of the CryptoKey associated with the CryptoKeyVersions . Please see KeyManagementServiceClient::cryptoKeyName() for help formatting this field.

cryptoKeyVersion
CryptoKeyVersion

Required. A CryptoKeyVersion with initial field values.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: