Interface CryptoKeyConfigOrBuilder (0.12.0)

public interface CryptoKeyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyReference()

public abstract String getKeyReference()

Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of projects/*/locations/*/keyRings/*/cryptoKeys/*.

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

Returns
Type Description
String

The keyReference.

getKeyReferenceBytes()

public abstract ByteString getKeyReferenceBytes()

Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of projects/*/locations/*/keyRings/*/cryptoKeys/*.

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

Returns
Type Description
ByteString

The bytes for keyReference.