Interface RetrieveLegacySecretKeyRequestOrBuilder (3.8.0)

public interface RetrieveLegacySecretKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Required. The public key name linked to the requested secret key in the format "projects/{project}/keys/{key}".

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

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. The public key name linked to the requested secret key in the format "projects/{project}/keys/{key}".

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

Returns
TypeDescription
ByteString

The bytes for key.