Interface CreateHmacKeyResponseOrBuilder (2.40.0)

public interface CreateHmacKeyResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetadata()

public abstract HmacKeyMetadata getMetadata()

Key metadata.

.google.storage.v2.HmacKeyMetadata metadata = 1;

Returns
Type Description
HmacKeyMetadata

The metadata.

getMetadataOrBuilder()

public abstract HmacKeyMetadataOrBuilder getMetadataOrBuilder()

Key metadata.

.google.storage.v2.HmacKeyMetadata metadata = 1;

Returns
Type Description
HmacKeyMetadataOrBuilder

getSecretKeyBytes()

public abstract ByteString getSecretKeyBytes()

HMAC key secret material. In raw bytes format (not base64-encoded).

bytes secret_key_bytes = 3;

Returns
Type Description
ByteString

The secretKeyBytes.

hasMetadata()

public abstract boolean hasMetadata()

Key metadata.

.google.storage.v2.HmacKeyMetadata metadata = 1;

Returns
Type Description
boolean

Whether the metadata field is set.