Interface CreateKeyHandleRequestOrBuilder (2.58.0)

public interface CreateKeyHandleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyHandle()

public abstract KeyHandle getKeyHandle()

Required. KeyHandle to create.

.google.cloud.kms.v1.KeyHandle key_handle = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyHandle

The keyHandle.

getKeyHandleId()

public abstract String getKeyHandleId()

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.

string key_handle_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The keyHandleId.

getKeyHandleIdBytes()

public abstract ByteString getKeyHandleIdBytes()

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.

string key_handle_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for keyHandleId.

getKeyHandleOrBuilder()

public abstract KeyHandleOrBuilder getKeyHandleOrBuilder()

Required. KeyHandle to create.

.google.cloud.kms.v1.KeyHandle key_handle = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyHandleOrBuilder

getParent()

public abstract String getParent()

Required. Name of the resource project and location to create the KeyHandle in, e.g. projects/{PROJECT_ID}/locations/{LOCATION}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Name of the resource project and location to create the KeyHandle in, e.g. projects/{PROJECT_ID}/locations/{LOCATION}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasKeyHandle()

public abstract boolean hasKeyHandle()

Required. KeyHandle to create.

.google.cloud.kms.v1.KeyHandle key_handle = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the keyHandle field is set.