public interface EncryptionConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKey. |