Cloud KMS V1 Client - Class GetCryptoKeyRequest (2.3.0)

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

Request message for KeyManagementService.GetCryptoKey.

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

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The name of the CryptoKey to get.

getName

Required. The name of the CryptoKey to get.

Returns
TypeDescription
string

setName

Required. The name of the CryptoKey to get.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

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

Returns
TypeDescription
GetCryptoKeyRequest