Interface EncryptionConfigOrBuilder (1.4.0)

public interface EncryptionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKmsKey()

public abstract String getKmsKey()

The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}

string kms_key = 1;

Returns
TypeDescription
String

The kmsKey.

getKmsKeyBytes()

public abstract ByteString getKmsKeyBytes()

The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}

string kms_key = 1;

Returns
TypeDescription
ByteString

The bytes for kmsKey.