Reference documentation and code samples for the Cloud KMS V1 Client class UpdateCryptoKeyPrimaryVersionRequest.
Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion .
Generated from protobuf message google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest
Namespace
Google \ Cloud \ Kms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
↳ crypto_key_version_id
getName
Required. The resource name of the CryptoKey to update.
string
setName
Required. The resource name of the CryptoKey to update.
var
string
$this
getCryptoKeyVersionId
Required. The id of the child CryptoKeyVersion to use as primary.
string
setCryptoKeyVersionId
Required. The id of the child CryptoKeyVersion to use as primary.
var
string
$this
static::build
name
string
Required. The resource name of the CryptoKey to update. Please see Google\Cloud\Kms\V1\KeyManagementServiceClient::cryptoKeyName() for help formatting this field.
cryptoKeyVersionId