Cloud KMS V1 Client - Class GetKeyHandleRequest (2.1.3)

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

Request message for GetKeyHandle.

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

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the KeyHandle resource, e.g. projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}.

getName

Required. Name of the KeyHandle resource, e.g.

projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}.

Returns
Type Description
string

setName

Required. Name of the KeyHandle resource, e.g.

projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the KeyHandle resource, e.g. projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}. Please see AutokeyClient::keyHandleName() for help formatting this field.

Returns
Type Description
GetKeyHandleRequest