Cloud KMS V1 Client - Class GetCryptoKeyVersionRequest (2.1.3)

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

Request message for KeyManagementService.GetCryptoKeyVersion.

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

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

getName

Required. The name of the CryptoKeyVersion to get.

Returns
Type Description
string

setName

Required. The name of the CryptoKeyVersion to get.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the CryptoKeyVersion to get. Please see KeyManagementServiceClient::cryptoKeyVersionName() for help formatting this field.

Returns
Type Description
GetCryptoKeyVersionRequest