Interface RetrieveLegacySecretKeyRequestOrBuilder (3.51.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
Type Description
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
Type Description
ByteString

The bytes for key.