Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::CreateKeyHandleRequest (v1.2.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::CreateKeyHandleRequest.

Request message for Autokey.CreateKeyHandle.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key_handle

def key_handle() -> ::Google::Cloud::Kms::V1::KeyHandle
Returns

#key_handle=

def key_handle=(value) -> ::Google::Cloud::Kms::V1::KeyHandle
Parameter
Returns

#key_handle_id

def key_handle_id() -> ::String
Returns
  • (::String) — Optional. Id of the KeyHandle. Must be unique to the resource project and location. If not provided by the caller, a new UUID is used.

#key_handle_id=

def key_handle_id=(value) -> ::String
Parameter
  • value (::String) — Optional. Id of the KeyHandle. Must be unique to the resource project and location. If not provided by the caller, a new UUID is used.
Returns
  • (::String) — Optional. Id of the KeyHandle. Must be unique to the resource project and location. If not provided by the caller, a new UUID is used.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Name of the resource project and location to create the KeyHandle in, e.g. projects/{PROJECT_ID}/locations/{LOCATION}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the resource project and location to create the KeyHandle in, e.g. projects/{PROJECT_ID}/locations/{LOCATION}.
Returns
  • (::String) — Required. Name of the resource project and location to create the KeyHandle in, e.g. projects/{PROJECT_ID}/locations/{LOCATION}.