From b3bb7f77610e48e849766a6e9dbacb98fc3f9811 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Mon, 19 Apr 2021 13:02:28 -0400 Subject: [PATCH] fix(docs): correct docs for CUSTOMER_MANAGED_ENCRYPTION (#737) * fix(docs): correct docs for CUSTOMER_MANAGED_ENCRYPTION * fix(docs): correct docs for CUSTOMER_MANAGED_ENCRYPTION --- .../cloud/bigtable/admin/v2/models/EncryptionInfo.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/EncryptionInfo.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/EncryptionInfo.java index 9eb3b13e1..b96e0ade1 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/EncryptionInfo.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/models/EncryptionInfo.java @@ -32,13 +32,16 @@ public enum Type { com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED), /** * The data backing this resource is encrypted at rest with a key that is fully managed by - * Google. No key version or status will be populated. + * Google. No key version or status will be populated. This is the default state. */ GOOGLE_DEFAULT_ENCRYPTION( com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.GOOGLE_DEFAULT_ENCRYPTION), /** - * The data backing this resource is encrypted at rest with a key that is fully managed by - * Google. No key version or status will be populated. This is the default state. + * The data backing this resource is encrypted at rest with a key that is managed by the + * customer. The in-use version of the key and its status are populated for CMEK-protected + * tables. CMEK-protected backups are pinned to the key version that was in use at the time the + * backup was taken. This key version is populated but its status is not tracked and is reported + * as `UNKNOWN`. */ CUSTOMER_MANAGED_ENCRYPTION( com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.CUSTOMER_MANAGED_ENCRYPTION),